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

S7700 and S9700 V200R011C10

This document describes IP Unicast Routing configurations supported by the switch, including the principle and configuration procedures of IP Routing Overview, Static Route, RIP, RIPng, OSPF, OSPFv3, IS-IS(IPv4), IS-IS(IPv6), BGP, Routing Policy ,and PBR, and provides configuration examples.

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


Bidirectional Forwarding Detection (BFD) detects faults on links between neighboring routers. It is often associated with routing protocols so that these protocols can be notified of link faults in order to quickly trigger route convergence. Traffic loss caused by topology changes is therefore minimized. After RIP is associated with BFD, BFD rapidly detects link faults and reports the faults to RIP. This ensures that RIP quickly responds to network topology changes.

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

Table 3-1  BFD speeds up convergence


Link Fault Detection Mechanism

Convergence Speed


The RIP Age timer expires. By default, this timer is 180 seconds.

> 180 seconds


The BFD session goes Down.

< 30 seconds


BFD is classified into static BFD and dynamic BFD:

  • Static BFD

    BFD session setup is manually triggered, and BFD session parameters (including local and remote discriminators) are manually configured using commands. A device can implement static BFD even if the peer device does not support BFD.

  • Dynamic BFD

    BFD session setup is dynamically triggered by routing protocols. The local discriminator is dynamically allocated and the remote discriminator is obtained from the BFD packet of the peer device. Therefore, dynamic BFD is more flexible than static BFD. After establishing a new neighbor relationship, 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 routing protocol quickly detects that the BFD session is Down and switches traffic to the backup link, minimizing data loss.


After BFD for RIP is enabled, BFD reports link faults to RIP within several milliseconds. A RIP router then deletes the route of the faulty link from its RIP routing table and starts the backup link.

Figure 3-10 illustrates the BFD for RIP process.

Figure 3-10  BFD for RIP

RouterA, RouterB, RouterC, and RouterD establish RIP neighbor relationships. RouterB is the next hop of the route from RouterA to RouterD. A dynamic BFD session is set up between RouterA and RouterB, and dynamic BFD for RIP is enabled on RouterA and RouterB.

When the link between RouterA and RouterB becomes faulty, BFD quickly detects the fault and notifies RouterA of the fault. RouterA deletes the route with RouterB as the next hop from its RIP routing table, and then recalculates a route. The new route passes through RouterC and RouterB to reach RouterD.

When the link between RouterA and RouterB recovers, a dynamic BFD session is set up again between RouterA and RouterB. RouterA receives routing information from RouterB and selects the optimal route for packet forwarding.

Updated: 2019-10-18

Document ID: EDOC1000178324

Views: 272768

Downloads: 222

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next