LDP overview When used to create LSP tunnels, LDP allows a set of destination IP prefixes (known as a Forwarding Equivalence Class or FEC) to be associated with an LSP.
Configuring LDP on an Interface For an LDP session between routers, you must configure LDP on an interface to allow the device to advertise its loopback interface to the peers.
Configuring the LDP session keepalive interval You can configure the LDP session keepalive interval and the keepalive timeout value is derived as the product of the keepalive interval times the keepalive interval count.
Configuring the LDP session keepalive timeout After an LDP session is established, an LSR maintains the integrity of the session by sending keepalive messages. The keepalive timer for each peer session resets whenever it receives any LDP protocol message or a keepalive message on that session. When the keepalive timer expires, LDP concludes that the TCP connection is bad or the peer is dead and terminates the session.
LDP Hello interval and Hello Hold timeout timers The LDP Hello interval and Hello Hold Timeout timers are used to establish Hello Adjacency between peers. The Hello interval is the time period between which the LSR sends out Hello messages and the Hello Hold timeout is the amount of time that the sending LSR maintains its record of Hellos from the receiving LSR without receipt of another Hello message.
Resetting LDP neighbors You can terminate and re-establish an MPLS LDP neighbor session when at least one LDP Hello adjacency exists with the peer. When the LDP session terminates, the database associated with the LDP session is also cleared.
LDP route injection By default, LDP advertises all /32 prefixes that are learned from all the loopback interfaces to all other LDP peers. LDP route injection enables LDP to advertise other prefixes that are learned by IGP. When you enable route injection, it references prefix lists for permitted and denied prefixes. When IGP learns these prefixes, the device injects them into LDP and advertises the corresponding labels to the LDP peers.
LDP inbound-FEC filtering MPLS LDP inbound-FEC filtering filters inbound label bindings on a MPLS router. You can control the amount of memory and CPU processing involved in installing and advertising label bindings not used for forwarding.
LDP outbound FEC filtering LDP outbound FEC filtering allows LDP to perform outbound filtering for label advertisement. It gives you the ability to control which FECs can be advertised and to which LDP neighbors. It also reduces the number of labels distributed to neighbors and the number of messages exchanged with peers. Through this feature, LDP scalability and convergence, security, and performance are improved.
Label withdrawal delay timer The label withdrawal delay timer allows you to configure a delay when sending a label withdraw message for a FEC to a neighbor.
LDP ECMP for transit LSR LDP Equal-Cost Multi-Path (ECMP) for transit LSR provides ECMP support for transit routers on an LDP LSP.
MPLS LDP-IGP Synchronization MPLS LDP-IGP synchronization provides a means to synchronize LDP and IGPs to minimize MPLS packet loss.
LDP Graceful Restart LDP Graceful Restart (GR) helps minimize MPLS traffic loss when an LDP component is restarting in a router that is capable of preserving its MPLS forwarding states across restart. LDP GR is based on RFC 3478 (Graceful Restart mechanism for Label Distribution Protocol).
Configurable LDP router ID LDP uses LDP messages to communicate between LDP peers for the correct functioning of LDP. All LDP messages contains a LDP header which is composed of LDP version, length of message, LDP ID, and is followed by a message. The LDP ID for LDP is composed of the LSR-ID and label space. The LSR ID is the first available loopback interface address. However, you can specify an IP address of your choice to use as the LSR ID for the LDP identifier.