< Home

LDP GR

LDP Graceful Restart (GR), with the help of a helper, implements uninterrupted forwarding during an active main board (AMB)/standby main board (SMB) switchover. Without GR, during an AMB/SMB switchover, the neighboring device deletes an LSP because an LDP session is in the Down state. As a result, traffic is interrupted in a short period of time. LDP GR can be configured to remain labels to implement uninterrupted MPLS forwarding after an unexpected AMB/SMB switchover is performed.

LDP GR timers

Defined in RFC 3748, the following LDP GR timers are used:

Figure 1 describes the usage scenario and timing sequence of using the preceding timers.

Figure 1 Usage scenario and timing sequence of using LDP GR timers

LDP GR implementation

Figure 2 illustrates the process of implementing LDP GR.

  1. Before an AMB/SMB switchover, LDP peers negotiate GR capabilities before they establish an LDP session.

  2. After the restarter performs an AMB/SMB switchover, it restarts the LDP protocol, starts the MPLS Forwarding State Holing timer, and sets a forwarding entry used before LDP is reset the Stale state.

  3. After the helper detects the AMB/SMB switchover performed by the restarter, the helper sets the FEC label mapping entry sent over the LDP session established between the helper and restarter to the Stale state. The helper then starts the LDP Reconnect timer.

  4. If the LDP is reestablished between the restarter and Helper before the LDP Reconnect timer expires, the Helper deletes the LDP Reconnect timer and starts the LDP Recovery timer.

  5. Before the LDP Recovery timer expires, the helper and restarter exchange Label Mapping messages to restore forwarding entries.

  6. After the MPLS Forwarding State Holding timer expires, the restarter deletes the stale forwarding entries.

  7. After the LDP Recovery timer expires, the helper deletes the stale FEC label mapping and forwarding entries.

Figure 2 LDP GR implementation

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >