C
LASS
OF
S
ERVICE
C
ONFIGURATION
3-125
Web – Click Priority, Queue Scheduling. Select a traffic class (i.e., output
queue), enter a weight, then click Apply.
CLI – The following example shows how to assign WRR weights of 16,
64, 128 and 240 to the CoS priority queues 0, 1, 2 and 3.
Mapping Layer 3/4 Priorities to CoS Values
This 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 or the number of the TCP port. 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.
Console(config)#queue bandwidth 16 64 128 240 4-183
Console(config)#exit
Console#show queue bandwidth 4-185
Queue ID Weight
-------- ------
0 16
1 64
2 128
3 240
Console#