24-Port Layer 3 Switch Management Guide
C
ONFIGURING
THE
S
WITCH
3-124
CLI – The following example shows how to map CoS values 0, 1 and 2 to
priority queue 0, value 3 to priority queue 1, values 4 and 5 to priority
queue 2, and values 6 and 7 to priority queue 3.
* Mapping specific values for CoS priorities is implemented as an interface
configuration command, but any changes will apply to the all interfaces on the
switch.
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 3-122, 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. (Range:
1-255)
* CLI shows Queue ID.
Console(config)#interface ethernet 1/1 4-119
Console(config)#queue cos-map 0 0 1 2 4-184
Console(config)#queue cos-map 1 3
Console(config)#queue cos-map 2 4 5
Console(config)#queue cos-map 3 6 7
Console(config)#exit
Console#show queue cos-map ethernet 1/1 4-186
Information of Eth 1/1
Queue ID Traffic class
-------- -------------
0 0 1 2
1 3
2 4 5
3 6 7
Console#