LDP-IGP synchronization is used to synchronize the status between LDP and an IGP to minimize the traffic loss time if a network fault triggers the LDP and IGP switching.
On a network with active and standby links, if the active link fails, IGP routes and an LSP are switched to the standby link. After the active link recovers, IGP routes are switched back to the active link before LDP convergence is complete. In this case, the LSP along the active link takes time to make preparations, such as adjacency restoration, before being established. As a result, LSP traffic is discarded. If an LDP session or adjacency between nodes fails on the active link, the LSP along the active link is deleted. However, the IGP still uses the active link, and as a result, LSP traffic cannot be switched to the standby link, and is continuously discarded.
LDP-IGP synchronization supports only OSPFv2 and IS-IS for IPv4.
According to the fundamentals of LDP-IGP synchronization, an IGP cost value is set to delay a route switchback until LDP convergence is complete. Before the LSP along the active link is established, the LSP along the standby link is retained, so that the traffic continues to be forwarded through the standby link. The backup LSP is torn down only after the primary LSP is established successfully.
LDP-IGP synchronization timers are as follows:
Hold-max-cost timer
Delay timer
A link fault is rectified.
An IGP advertises the maximum cost of the active link, delaying the IGP route switchback.
Traffic is still forwarded along the backup LSP.
After the LDP session and adjacency are successfully established, Label Mapping messages are exchanged to instruct the IGP to start synchronization.
The IGP advertises the normal cost of the active link and converges to the original path. The LSP is reestablished and the forwarding entries are delivered within milliseconds.
The LDP session or adjacency between nodes on the active link is faulty.
LDP informs the IGP that the LDP session or adjacency along the active link is faulty. The IGP then advertises the maximum cost of the active link.
IGP routes are switched to the standby link.
The LSP is reestablished along the standby link, and forwarding entries are delivered.
LDP-IGP synchronization state transition mechanism
LDP-IGP synchronization reduces the packet loss rate during an active/standby link switchover and improves the reliability of an entire network.