Static BFD for IPv4 static routes enables devices to fast detect link changes, improving network reliability.
To use BFD sessions to provide link detection for IPv4 static routes on the public network, you can bind IPv4 static routes to BFD sessions. One IPv4 static route can be bound to one BFD session.
Optimal IPv4 static routes are delivered to the forwarding table for packet forwarding. However, IPv4 static routes cannot detect the status of the link to the next hop. You can bind IPv4 static routes to BFD sessions. A BFD session can fast detect changes over a link and inform the routing management system of the changes. The routing management system immediately deletes the IPv4 static route that is bound to the BFD session from the forwarding table and recalculates another active route. In this manner, fast route convergence is implemented.
Before configuring static BFD for IPv4 static routes, complete the following tasks:
Configure parameters of the link layer protocol and IP addresses for interfaces and ensure that the link layer protocol on the interfaces is Up.
Run the following commands to check the previous configuration.
Run the display bfd session { all | discriminator discr-value } [ verbose ] command to check information about the BFD session.
Run the display current-configuration | include bfd command to check the configuration of BFD for static routes.
You can check the information about a BFD session only after parameters of the BFD session are set and the BFD session is established.
If a BFD session has been established, the status of the BFD session is Up. Run the display current-configuration | include bfd command in the system view, and you can see that the BFD session has been bound to a static route.