IPv4 ToS/IPv6 traffic class byte
- Differentiated Services Codepoint (DSCP) Consists of the upper six bits of the ToS/Traffic Class byte. There are 64 possible codepoints.In the switches covered in this guide, the default QoS configuration includes some codepoints, such as Assured Forwarding and Expedited Forwarding, that are preconfigured with an 802.1p priority setting. All other codepoints are not configured with an 802.1p priority and display
No-override
.Use theqos dscp map
command to configure the switch to assign different 802.1p priorities to IP packets with different codepoints. Also, you can configure the switch to assign a new codepoint with its associated priority level (0-7) to matching packets as follows:Configure a DSCP codepoint with the desired priority in an edge switch.
Configure the local switch to mark specified inbound traffic with the DSCP (and thus create a policy for that traffic type).
Configure the internal switches in your LAN to honor the policy.
- Precedence BitsA subset of the DSCP codepoint, consisting of the upper three bits of the ToS/Traffic Class byte. When a global IP-Precedence classifier is configured, the switch uses the precedence bit set to determine the priority for selected packets as shown in the following table. (The switch does not change the setting of the precedence bits.)
IP precedence-to-802.1p priority mapping ToS/Traffic Class Byte: IP Precedence Bits
Corresponding 802.1p Priority
Service Priority Level
000
1
Lowest
001
2
Low
002
0
Normal
003
3
004
4
005
5
006
6
007
7
Highest
NOTE:The following diagram shows the difference between the diffserv bits and precedence bits in an IPv4 ToS byte and an IPv6 Traffic Class byte. Note that:Using a global IP-Precedence classifier to prioritize IP packets relies on priorities set in upstream devices and applications.
Precedence bits are a subset of the Differentiated Services bits.
The right-most two bits are reserved.