L3 VPN using Native MPLS uses LDP as the label distribution protocol and must be enabled on all routers in the L3 VPN tunneling domain. Specify the IPv4 address type if LDP will be used in an IPv4 network. Specify the IPv6 address type if LDP will be used in an IPv6 network.
LDP discovers its distribution peers by broadcasting an HELLO message via UDP to a well-known port in the network. After discovering its peers, LDP proceeds to form sessions with each peer using TCP. Operational modes are negotiated at the time of session establishment with the resultant sessions used to distribute label mapping data.
Label distribution mode can be broken down into two functional areas:
Use the mpls label-protocol-ldp command in global configuration mode on the global VRF to enable LDP on the router. You can also enable graceful restart for this router when enabling LDP. See MPLS LDP Graceful Restart.