24-9
Catalyst 2940 Switch Software Configuration Guide
78-15507-02
Chapter24 Configuring QoS Configuring QoS
Configuring CoS Priority Queues
Beginning in privileged EXEC mode, follow these steps to configure the CoS priority queues:
To disable the new CoS settings and return to default settings, use the no wrr-queue cos-map global
configuration command.
Configuring WRR Priority
Beginning in privileged EXEC mode, follow these steps to configure the WRR priority:
To disable the WRR scheduling and enable the strict priority scheduling, use the
no wrr-queue bandwidth global configuration command.
To enable one of the queues as the expedite queue and to enable the WRR scheduling for the remaining
queues, see the “Displaying QoS Information” section on page 24-10.
Command Purpose
Step1 configure terminal Enter global configuration mode.
Step2 wrr-queue cos-map qid cos1..cosn Specify the queue ID of the CoS priority queue. (Ranges are 1 to
4 where 1 is the lowest CoS priority queue.)
Specify the CoS values that are mapped to the queue id.
Default values are as follows:
CoS Value CoS Priority Queues
0, 1 1
2, 3 2
4, 5 3
6, 7 4
Step3 end Return to privileged EXEC mode.
Step4 show wrr-queue cos-map Display the mapping of the CoS priority queues.
Command Purpose
Step1 configure terminal Enter global configuration mode.
Step2 wrr-queue bandwidth
weight1...weight4 Assign WRR weights to the four CoS queues.
The range for the WRR values weight1 through weight4 is 1
to 255.
Step3 end Return to privileged EXEC mode.
Step4 show wrr-queue bandwidth Display the WRR bandwidth allocation for the CoS priority
queues.