The mpls-exp-inbound command maps EXP priorities of MPLS packets to PHBs and colors in a DiffServ domain on an inbound interface.
The undo mpls-exp-inbound command restores the default mapping.
The following table shows the default mappings from EXP priorities to PHBs and colors of MPLS packets in a DiffServ domain on an inbound interface.
EXP Priority |
PHB |
Color |
---|---|---|
0 |
BE |
green |
1 |
AF1 |
green |
2 |
AF2 |
green |
3 |
AF3 |
green |
4 |
AF4 |
green |
5 |
EF |
green |
6 |
CS6 |
green |
7 |
CS7 |
green |
Parameter |
Description |
Value |
---|---|---|
exp-value |
Specifies the EXP priority of an MPLS packet. |
The value is an integer ranging from 0 to 7. A larger value indicates a higher EXP priority of MPLS packets. |
service-class |
Specifies a PHB. |
The value can be BE, AF1 to AF4, EF, CS6, or CS7. |
color |
Specifies the color of a packet. |
The value can be green, yellow, or red. |
To implement QoS scheduling on the MPLS packets that come from the upstream device, run the mpls-exp-inbound command to map EXP priorities of MPLS packets to PHBs and colors. After a DiffServ domain is bound to the inbound interface of packets, the QoS mechanism performs congestion management and congestion avoidance according to PHBs and colors of the packets.