beautypg.com

Mapping layer 3/4 priorities to cos values, Selecting ip precedence/dscp priority – Accton Technology VS4512DC User Manual

Page 133

background image

Class of Service Configuration

3-103

CLI – The following example shows how to assign WRR weights to each of the
priority queues.

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.

Selecting IP Precedence/DSCP Priority

The switch allows you to choose between using IP Precedence or DSCP priority.
Select one of the methods or disable this feature.

Command Attributes

• Disabled – Disables both priority services. (This is the default setting.)
• IP Precedence – Maps layer 3/4 priorities using IP Precedence.

IP DSCP –

Maps layer 3/4 priorities using Differentiated Services Code Point

Mapping.

Web – Click Priority, IP Precedence/DSCP Priority Status. Select Disabled,
IP Precedence or IP DSCP from the scroll-down menu.

Console(config)#queue bandwidth 2 8 16 128

4-149

Console(config)#exit
Console#show queue bandwidth

4-151

Queue ID Weight
-------- ------
0 2
1 8
2 16
3 128
Console#

This manual is related to the following products: