14
1 <1 ms <1 ms <1 ms 1.1.6.1
2 <1 ms <1 ms <1 ms 1.1.4.1
3 1 ms <1 ms <1 ms 1.1.2.2
Trace complete.
BFD for static routes configuration example (direct next hop)
Network requirements
As shown in
Figure 3
:
•
Configure a static route to subnet 120.1.1.0/24 on Router A.
•
Configure a static route to subnet 121.1.1.0/24 on Router B.
•
Enable BFD for both routes.
•
Configure a static route to subnet 120.1.1.0/24 and a static route to subnet 121.1.1.0/24 on Router
C.
When the link between Router A and Router B through the Layer 2 switch fails, BFD can detect the failure
immediately. Router A then communicates with Router B through Router C.
Figure 3
Network diagram
Table 4
Interface and IP address assignment
Device Interface
IP address
Router A
GigabitEthernet 1/0
12.1.1.1/24
Router A
GigabitEthernet 2/0
10.1.1.102/24
Router B
GigabitEthernet 1/0
12.1.1.2/24
Router B
GigabitEthernet 2/0
13.1.1.1/24
Router C
GigabitEthernet 1/0
10.1.1.100/24
Router C
GigabitEthernet 2/0
13.1.1.2/24
Configuration procedure
1.
Configure IP addresses for interfaces. (Details not shown.)
2.
Configure static routes and BFD:
# Configure static routes on Route A and enable BFD control mode for the static route that traverses
the Layer 2 switch.