Staticd has introduced the ability to monitor a static route and remove it from RIB , When the BFD session is down it is removed from RIB and propagated , if it's is up the routes are installed :
frr eg :
rt-1# show running-config staticd Building configuration... Current configuration: ! frr version 8.5 hostname vyos hostname rt-1 ! ip route 192.168.10.0/24 192.168.2.3 ip route 10.10.13.3/32 192.168.2.3 bfd profile static operation command : rt-1# show bfd static route Showing BFD monitored static routes: Next hops: VRF default IPv4 Unicast: 10.10.13.3/32 peer 192.168.2.3 (status: installed)