Default Aliases for CoS Value Bit Patterns
BA classifiers use CoS values—such as DSCP, DSCP IPv6, IP precedence, IEEE 802.1, and MPLS
EXP bits—to associate incoming packets with a particular CoS service level (forwarding class
and packet loss priority (PLP)). You can assign a meaningful name, or alias, to the CoS values
and use this alias instead of bits when configuring CoS components. These aliases are not part
of the specifications but are well known through usage. For example, the alias for
DSCP 101110 is widely accepted as ef (for expedited
forwarding).
The 21 well-known DSCPs establish 5 DiffServ service classes:
-
Best-effort (be)—The router does not apply any special CoS handling to packets with
000000in the DiffServ field, a backward compatibility feature. There exists a high probability that these packets will be dropped under congested network conditions. -
Assured forwarding (af)—The router offers a high level of assurance that the packets are delivered as long as the packet flow from the customer stays within a certain service profile (the service provider defines the values). The router accepts excess traffic, but applies a random early detection (RED) drop profile to decide if the excess packets should be dropped and not forwarded. Three drop probabilities (low, medium, and high) are defined for this service class.
-
Expedited forwarding (ef)—The router delivers assured bandwidth, low loss, low delay, and low delay variation (jitter) end-to-end for packets in this service class. Routers accept excess traffic in this class, but in contrast to assured forwarding, out-of-profile expedited-forwarding packets can be forwarded out of sequence or dropped.
-
Conversational services (cs)—The router delivers assured (usually low) bandwidth with low delay and jitter for packets in this service class. Packets can be dropped, but never delivered out of sequence. Packetized voice is a good example of a conversational service.
-
Network control (nc)—The router delivers packets in this service class with a low priority as these packets are not delay-sensitive. Typically, these packets represent routing protocol hello or keepalive messages and the loss of these packets jeopardizes proper network operation, so delay is preferable to discard.
CoS value aliases must begin with a letter and can be up to 64 characters long.
When you define classifiers, you can reference the CoS values by alias names. You can configure user-defined classifiers in terms of alias names. Changing the value of an alias alters the behavior of any classifier that references it.
Table 1 shows the default mappings between the CoS values and standard aliases.
|
Default CoS Value Alias |
CoS Value |
|---|---|
| DSCP and DSCP IPv6 CoS Aliases and CoS Values | |
|
|
101110 |
|
|
001010 |
|
|
001100 |
|
|
001110 |
|
|
010010 |
|
|
010100 |
|
|
010110 |
|
|
011010 |
|
|
011100 |
|
|
011110 |
|
|
100010 |
|
|
100100 |
|
|
100110 |
|
|
000000 |
|
|
001000 |
|
|
010000 |
|
|
011000 |
|
|
100000 |
|
|
101000 |
|
|
110000 |
|
|
111000 |
| MPLS EXP CoS Aliases and CoS Values | |
|
|
000 |
|
|
001 |
|
|
010 |
|
|
011 |
|
|
100 |
|
|
101 |
|
|
110 |
|
|
111 |
| IEEE 802.1 CoS Aliases and CoS Values | |
|
|
000 |
|
|
001 |
|
|
010 |
|
|
011 |
|
|
100 |
|
|
101 |
|
|
110 |
|
|
111 |
| IEEE 802.1ad CoS Aliases and CoS Values | |
|
|
0000 |
|
|
0001 |
|
|
0010 |
|
|
0011 |
|
|
0100 |
|
|
0101 |
|
|
0110 |
|
|
0111 |
|
|
1000 |
|
|
1001 |
|
|
1010 |
|
|
1011 |
|
|
1100 |
|
|
1101 |
|
|
1110 |
|
|
1111 |
| Legacy IP Precedence CoS Aliases and CoS Values | |
|
|
000 |
|
|
001 |
|
|
010 |
|
|
011 |
|
|
100 |
|
|
101 |
|
|
110 |
|
|
111 |