.
Layer 3/4 Priority Settings

Mapping Layer 3/4 Priorities to CoS Values

This switch supports several common methods of prioritizin g layer 3 /4 tr affic to m eet
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 va lue 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 Port Priority, IP Precedence or DSCP
Priority, and then Default Port Priority.
IP Precedence and D SCP Prior ity can not both be ena bled. En abli ng one o f thes e
priority types will automatically disable the other.

Selecting IP Precedence/DSCP Priority

The switch allows you to choose between using IP Precede nce or DS CP priority.
Select one of the methods or disable this feature.
Command Attributes
Disabled – Disables both priorit y services. (T his is the de fault s etting.)
IP Precedence – Map s layer 3/4 pr iorities using IP Precede nce.
IP DSCP – Maps laye r 3/4 prior ities u sing Differ entiated S ervices C ode Point
Mapping.

13-7

CLI
– The following example shows how to assign WRR weights to each of the
priority queues.
Console(config)#queue bandwidth 1 3 5 7 9 11 13 15
Console(config)#exit
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
.
35-4
3
5
-
6
Layer 3/4 Priority Settings

13
.