LDP is a protocol used to distribute labels in an MPLS-enabled network.
LDP instances are used to distribute labels from a provider edge (PE) router to a customer edge (CE) router. LDP instances in a VPN are useful in carrier-of-carrier networks, where data is transmitted between two or more telecommunications carrier sites across a core provider network. Each carrier may want to restrict Internet routes strictly to the PE routers.
An advantage of using LDP instances within a VPN is that a full-mesh internal BGP (IBGP) is not required between the PE and CE routers. A router ID is required to configure an instance of LDP.
To configure multiple instances of LDP, include the following statements:
- routing-instances {
-
-
routing-instance-name {
-
interface interface-name;
-
instance-type vrf;
-
- protocols {
-
- ldp {
- ... ldp-configuration ...
- }
- }
- }
- }
You can include the statements at the following hierarchy levels:
For more information about configuring LDP, see the JUNOS MPLS Applications Configuration Guide. For more information about configuring LDP over VPNs, see the JUNOS VPNs Configuration Guide.