An MPLS LDP session can be configured only after LSR IDs are configured and MPLS LDP is enabled on both ends of the MPLS LDP session.
An LDP session is established over a TCP connection. After the TCP connection is set up, LSRs negotiate parameters of the LDP session. If the negotiation is successful, an LDP session can be established.
After the local LDP session is established, LSRs assign labels to establish an LDP LSP.
When LDP LSPs carry Layer 2 virtual private network (L2VPN) and Layer 3 virtual private network (L3VPN) services, you can specify an LSR ID for each local LDP session on the current LSR to isolate VPN services.