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 situation can cause traffic loss because 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.
To enable strict BFD session protection, use the following command:
Note
Enabling strict BFD generates a warning message to reboot the switch so as to update the route table: WARNING: Please reboot the switch for the strict BFD to take effect.To disable strict BFD session protection, use the following command:
disable iproute {protection} bfd strict
To show strict BFD session protection status, use the following command:
show iproute bfd