No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


Configuration Guide - IP Unicast Routing

CloudEngine 12800 and 12800E V200R002C50

This document describes the configurations of IP Unicast Routing, including IP Routing, Static Route, RIP, RIPng, OSPF, OSPFv3, IPv4 IS-IS, IPv6 IS-IS, BGP, Routing Policy, and PBR.

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
OSPF-LDP Association

OSPF-LDP Association


In a network that uses primary and backup links, when the faulty primary link recovers, traffic is switched from the backup link back to the primary link.

IGP route convergence completes before an LDP session is established. Consequently, the original LSP is deleted before a new LSP is established and LSP traffic is interrupted.


As shown in Figure 5-16, the primary link adopts the path PE1→P1→P2→P3→PE2, and the backup link adopts the path PE1→P1→P4→P3→PE2.

When the primary link is faulty, traffic is switched to the backup link. After the primary link recovers, traffic is switched back to the primary link. During this process, traffic is interrupted for a long period of time.

Figure 5-16 OSPF-LDP association

Associating Label Distribution Protocol (LDP) and IGP on P1 and P2 can shorten traffic interruption caused by traffic switchback from the backup link to the primary link.

Table 5-17 OSPF-LDP association
OSPF-LDP Association Traffic Interruption Period
No Seconds
Yes Milliseconds


IGP-LDP association delays route switchback by suppressing the establishment of IGP neighbor relationships until LDP convergence is complete. That is, before an LSP on the primary link is established, the backup link continues to forward traffic. After an LSP is established on the primary link, traffic is switched back to the primary link.

LDP-IGP association involves three timers:

  • Hold-down

  • Hold-max-cost

  • Delay

After the primary link recovers on a router, the router responds as follows:

  1. Starts the hold-down timer. The IGP interface does not establish IGP neighbor relationships but waits for the establishment of an LDP session. The Hold-down timer specifies the period that the IGP interface waits.

  2. Starts the Hold-max-cost timer after the Hold-down timer expires. The Hold-max-cost timer specifies the interval for advertising the maximum link cost of the interface in an LSA to the primary link.

  3. After an LDP session is re-established for the primary link, starts the Delay timer to wait for the establishment of an LSP.

  4. After the Delay timer expires, LDP notifies IGP that synchronization is complete regardless of the IGP status.

Updated: 2019-03-21

Document ID: EDOC1000166601

Views: 276005

Downloads: 161

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next