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.
An LSR ID must be manually configured because no default LSR ID is available.
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.
MPLS is enabled globally, and the MPLS view is displayed.
MPLS LDP is enabled globally, and the MPLS-LDP view is displayed.
The LSR ID is set for an LDP instance.
An MPLS LSR ID is usually used as the LSR ID of an LDP instance. When VPN instances are used, such as a BGP/MPLS VPN, if the VPN address space and public network address space overlap, set LSR IDs for LDP instances so that TCP connections for LDP sessions can be properly established.
The configuration is committed.