
29-58
Catalyst 3550 Multilayer Switch Software Configuration Guide
78-11194-09
Chapter 29 Configuring QoS
Configuring Standard QoS
To return the default CoS-to-egress-queue map, use the no wrr-queue cos-map 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
Configuring the Egress Queue Size Ratios
Beginning in privileged EXEC mode, follow these steps to configure the egress queue size ratios:
Step 4
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”
•
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.
Step 5
end
Return to privileged EXEC mode.
Step 6
show mls qos interface queueing
Verify your entries.
Step 7
copy running-config startup-config
(Optional) Save your entries in the configuration file.
Command
Purpose
Command
Purpose
Step 1
configure terminal
Enter global configuration mode.
Step 2
mls qos
Enable QoS on the switch.
Step 3
interface interface-id
Enter interface configuration mode, and specify the egress
Gigabit-capable Ethernet interface.