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).


A link fault or topology change causes routers to recalculate routes. Therefore, route convergence must be quick enough to ensure network performance. A solution to speed up route convergence is to quickly detect faults and notify routing protocols of the faults.

Bidirectional Forwarding Detection (BFD) detects faults on links between neighboring routers. Associated with a routing protocol, BFD can rapidly detect link faults and report the faults to the protocol so that the protocol quickly triggers route convergence. Traffic loss caused by topology changes is minimized. After RIP is associated with BFD, BFD rapidly detects link faults and reports the faults to RIP so that RIP quickly responds to network topology changes.

Table 3-1 lists the link fault detection mechanisms and convergence speed before and after BFD is associated with RIP.

Table 3-1 BFD speeds up convergence

RIP and BFD Association Feature

Link Fault Detection Mechanism

Convergence Speed


The RIP age timer expires. By default, the timeout interval is 180 seconds.

Second-level (> 180 seconds)


The BFD session goes Down.

Second-level (< 30 seconds)


BFD is classified into static BFD and dynamic BFD:

  • Static BFD

    In static BFD, BFD session parameters (including local and remote discriminators) are set manually using commands, and BFD session setup requests are manually delivered.

  • Dynamic BFD

    In dynamic BFD, BFD session setup is triggered by routing protocols. The local discriminator is dynamically allocated and remote discriminator is obtained from the peer. A routing protocol notifies BFD of the neighbor parameters (including destination and source addresses), and then BFD sets up a session based on the received parameters. When a link fault occurs, the protocol associated with BFD quickly detects that the BFD session is Down, and switches traffic to the backup link. This feature minimizes data loss.

A device can implement static BFD even if the peer device does not support BFD. Dynamic BFD is more flexible than static BFD.


After RIP is associated with BFD, BFD reports link faults to RIP within several milliseconds. The RIP router then deletes the faulty links from the local routing table and starts the backup link. This feature increases route convergence speed.

Figure 3-8 RIP and BFD association network

Implementation of RIP and BFD association:

  • As shown in Figure 3-8, RouterA, RouterB, RouterC, and RouterD set up RIP neighbor relationships. RouterB is the next hop on the route from RouterA to RouterD. RIP and BFD association is configured on RouterA and RouterB.
  • When the link between RouterA and RouterB is faulty, BFD quickly detects the fault and notifies RouterA of the fault. RouterA deletes the route with RouterB as the next hop, and then recalculates a route. The new route passes RouterC and RouterB and reaches RouterD.
  • When the link between RouterA and RouterB recovers, a session is set up again. RouterA receives routing information from RouterB and selects the optimal route.
Updated: 2019-03-21

Document ID: EDOC1000166601

Views: 275885

Downloads: 161

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next