On a network that runs high-rate data services, dynamic BFD for RIP can be configured to quickly detect and respond to network faults.
RIP-capable devices detect neighbor status by exchanging Update packets periodically. By default, a local device can detect a link failure 180s after the link fails. During this period, carriers or users may lose a large number of packets.
BFD can detect a fault (if any) within milliseconds and notify the RIP module of the fault. BFD for RIP can speed up fault detection and route convergence, which improves network reliability.
In BFD for RIP, BFD session establishment is triggered by RIP. When establishing a neighbor relationship, RIP will send detection parameters of the neighbor to BFD. Then, a BFD session will be established based on these detection parameters. If a link fault occurs, the local RIP process will receive a neighbor unreachable message within milliseconds. Then, the local RIP device will delete routing entries in which the neighbor relationship is Down and use the backup path to transmit messages.
An interface in this case may be a physical interface or a GRE tunnel interface. If BFD is enabled on a GRE tunnel interface, millisecond-level fault detection can be implemented for the GRE tunnel.
Before configuring BFD for RIP, complete the following tasks:
Assign an IP address to each interface to ensure that neighboring nodes are reachable at the network layer.
After enabling BFD for RIP at both ends of a link, run the display rip bfd session { interface interface-type interface-number | neighbor-id | all } command. The following command output shows that the BFDState field on the local router is Up.