C
ONFIGURING
THE
S
WITCH
2-58
Setting the Service Weight for Traffic Classes
This switch uses the Weighted Round Robin (WRR) algorithm to
determine the frequency at which it services each priority queue. As
described in “Mapping CoS Values to Egress Queues” on page 2-55, the
traffic classes are mapped to one of the four egress queues provided for
each port. You can assign a weight to each of these queues (and thereby to
the corresponding traffic priorities). This weight sets the frequency at
which each queue will be polled for service, and subsequently affects the
response time for software applications assigned a specific priority value.
Command Attributes
• WRR Setting Table – Displays a list of weights for each traffic class
(i.e., queue).
• Weight Value – Set a new weight for the selected traffic class.
Web – Open Priority/Queue Scheduling. Select a traffic class by clicking
on it with your cursor, enter a weight value, and then click “Apply.”
CLI – The following example shows how to assign WRR weights of 1, 4,
16 and 64 to the CoS priority queues 0, 1, 2 and 3.
Console(config)#queue bandwidth141664 3-122
Console(config)#exit
Console#show queue bandwidth 3-125
Queue ID Weight
-------- ------
01
14
216
364
Console#