22
Figure 13 LDP GR operation
151B
LDP-IGP synchronization
335B
Basic operating mechanism
LDP establishes LSPs based on the IGP optimal route. If LDP is not synchronized with IGP, MPLS
traffic forwarding might be interrupted.
LDP is not synchronized with IGP when one of the following situations occurs:
•
A link is up, and IGP advertises and uses this link. However, LDP LSPs on this link have not
been established.
•
An LDP session on a link is down, and LDP LSPs on the link have been removed. However, IGP
still uses this link.
•
The
Ordered
label distribution control mode is used. IGP used the link before the local device
received the label mappings from the downstream LSR to establish LDP LSPs.
After LDP-IGP synchronization is enabled, IGP advertises the actual cost of a link only when LDP
convergence on the link is completed. Before LDP convergence is completed, IGP advertises the
maximum cost of the link. In this way, the link is visible on the IGP topology, but IGP does not select
this link as the optimal route when other links are available. Therefore, the device can avoid
discarding MPLS packets when there is not an LDP LSP established on the optimal route.
LDP convergence on a link is completed when both the following situations occur:
•
The local device establishes an LDP session to a minimum of one peer, and the LDP session is
already in
Operational
state.
•
The local device has distributed the label mappings to a minimum of one peer.
336B
Notification delay for LDP convergence completion
By default, LDP immediately sends a notification to IGP that LDP convergence has completed.
However, immediate notifications might cause MPLS traffic forwarding interruptions in one of the
following scenarios:
•
LDP peers use the
Ordered
label distribution control mode. The device has not received a label
mapping from downstream at the time LDP notifies IGP that LDP convergence has completed.
•
A large number of label mappings are distributed from downstream. Label advertisement is not
completed when LDP notifies IGP that LDP convergence has completed.
To avoid traffic forwarding interruptions in these scenarios, configure the notification delay. When
LDP convergence on a link is completed, LDP waits before notifying IGP.
GR restarter
GR helper
Send label mappings
Set up an LDP session, and identify that
they are LDP GR capable
Protocol
restarts
MPLS
forwarding state
holding time
Reconnect time
LDP recovery time
Re-establish the LDP session