The mpls-exp-outbound command converts the CoSs and colors of the downstream MPLS packets into the EXP values.
The undo mpls-exp-outbound command restores the default settings.
By default, the mappings from internal CoSs and colors to EXP values are shown in Table 1 in Usage Scenario.
Parameter | Description | Value |
---|---|---|
service-class |
Specifies the CoS value. |
The value is of the enumeration type. It is case-insensitive and can be EF, AF1, AF2, AF3, AF4, BE, CS6, or CS7. |
color |
Specifies the color used to mark the packet. |
The value is an enumeration type and can be green, yellow, or red. |
map exp |
Specifies the EXP value of the MPLS packet. |
The value is an integer ranging from 0 to 7. |
Usage Scenario
When the packets leave the DS domain, you need to run the mpls-exp-outbound command to convert the CoSs and colors of MPLS packets into the EXP values.
Default mappings from internal CoSs and colors to EXP values
Service | Color | EXP |
---|---|---|
be | green | 0 |
af1 | green\yellow\red | 1 |
af2 | green\yellow\red | 2 |
af3 | green\yellow\red | 3 |
af4 | green\yellow\red | 4 |
ef | green | 5 |
cs6 | green | 6 |
cs7 | green | 7 |
Prerequisites
A DS domain is created.
Precautions
This command is supported only on the admin VS.
If service-class color is not specified, the undo mpls-exp-outbound command restores all default mappings from internal CoSs to EXP values of downstream MPLS packets.