This section describes the application scenario of interworking between BFD and static routes.
Static route is manually configured by administrators for a known path. Different from dynamic route, static route does not have the detection mechanism. When the network fails, administrator intervention is needed.
By interworking, the static route is bound to a static BFD session. Therefore, the status of the static route changes with the status of the BFD session.
As shown in Figure 1, Router_A connects Router_B with a Layer-2 switch, and can communicate with the Internet through a static route. The link from Router_A to Router_B serves as the active link whereas the link from Router_A to Router_C to Router_B serves as the standby link.
To increase the network reliability and shorten the route convergence time, you can establish a BFD session between Router_A and Router_B to check the link status.
The interworking between BFD and static route supports two detection modes:
One-hop detection
Devices on both ends of the BFD session connect directly or with a Layer-2 switch, that is, the BFD session and the static route share the same outbound interface, and the IP address of the peer end is the next hop of the route. Figure 1 shows the typical application of the one-hop detection networking.
Multi-hop detection
As Figure 2 shows, the devices on both ends of the BFD session are indirectly connected with multi-hop routing channels. In this case, the BFD session binds the IP address of the peer end but not the outbound interface of the static route.