LDP is a label distribution protocol used to establish LSPs in an MPLS domain.
LDP can dynamically establish an LSP. An LDP LSP provided that LDP nodes do not need to be specified and traffic engineering (TE) does not need to be deployed on the MPLS network.
The maximum number of LSPs varies with the capacity and performance of a device. If too many LSPs are configured on a device, the device may operate unstably.
An LSP can be established only when eligible routes exist on LSRs and match the LSP setup policy. LDP can only use routes that match a specified policy to set up LSPs, which helps control the number of LSPs.
Policies for establishing ingress or egress LSPs are as follows:
LDP uses all IGP routes to establish LSPs
LDP uses host routes to establish LSPs.
LDP uses an IP prefix list to establish LSPs.
LDP does not establish LSPs.
To control the number of transit LSPs on a transit LSR, an IP prefix list can be used to filter routes, and only the routes matching the filtering policy can be used to establish transit LSPs.
To correctly select a path maximum transmission unit (MTU), an LSR must obtain the MTU of each link connected to it using LDP MTU signaling.