The mpls-exp-inbound command converts the EXP values of the upstream MPLS packets into the corresponding CoSs and color the packets.
The undo mpls-exp-inbound command restores the default settings.
By default, the mappings from EXP values to CoSs and colors are shown in Table 1 in Usage Scenario.
Parameter | Description | Value |
---|---|---|
exp |
Specifies the EXP value of the MPLS packet. |
The value is an integer ranging from 0 to 7. |
phb service-class |
Specifies the CoS value. |
The value is an enumerated type and can be case-insensitive EF, AF1, AF2, AF3, AF4, BE, CS6, or CS7. |
color |
Specifies the color used to mark the packet. |
The value is an enumerated type and can be green, yellow, or red. |
Usage Scenario
To implement QoS scheduling for upstream MPLS packets that carry MPLS EXP priorities, you need to run this command to configure mappings from MPLS EXP priorities of packets to internal CoSs and color the packets.
Default mappings from EXP values to CoSs and colors
EXP | Service | 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 |
Prerequisites
A DS domain is created.
Implementation Procedure
After the DS domain is bound to the inbound interface of packets, QoS performs congestion management and avoidance according to the CoSs and colors mapped to the EXP values.
Precautions
This command is supported only on the admin VS.
If exp is not specified, the undo mpls-exp-inbound command restores all default mappings from EXP values of upstream MPLS packets to internal CoSs and colors to the defaults.