Chapter 3 General Management of the Switch 3-85
Command-line Interface: Setting the Service Weight for Traffic Classes
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.
MIB Variables: Setting the Service Weight for Traffic Classes
3.3.5.4 Mapping Layer 3/4 Priorities to COS Values
The switch supports several common methods of prioritizing layer 3/4 traffic to
meet application requirements. Traffic priorities can be specified in the IP header of
a frame, using the priority bits in the Type of Service (ToS) octet. If priority bits are
used, the ToS octet may contain three bits for IP Precedence or six bits for
Differentiated Services Code Point (DSCP) service. When these services are enabled,
the priorities are mapped to a Class of Service value by the switch, and the traffic
then sent to the corresponding output queue.
Because different priority information may be contained in the traffic, this switch
maps priority values to the output queues in the following manner:
Console(config)#queue bandwidth 1 4 16 64
Console(config)#exit
Console#show queue bandwidth
Queue ID Weight
-------- ------
0 1
1 4
2 16
3 64
Console#
TABLE 3-25 Setting the Service Weight for Traffic Classes
Field Name MIB Variable Access Value Range Default Value
WRR Traffic
Class (Queue ID)
sun...
priorityMgt.
prioWrrTable.
prioWrrEntry.
prioWrrTrafficClass
Index Integer (0-7)
WRR Weight sun...
priorityMgt.
prioWrrTable.
prioWrrEntry.
prioWrrWeight
Read/write Integer (1-255) For queue 0: 16
For queue 1: 64
For queue 2: 128
For queue 3: 240