The mpls-qos ingress command maps the PHB/color of packets to the EXP priority of the public tunnel on the ingress node.
The undo mpls-qos ingress 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 ingress { use vpn-label-exp | trust upstream { ds-name | default } }
undo mpls-qos ingress { use vpn-label-exp | trust upstream }
mpls-qos ingress trust upstream none
undo mpls-qos ingress trust upstream none
Parameter | Description | Value |
---|---|---|
use vpn-label-exp | Indicates the EXP value in the inner label of a packet. |
- |
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. You can specify use vpn-label-exp.
Prerequisites
The specified DiffServ domain has been created using the diffserv domain command in the system view.
Precautions
Run the mpls-qos ingress command before setting up the public tunnel; otherwise, you must reestablish the MPLS LDP session to make the command take effect.