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).
(Optional) Configuring an LDP Label Advertisement Mode
(Optional) Configuring an LDP Label Advertisement Mode
Context
By default, a downstream node sends Label Mapping messages
to its upstream node. When faults occur on the network, services can
be fast switched to the standby path, improving network reliability.
Edge devices on the MPLS network are low-end devices. To ensure network
reliability, resources must be fully used. You can configure the Downstream
on Demand (DoD) mode to save system resources. In DoD mode, the downstream
LSR sends a Label Mapping message to the upstream LSR only when the
upstream LSR sends a Label Request message to the downstream LSR.
Modifying a configured label advertisement mode leads to the
reestablishment of an LDP session, resulting in MPLS service interruption.
When the local and remote LDP sessions coexist, they must be
configured with the same label advertisement mode.
Procedure
Configuring an LDP label advertisement mode of local LDP
session.
Run system-view
The system view is displayed.
Run interfaceinterface-typeinterface-number
The 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.
Run mpls ldp advertisement { dod | du }
A label advertisement mode is configured.
By
default, the label advertisement mode is downstream unsolicited (DU).
Inconsistency in label advertisement modes leads to failure in
establishing LDP LSPs between the two LDP peers over multiple links.
Configuring an LDP label advertisement
mode of remote LDP session.
Run system-view
The system view is displayed.
Run mpls ldp remote-peerremote-peer-name
A remote MPLS
LDP peer is created and the remote MPLS LDP peer view is displayed.
Run mpls ldp advertisement { dod | du }
A label advertisement mode is configured.
By
default, the label advertisement mode is downstream unsolicited (DU).