C
ONFIGURING
THE
S
WITCH
2-146
CLI – The following example globally enables IP Port Priority service on
the switch, maps HTTP traffic on port 5 to CoS value 0, and then displays
all the IP Port Priority settings for that port.
*Mapping specific values for IP Precedence is implemented as an interface
configuration command, but any changes will apply to the all interfaces on the switch.
ACL CoS Mapping
Use the ACL CoS Mapping page to set the output queue for packets
matching an ACL rule as shown in the following table. Note that the
specified CoS value is only used to map the matching packet to an output
queue; it is not written to the packet itself. For information on mapping
the CoS values to output queues, see page 2-133.
Command Attributes
• IP ACL Name* – Name of the IP ACL.
• IP CoS (0-7) – CoS value used for packets matching an IP ACL rule.
(Range: 0-7)
• MAC ACL Name* – Name of the MAC ACL.
• MAC CoS (0-7) – CoS value used for packets matching a MAC ACL
rule. (Range: 0-7)
* For information on configuring ACLs, see page 2-57.
Console(config)#map ip port 3-195
Console(config)#interface ethernet 1/5
Console(config-if)#map ip port 80 cos 0 3-196
Console(config-if)#end
Console#show map ip port ethernet 1/5 3-201
TCP port mapping status: disabled
Port Port no. COS
--------- -------- ---
Eth 1/ 5 80 0
Console#
Priorit
y
01234567
Queue
12034567