20-45
Catalyst 3550 Multilayer Switch Software Configuration Guide
78-11194-03
Chapter20 Configuring QoS Configuring QoS
Mapping CoS Values to Select Egress Queues
Beginning in privileged EXEC mode, follow these steps to map CoS ingress values to select one of the
egress queues:
To return the default CoS-to-egress-queue map, use the no wrr-queue cos-map [queue-id] interface
configuration command.
This example shows how to map CoS values 6 and 7 to queue 1, 4 and 5 to queue 2, 2 and 3 to queue 3,
0 and 1 to queue 4.
Switch(config)# interface gigabitethernet0/1
Switch(config-if)# wrr-queue cos-map 1 6 7
Switch(config-if)# wrr-queue cos-map 2 4 5
Switch(config-if)# wrr-queue cos-map 3 2 3
Switch(config-if)# wrr-queue cos-map 4 0 1
Command Purpose
Step1 configure terminal Enter global configuration mode.
Step2 mls qos Enable QoS on the switch.
Step3 interface interface-id Enter interface configuration mode, and specify the egress
Gigabit-capable Ethernet interface.
Step4 wrr-queue cos-map queue-id cos1 ... cos8 Map assigned CoS values to select one of the egress queues.
The default map has these values:
CoS value 0, 1 selects queue 1.
CoS value 2, 3 selects queue 2.
CoS value 4, 5 selects queue 3.
CoS value 6, 7 selects queue 4.
For queue-id, specify the ID of the egress queue. The range is 1 to
4, where 4 can be configured as the expedite queue. For more
information, see the Configuring the Egress Expedite Queue
section on page 20-50.
For cos1 ... cos8, specify the CoS values that select a queue. Enter
up to eight CoS values. Separate each value with a space. The
range is 0 to 7.
Step5 end Return to privileged EXEC mode.
Step6 show mls qos interface queueing Verify your entries.
Step7 copy running-config startup-config (Optional) Save your entries in the configuration file.