Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Enabling BFD on a Static Route

    You can enable BFD on a static route using the ip route command with the bfd-liveness-detection keyword.

    You can use the following optional keywords along with the bfd-liveness-detection keyword:

    • The minimum-interval keyword to specify a value in the range 100–65535 milliseconds. This keyword defines both the minimum receive interval and minimum transmit interval using the same value.
    • The minimum-receive-interval keyword to specify a minimum receive interval value in the range 100–65535 milliseconds.
    • The minimum-transmit-interval keyword to specify a minimum transmit interval value in the range 100–65535 milliseconds.
    • The multiplier keyword to specify a multiplier number in the range 1–255.
    • The last-resort keyword to instruct the router to install the static route in the routing table even if the specified BFD operation is currently unreachable, provided that no other static route to the same network prefix is available.

    You can change parameters at any time without stopping or restarting the existing session; BFD automatically adjusts to the new parameter value. However, no changes to BFD parameters take place until the values resynchronize with each BFD peer.

    To enable BFD on a static route with:

    • Next-hop address and last resort.
      host1(config)#ip route 192.56.15.23 255.255.255.0 192.66.0.1 verify bfd-liveness-detection minimum-interval 800 multiplier 2 last-resort
    • Next-hop address and interface.
      host1(config)#ip route 192.56.15.24 255.255.255.0 192.66.0.2 fast 6/0 verify bfd-liveness-detection
    • Next-hop address with different receive and transmit intervals.
      host1(config)#ip route 192.56.15.23 255.255.255.0 192.66.0.1 verify bfd-liveness-detection minimum-receive-interval 800 minimum-transmit-interval 300 multiplier 2 last-resort

    Use the no version to remove the static route from the routing table and thereby remove BFD from that static route.

    Published: 2014-08-13