![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/5/1c/51cb58f6-3be0-40e7-8a77-1407e0b54e1c/51cb58f6-3be0-40e7-8a77-1407e0b54e1c-bg137.png)
Access Control List Commands
4-99
4
Command Mode
Privileged Exec
Example
Related Commands
map access-list ip (4-98)
match access-list ip
This command changes the IEEE 802.1p priority, IP Precedence, or DSCP Priority
of a frame matching the defined ACL rule. (This feature is commonly referred to as
ACL packet marking.) Use the no form to remove the ACL marker.
Syntax
match access-list ip acl_name
[set priority priority]{set tos tos_value | set dscp dscp_value}
no match access-list ip acl_name
• acl_name – Name of the ACL. (Maximum length: 16 characters)
• priority – Class of Service value in the IEEE 802.1p priority tag.
(Range: 0-7; 7 is the highest priority)
• tos_value – IP Precedence value. (Range: 0-7)
• dscp_value – Differentiated Services Code Point value. (Range: 0-63)
Default Setting
None
Command Mode
Interface Configuration (Ethernet Ports 1-8)
Command Usage
• You must configure an ACL mask before you can change frame priorities
based on an ACL rule.
• Traffic priorities may be included in the IEEE 802.1p priority tag. This tag is
also incorporated as part of the overall IEEE 802.1Q VLAN tag. To specify this
priority, use the set priority keywords.
• The IP frame header also includes priority bits in the Type of Service (ToS)
octet. The Type of Service octet may contain three bits for IP Precedence or
six bits for Differentiated Services Code Point (DSCP) service. To specify the
IP precedence priority, use the set tos keywords. To specify the DSCP
priority, use the set dscp keywords. Note that the IP frame header can include
either the IP Precedence or DSCP priority type.
• The precedence for priority mapping by this switch is IP Precedence or DSCP
Priority, and then 802.1p priority.
Console#show map access-list ip
Access-list to COS of Eth 1/4
Access-list ALS1 cos 0
Console#