enable iproute bfd strict

enable iproute {protection} bfd strict

Description

Turns on "strict" Bidirectional Forwarding Detection (BFD) session control, which brings down the static route during switch reboot if the static route nexthop BFD session is in the INIT state.

Syntax Description

protection Enables or disables route protection.
bfd BFD protect static routes to next hop gateway.
strict Enables considering that protected static routes are not up if the BFD session is in INIT state. Default is disabled.

Default

By default, strict BFD session control is disabled.

Usage Guidelines

If the BFD session is down, but BFD protected static route is still in the routing table after reboot, the BFD session is never established, because during reboot, the BFD session is in the INIT state, and the static route is brought up without considering BFD session state. This can cause traffic loss since the link to the gateway actually is down. This command turns down the static route during reboot if BFD session is in the INIT state. This behavior is different from other BFD clients (such as OSPF) in the same INIT situation. A reboot is required to make the command take effect.

Example

The following example enables BFD strict session control:

# enable iproute bfd strict
WARNING: Please reboot the switch for the strict BFD to take effect.

History

This command was first available in ExtremeXOS 30.3.

Platform Availability

This command is available on the ExtremeSwitching X440-G2, X450-G2, X460-G2, X465, X590, X620, X670-G2, X690, and X870 series switches.