20-52
Catalyst 3550 Multilayer Switch Software Configuration Guide
78-11194-03
Chapter20 Co nf iguring QoS
Configuring QoS
This section contains this configuration information:
Mapping CoS Values to Select Egress Queues, page 20-52
Configuring the Minimum-Reserve Levels, page 20-53
Configuring the Egress Expedite Queue, page 20-54
Allocating Bandwidth among Egress Queues, page 20-54
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 to 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,
and 0 and 1 to queue 4.
Switch(config)# interface fastethernet0/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 10/100
Ethernet interface.
Step4 wrr-queue cos-map queue-id cos1 ... cos8 Map assigned CoS values to select one of the egress queues.
Theses are the default map 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 qu eu e. For mor e
information, see the Configuring the Egress Expedite Queue
section on page 20-54.
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.