Specifications

Configuring the Switch
2-96
2
CLI – The following example shows how to map CoS values 1 and 2 to CoS priority
queue 0, value 0 and 3 to CoS priority queue 1, values 4 and 5 to CoS priority queue
2, and values 6 and 7 to CoS 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 2-94, 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.
Web – Click Priority, Queue Scheduling. Select a traffic class (i.e., output queue),
enter a weight, then click Apply.
Figure 2-58 Configuring Class of Service for Each Ingress Queue
Console(config)#interface ethernet 1/1
Console(config)#queue cos-map 0 1 2 3-146
Console(config)#queue cos-map 1 0 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 3-147
Information of Eth 1/1
Queue ID Traffic class
-------- -------------
0 1 2
1 0 3
2 4 5
3 6 7
Console#