Configuring Static BFD for IPv4 Static Routes
Static BFD for IPv4 static routes enables a device to rapidly detect changes of a link to a destination address of a stack route, improving network reliability.
Pre-configuration Tasks
Before configuring static BFD for IPv4 static routes, complete the following tasks:
Configuring link layer parameters and IP addresses for interfaces to ensure network-layer communication between neighbor nodes
Configuring BFD sessions
For details, see "BFD Configuration" in the Huawei AR Series Access Routers - Configuration Guide - Reliability.
Procedure
- Run system-view
The system view is displayed.
- Run ip route-static ip-address { mask | mask-length } { nexthop-address | interface-type interface-number [ nexthop-address ] } [ preference preference | tag tag ] * track bfd-session cfg-name [ description text ]
A public network static IPv4 route is bound to a BFD session.
Before binding a static route to a BFD session, ensure that the BFD session and the static route reside on the same link.
Verifying the Configuration
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.