User’s
Manual 129
CLI
The following example shows how to assign WRR weights to each of the priority queues.
Console(config)#
interface ethernet 1/1
Console(config-if)#
queue bandwidth 1 3 5 7 9 11 13 15 4-189
Console(config-if)#
end
Console#
show queue bandwidth
Information of Eth 1/1
Queue ID Weight
-------- ------
0 1
1 3
2 5
3 7
4 9
5 11
6 13
7 15
Information of Eth 1/2
Queue ID Weight
.
.
.
11.4.1 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.
Because different priority information may be contained in the traffic, this switch maps priority values to the
output queues in the following manner:
The precedence for priority mapping is IP Precedence or DSCP Priority, and then Default Port Priority.
IP Precedence and DSCP Priority cannot both be enabled. Enabling one of these priority types will
automatically disable the other.