Configuration Example: BFD for IP Static Routes Single-Hop Session

The following figure shows a single-hop static BFD session. BFD can monitor the next hop.

Single-Hop Static BFD Session

The following configuration example configures a single-hop static BFD session as illustrated in the preceding figure. Router 1 has a static route to 10.20.20.20/24 with the next hop as 10.0.0.2/24. Router 2 has a static route to 10.10.10.10/24 with the next hop as 10.0.0.1/24. BFD session parameters are also configured, and the holdover timer is set.

Router1# configure terminal
Router1(config)# interface ethernet 1/1/1
Router1(config-if-e40000-1/1/1)# ip address 10.0.0.1/24
Router1(config-if-e40000-1/1/1)# exit
Router1(config)# ip route 10.20.20.20/24 10.0.0.2 bfd
Router1(config)# ip route bfd 10.0.0.2
Router1(config)# ip route bfd 10.0.0.2 min-tx 290 min-rx 300 multiplier 3
Router1(config)# ip route bfd holdover-interval 40

Router2# configure terminal
Router2(config)# interface ethernet 1/1/1
Router2(config-if-e40000-1/1/1)# ip address 10.0.0.2/24
Router2(config-if-e40000-1/1/1)# exit
Router2(config)# ip route 10.10.10.10/24 10.0.0.1 bfd
Router2(config)# ip route bfd 10.0.0.1
Router2(config)# ip route bfd 10.0.0.1 min-tx 300 min-rx 290 multiplier 3
Router2(config)# ip route bfd holdover-interval 40