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

Reminder

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

upgrade

Configuration Guide - IP Unicast Routing

S7700 and S9700 V200R013C00

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, IP Routing Table Management, 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).
Association Between OSPF and Other Protocols

Association Between OSPF and Other Protocols

BFD for OSPF

Bidirectional Forwarding Detection (BFD) detects communication faults between forwarding engines. BFD monitors the connectivity of a data protocol on a path between two systems. This path can be a tunnel, a physical link, or a logical link.

BFD for OSPF enables BFD sessions to be associated with OSPF. If a BFD session detects a link fault, it notifies OSPF of the fault, allowing OSPF to quickly respond to the change in the network topology.

Devices re-calculate routes in the event of a link fault or a topology change. Network performance is improved if the route convergence process of routing protocols is completed faster.

With BFD associated with OSPF, BFD can speed up OSPF route convergence if a fault occurs between neighbors.

Table 5-15  Comparison before and after BFD for OSPF is enabled

BFD Association

Link Fault Detection Condition

Convergence Speed

No

The OSPF dead timer expires. (The default timeout interval is 40 seconds.)

Measured in seconds

Yes

A BFD session goes Down.

Measured in milliseconds

Figure 5-53 shows the process of BFD for OSPF.

Figure 5-53  BFD for OSPF

The process of BFD for OSPF is as follows:

  1. OSPF neighbor relationships are established between SwitchA, SwitchB, and SwitchC.

  2. A full neighbor relationship triggers BFD, which then establishes a BFD session.

  3. The outbound interface of the route from SwitchA to SwitchB is GE2/0/0. If the link between SwitchA and SwitchB fails, BFD detects the fault and then notifies SwitchA of the fault.

  4. SwitchA processes the Down neighbor relationship event, and then re-calculates routes. Following re-calculation, the outbound interface of the route from SwitchA to SwitchB becomes GE1/0/0, with the route to SwitchB traversing SwitchC.

OSPF-BGP Association

A device restart, or even a device itself, may cause the loss of network traffic during BGP convergence. This happens because OSPF converges faster than BGP.

The solution to this problem is association between OSPF and BGP.

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

In Figure 5-54, SwitchA, SwitchB, SwitchC, and SwitchD are running OSPF and have established IBGP connections. SwitchC functions as the backup of SwitchB. When the network is stable, BGP and OSPF routes converge completely on the devices.

Traffic from SwitchA to 10.3.1.0/30 normally passes through SwitchB. If SwitchB becomes faulty, traffic is switched to SwitchC. After SwitchB recovers, traffic is switched back to SwitchB.

During the switchback process, some packets are lost because OSPF route convergence is faster than BGP route convergence. This means that the convergence of OSPF routes is already complete while BGP routes are still converging. As a result, SwitchB fails to learn the route to 10.3.1.0/30. Therefore, upon receipt of packets from SwitchA to 10.3.1.0/30, SwitchB discards these packets.

Figure 5-54  OSPF-BGP association

A device with OSPF-BGP association enabled remains a stub router within the set association period. The link metric in the LSAs advertised by the device is set to the maximum value of 65535. In this way, the device instructs other OSPF devices not to use it for data forwarding.

In Figure 5-54, OSPF-BGP association is enabled on SwitchB. SwitchA continues to use the backup device SwitchC for data forwarding until BGP route convergence on SwitchB is complete.

OSPF-LDP Association

On networks that use primary and backup links, OSPF-LDP association ensures that, when a faulty primary link recovers, traffic interruptions are minimized.

As shown in Figure 5-55, the primary link travels along the path PE1→P1→P2→P3→PE2, and the backup link travels along 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 which traffic is interrupted for an extended period of time.

Figure 5-55  OSPF-LDP association

Synchronizing LDP and OSPF (IGP) on P1 and P2 can shorten the duration of traffic interruption caused by traffic switchback to the primary link from seconds to milliseconds.

OSPF-LDP association delays route switchback by suppressing the establishment of OSPF neighbor relationships until LDP convergence is complete. Before an LSP is established on the primary link, the backup link continues to forward traffic. The backup link is then deleted following the LSP establishment on the primary link.

OSPF-LDP association involves three timers:

  • Hold-down

  • Hold-max-cost

  • Delay

When the primary link recovers, a router responds as follows:

  1. Starts the Hold-down timer. The OSPF interface does not establish OSPF neighbor relationships but waits for the establishment of an LDP session. The hold-down timer specifies the period that the OSPF 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 metric of the interface in LSAs to the primary link.

  3. Starts the Delay timer to wait for the establishment of an LSP after an LDP session is re-established on the primary link.

  4. Enables LDP to notify OSPF that synchronization is complete regardless of the OSPF status after the Delay timer expires.

Translation
Download
Updated: 2019-04-08

Document ID: EDOC1100065744

Views: 56753

Downloads: 46

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next