Global LDP must be enabled on each node before LDP services can be configured in an MPLS domain.
The system view is displayed.
The LSR ID of the local node is configured.
LSR IDs must be set before you run other MPLS commands.
An LSR ID must be manually configured because no default LSR ID is available.
The LSR ID, MVPN ID, and IP address of the BGP peer interface (usually a loopback interface) configurations must be consistent.
Using the IP address of a loopback interface on an LSR as an LSR ID is recommended.
The undo mpls command deletes all MPLS configurations, including the established LDP sessions and LSPs.
In NG MVPN scenarios, LDP must be enabled on the interfaces between ASBRs to generate P2MP tunnels in end-to-end mode. In unicast scenarios, the outer labels of data exchanged between ASBRs are allocated by BGP instead of LDP.
MPLS is enabled globally, and the MPLS view is displayed.
MPLS LDP is enabled globally, and the MPLS-LDP view is displayed.
The configurations are committed.
The system view is displayed.
The view of the interface on which an LDP session is to be established is displayed.
MPLS is enabled on an interface.
MPLS LDP is enabled on an interface.
Disabling MPLS LDP from an interface leads to interruptions of all LDP sessions on the interface and deletions of all LSPs established over these LDP sessions.
The configurations are committed.