Class of Service Configuration
3-137
3
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 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.
Mapping CoS Values to ACLs
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 page3-128.
Command Usage
You must configure an ACL mask before you can map CoS values to the rule.
Command Attributes
Port – Port identifier.
Name13 – Name of ACL.
Type – Type of ACL (IP or MAC).
CoS Priority – CoS value used for packets matching an IP ACL rule. (Range: 0-7)
Console(config)#map ip port 4-194
Console(config)#interface ethernet 1/5
Console(config-if)#map ip port 80 cos 0 4-195
Console(config-if)#end
Console#show map ip port ethernet 1/5 4-198
TCP port mapping status: Enabled
Port Port no. COS
--------- -------- ---
Eth 1/ 5 80 0
Console#
Table3-14 Mapping CoS Values to IP ACLs
Priority 01234567
Queue 12034567
13. For information on configuring ACLs, see page3-52.