Configuring BFD for an IP Static Route

BFD can be configured globally on IP static routes. The following task enables BFD and configures BFD session parameters on an IP static route where the destination IP address is 10.2.2.0/24 and the next-hop IP address is 10.0.0.2. BFD session timer values are also configured.
  1. Enter the configure terminal command to access global configuration mode.
    device# configure terminal
  2. Enter the ip route command with the bfd keyword, specifying a destination IP address and a next-hop IP address, to configure BFD for the IP static route.
    device(config)# ip route 10.2.2.0/24 10.0.0.2 bfd
  3. Enter the ip route bfd command and specify an IP address to configure a BFD session on the IP static route.
    device(config)# ip route bfd 10.0.0.2
  4. Enter the ip route bfd command with the min-tx, min-rx, and multiplier keywords, specifying the required intervals, to configure BFD session parameters for the IP static route.
    device(config)# ip route bfd 10.0.0.2 min-tx 280 min-rx 300 multiplier 3
  5. Enter the ip route bfd holdover-interval command, and enter a value, to configure the BFD holdover interval for the IP static route.
    device(config)# ip route bfd holdover-interval 10

The following task enables BFD and configures BFD session parameters on an IP static route where the destination IP address is 10.2.2.0/24 and the next-hop IP address is 10.0.0.2. BFD session timer values are also configured. The holdover-timer is also set.

device# configure terminal
device(config)# ip route 10.2.2.0/24 10.0.0.2 bfd
device(config)# ip route bfd 10.0.0.2
device(config)# ip route bfd 10.0.0.2 min-tx 280 min-rx 300 multiplier 3
device(config)# ip route bfd holdover-interval 10

The following example configures a BFD session for an IP static route in a nondefault VRF instance.

device# configure terminal
device(config)# ip route vrf red bfd 10.2.2.2