Priority Commands
4-255
4
• The precedence for priority mapping is IP Port, IP Precedence/DSCP/TOS,
and default switchport priority.
• This command sets the IP TOS priority for all interfaces.
• IP Precedence, IP DSCP, and IP TOS Priority cannot all be enabled at the
same time. Enabling one of these priority types automatically disables the
others.
Example
The following example shows how to map IP TOS value 0 to CoS value 1 and
enable the feature on the switch.
map access-list ip
This command sets the output queue for packets matching an IP ACL rule. Use the
no form to remove the CoS queue mapping.
Syntax
[no] map access-list ip acl_name cos cos-queue
• acl_name – Name of the IP ACL. (Maximum length: 16 characters)
• cos-queue – Port CoS queue. (Range: 0-3)
Default Setting
None
Command Mode
Interface Configuration (Ethernet)
Command Usage
You must configure an ACL before you can map a CoS queue to the rule.
Example
map access-list mac
This command sets the output queue for packets matching a MAC ACL rule. Use the
no form to remove the CoS queue mapping.
Syntax
[no] map access-list mac acl_name cos cos-queue
• acl_name – Name of the MAC ACL. (Maximum length: 16 characters)
• cos-queue – Port CoS queue. (Range: 0-3)
Console(config)#map ip tos 0 cos 1
Console(config)#map ip tos
Console(config)#interface ethernet 1/2
Console(config-if)#map access-list ip bill cos 0
Console(config-if)#