No relevant resource is found in the selected language.
Your browser version is too early. Some functions of the website may be unavailable. To obtain better user experience, upgrade the browser to the latest version.
This document describes MPLS configurations supported by the switch, including the principle and configuration procedures of static LSPs, MPLS LDP, MPLS QoS, MPLS TE, and MPLS common features, and provides configuration examples.
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document.
Note: Even the most advanced machine translation cannot match the quality of professional translators.
Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Setting the DiffServ Mode Supported by MPLS L2VPN
Setting the DiffServ Mode Supported by MPLS L2VPN
Context
To provide QoS guarantee for VPN traffic
on an MPLS VPN network, set the DiffServ mode according to your needs.
If you want to differentiate priorities of different services
in a VPN, set the DiffServ mode to uniform. You can also set the DiffServ
mode to pipe or short pipe, but you need to specify the DiffServ domain
in which the mode applies.
If you want to differentiate priorities of services in different
VPNs but not priorities of services in a VPN, set the DiffServ mode
to pipe or short pipe and specify EXP values in private labels.
If you do not want to change priorities carried in original
packets, you are advised to set the DiffServ mode to pipe or short
pipe. In uniform and pipe modes, the egress node determines the per-hop behavior (PHB) based on the EXP priorities of packets.
In short pipe mode, the egress node determines the PHB based on the
802.1p priorities of packets.
Procedure
In VLL networking
Run system-view
The system view is displayed.
Run interfaceinterface-typeinterface-number
The AC-side interface view is displayed.
(Optional) On an Ethernet interface,
run undo portswitch
The interface is switched to Layer 3 mode.
By default,
an Ethernet interface works in Layer 2 mode.
Only
the S5720HI, S5720EI,
S6720EI, and S6720S-EI support
switching between Layer 2 and Layer 3 modes.
The
DiffServ mode applied to the VLL network is set.
By default,
the DiffServ mode applied to the VLL network is uniform.
If the mpls-qos ingresstrust upstreamnone or mpls-qos egresstrust upstreamnone command is configured, the device on the private network does not
perform EXP priority mapping even if you run the diffserv-mode command.
When the DiffServ mode is set to uniform on the ingress node,
the ingress node performs priority mapping in the DiffServ domain
specified by the domain parameter in this
command. If the domain parameter is not
specified, the ingress node performs priority mapping in the DiffServ
domain specified by the mpls-qos ingresstrust upstream { ds-name | default } command.
In a non-PHP scenario, the egress node performs priority mapping
in the DiffServ domain specified by the mpls-qos egresstrust upstream { ds-name | default } command. In a PHP scenario,
the egress node performs priority mapping in the DiffServ domain specified
by the domain parameter in this command.
If the domain parameter is not specified,
the egress node performs priority mapping in the DiffServ domain specified
by the mpls-qos
egresstrust upstream { ds-name | default } command.
This command must be run before the VC is set
up; otherwise, you must unbind the bound AC interface and bind the
AC interface again to make the command take effect.
The
DiffServ mode applied to the VPLS network is set.
By default,
the DiffServ mode applied to the VPLS network is uniform.
If the mpls-qos ingresstrust upstreamnone or mpls-qos egresstrust upstreamnone command is configured, the device on the private network does not
perform EXP priority mapping even if you run the diffserv-mode command.
When the DiffServ mode is set to uniform on the ingress node,
the ingress node performs priority mapping in the DiffServ domain
specified by the domain parameter in this
command. If the domain parameter is not
specified, the ingress node performs priority mapping in the DiffServ
domain specified by the mpls-qos ingresstrust upstream { ds-name | default } command.
In a non-PHP scenario, the egress node performs priority mapping
in the DiffServ domain specified by the mpls-qos egresstrust upstream { ds-name | default } command. In a PHP scenario,
the egress node performs priority mapping in the DiffServ domain specified
by the domain parameter in this command.
If the domain parameter is not specified,
the egress node performs priority mapping in the DiffServ domain specified
by the mpls-qos
egresstrust upstream { ds-name | default } command.
This command must be configured before the instance
takes effect; otherwise, you must enable or disable the VSI to make
the configuration take effect.