The mpls-qos egress command maps the mapping from the EXP priority of the public tunnel to the PHB/color on the egress node.
The undo mpls-qos egress command restores the default settings.
By default, mapping of the EXP priority of the public tunnel is performed according to the settings in the default domain.
mpls-qos egress trust upstream { ds-name | default }
undo mpls-qos egress trust upstream
mpls-qos egress trust upstream none
undo mpls-qos egress trust upstream none
Parameter | Description | Value |
---|---|---|
trust upstream | Trusts the specified DiffServ domain. |
- |
ds-name | Specifies the name of a DiffServ domain. |
The value is an existing DiffServ domain name. |
default | Specifies the DiffServ domain as a default domain. |
- |
none | Indicates that the system does not perform EXP priority mapping in the public network tunnel, and sets the EXP field to 0 in the public network tunnel. |
- |
Usage Scenario
To implement certain QoS functions on an MPLS network, the device needs to determine the packet precedence according to the tunnel label of the MPLS public network. Therefore, you need to map the tunnel label to the EXP field.
Prerequisites
The specified DiffServ domain has been created using the diffserv domain command in the system view.
Precautions
Run the mpls-qos egress command before setting up the public tunnel; otherwise, you must reestablish the MPLS LDP session to make the command take effect.
If you modify the settings of the global DiffServ domain or change the DiffServ mode of the interface, VSI, or VPN instance, you must reestablish the MPLS LDP session; otherwise, the modification cannot take effect.