35 
up convergence, perform this task to enable BFD for RIP. For more information about BFD, see High 
Availability Configuration Guide. 
RIP supports the following BFD detection modes: 
•  Single-hop echo detection—Detection mode for a direct neighbor. In this mode, a BFD session is 
established only when the directly connected neighbor has route information to send. 
•  Single-hop echo detection for a specific destination—In this mode, a BFD session is established to 
the specified RIP neighbor when RIP is enabled on the local interface. 
•  Bidirectional control detection—Detection mode for an indirect neighbor. In this mode, a BFD 
session is established only when both ends have routes to send and BFD is enabled on the receiving 
interface. 
Configuring single-hop echo detection (for a directly connected 
RIP neighbor) 
Ste
 Command
Remarks 
1.  Enter system view. 
system-view  N/A 
2.  Configure the source IP 
address of BFD echo packets. 
bfd echo-source-ip ip-address 
By default, the source IP address of 
BFD echo packets is not 
configured. 
3.  Enter interface view. 
interface interface-type 
interface-number 
N/A 
4.  Enable BFD for RIP. 
rip bfd enable  By default, BFD for RIP is disabled.
 
Configuring single-hop echo detection (for a specific 
destination) 
When a unidirectional link occurs between the local device and a specific neighbor, BFD can detect the 
failure and the local device does not receive or send any RIP packets through the interface connected to 
the neighbor to improve convergence speed. When the link recovers, the interface can send RIP packets 
again. 
This feature applies to RIP neighbors that are directly connected. 
To configure BFD for RIP (single hop echo detection for a specific destination): 
 
Ste
 Command
Remarks 
1.  Enter system view. 
system-view  N/A 
2.  Configure the source IP 
address of BFD echo packets. 
bfd echo-source-ip ip-address 
By default, no source IP address is 
configured for BFD echo packets. 
3.  Enter interface view. 
interface interface-type 
interface-number 
N/A 
4.  Enable BFD for RIP. 
rip bfd enable destination 
ip-address 
By default, BFD for RIP is disabled.