Configure a Static Route to Coordinate with BFD
Configuration Condition
None
Configure a Static Route to Coordinate with BFD
The Bidirectional Forwarding Detection (BFD) protocol provides a method for detecting the connectivity of the forwarding path between two adjacent routers with light load. A protocol neighbor can quickly detect the connectivity fault of a forwarding path. Different from other dynamic protocol routes, static routes cannot learn communication link failures. BFD provides a method for quickly detecting communication link failures for static routes. After a static route is configured to coordinate with BFD, fast switchover of routes can be implemented. Currently, a static route only supports the asynchronous BFD detection mode. Therefore, you need to configure the route to coordinate with BFD on the devices at the two end of the link.
If the status of BFD that is coordinated with the static route is DOWN, the static route becomes invalid.
Table 3-7 Configuring a Static Route to Coordinate with BFD
Step
|
Command
|
Description
|
Enter the global configuration mode.
|
configure terminal
|
-
|
Configure a static route.
|
ip route destination-ip-address destination-mask interface-name nexthop-ip-address
|
Mandatory.
Only the static route with both output interface and gateway address specified can coordinate with BFD.
|
Configure the output interface and the next-hop address for the route that is coordinated with BFD.
|
ip route static bfd interface-name nexthop-ip-address
|
Mandatory.
The field nexthop-ip-address specifies the directly connected next-hop address.
|
-
For introduction of BFD and how to configure its basic functions, refer to the BFD configuration manual.