Configuration Example: BFD for IP Static Routes Multi-hop Session
The following configuration example configures a multi-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. A multi-hop BFD session is configured with 10.0.0.1 specified as the local source IP address to use for the multi-hop BFD session. BFD session parameters are also configured. Router 2 has a static route to 10.10.10.10/24 with the next hop as 10.0.0.1. A multi-hop BFD session is configured with 10.0.0.2 specified as the local source IP address to use for the multi-hop BFD session. BFD session parameters are also configured, and the BFD holdover timer is set.
Router1# configure terminal Router1(config)# interface ve 10 Router1(config-vif-10)# ip address 10.0.0.1/24 Router1(config-vif-10)# exit Router1(config)# ip route 10.20.20.20/24 10.0.0.2 bfd Router1(config)# ip route bfd 10.0.0.2 multi-hop 10.0.0.1 Router1(config)# ip route bfd 10.0.0.2 multi-hop 10.0.0.1 min-tx 300 min-rx 290 multiplier 3 Router1(config)# ip route bfd holdover-interval 35 Router2# configure terminal Router2(config)# interface ve 20 Router2(config-vif-20)# ip address 10.0.0.2/24 Router2(config-vif-20)# exit Router2(config)# ip route 10.10.10.10/24 10.0.0.1 bfd Router2(config)# ip route bfd 10.0.0.1 multi-hop 10.0.0.2 Router2(config)# ip route bfd 10.0.0.1 multi-hop 10.0.0.2 min-tx 295 min-rx 300 multiplier 3 Router2(config)# ip route bfd holdover-interval 35
