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-BGP Association

OSPF-BGP Association


When a new device is deployed in a network or a device is restarted, network traffic may be lost during BGP convergence. This is because IGP convergence is faster than BGP convergence.

This problem can be solved through the synchronization between OSPF and BGP.


If a backup link exists, during traffic switchback, BGP traffic is lost because BGP route convergence is slower than OSPF route convergence.

As shown in Figure 5-14, Router A, Router B, Router C, and Router D run OSPF and establish IBGP connections. Router C functions as the backup of Router B. When the network is stable, BGP and OSPF routes converge completely on the device.

Normally, traffic from Router A to passes through Router B. When Router B becomes faulty, traffic is switched to Router C. After Router B recovers, traffic is switched back to Router B. During this process, packet loss occurs.

This is because when traffic is switched back to Router B, IGP (OSPF) route convergence is faster than BGP route convergence. Consequently, convergence of OSPF routes is already complete when BGP route convergence is still going on. As a result, Router B does not know the route to

Therefore, when packets from Router A to arrive at Router B, they are discarded because Router B does not have the route to

Figure 5-14 OSPF-BGP association


A device enabled with OSPF-BGP association remains as a stub router within the configured synchronization period. That is, the link cost in the LSA advertised by the device is set to the maximum value of 65535. Therefore, the device instructs other OSPF devices not to use it for data forwarding.

As shown in Figure 5-14, OSPF-BGP association is enabled on Router B. In this situation, before BGP route convergence is complete, Router A continues to use the backup link passing through Router C instead of forwarding traffic to Router B until BGP route convergence on Router B is complete.

Updated: 2019-03-21

Document ID: EDOC1000166601

Views: 294082

Downloads: 168

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next