Supported Platforms
Default CoS Values Overview
Behavior aggregate (BA) classifiers use class-of-service (CoS) values—such as Differentiated Services code points (DSCPs), DSCP IPv6, IP precedence, IEEE 802.1, and MPLS experimental (EXP) bits—to associate incoming packets with a particular CoS servicing level. 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 (expedited forwarding).
![]() | Note: The code point aliases must begin with a letter and can be up to 64 characters long. |
When you configure classes and define classifiers, you can refer to the markers by alias names. You can configure user-defined classifiers in terms of alias names. If the value of an alias changes, it alters the behavior of any classifier that references it.
To configure class-of-service (CoS) code point aliases, include the code-point-aliases statement at the [edit class-of-service] hierarchy level:
Table 1 shows the default mappings between the bit values and standard aliases. For example, it is widely accepted that the alias for DSCP 101110 is ef (expedited forwarding).
Table 1: Default CoS Values
CoS Value Types | Mapping |
---|---|
DSCP and DSCP IPv6 CoS Values | |
ef | 101110 |
af11 | 001010 |
af12 | 001100 |
af13 | 001110 |
af21 | 010010 |
af22 | 010100 |
af23 | 010110 |
af31 | 011010 |
af32 | 011100 |
af33 | 011110 |
af41 | 100010 |
af42 | 100100 |
af43 | 100110 |
be | 000000 |
cs1 | 001000 |
cs2 | 010000 |
cs3 | 011000 |
cs4 | 100000 |
cs5 | 101000 |
nc1/cs6 | 110000 |
nc2/cs7 | 111000 |
MPLS EXP CoS Values | |
be | 000 |
be1 | 001 |
ef | 010 |
ef1 | 011 |
af11 | 100 |
af12 | 101 |
nc1/cs6 | 110 |
nc2/cs7 | 111 |
IEEE 802.1 CoS Values | |
be | 000 |
be1 | 001 |
ef | 010 |
ef1 | 011 |
af11 | 100 |
af12 | 101 |
nc1/cs6 | 110 |
nc2/cs7 | 111 |
Legacy IP Precedence CoS Values | |
be | 000 |
be1 | 001 |
ef | 010 |
ef1 | 011 |
af11 | 100 |
af12 | 101 |
nc1/cs6 | 110 |
nc2/cs7 | 111 |