BGP BFD strict mode support?

Christian Ruppert idl0r at qasl.de
Tue Feb 10 15:56:05 CET 2026


Hi list,

is it possible to add BFD strict mode support? Or is it possible to let 
bird behave like this already with some workarounds by chance?
It looks like both sides must support that in order to get it working:
> Both peers must advertise support for strict-BFD capability for strict 
> behavior to take effect on that session.

Right now it seems like BFD + BGP is kinda useless because when we drop 
BFD packets for example, to simulate an outage, even tho the BFD session 
is going down, BGP stays up and still exports routes etc. We have 
configured bfd into our bgp template / config in bird:
template bgp bfd_bgp_v6 {
   description "IPv6 BGP";
   local ... as 1337;
   strict bind yes;
   hold time 90;
   keepalive time 30;
   bfd;

   ipv6 {
     next hop self;

     import filter {
       reject "No import on LB!";
     };
     export where lb_export();
   };
}

protocol bfd {
   accept direct;

   neighbor ...
   neighbor ...
   ...
};

I *might* also be able to arrange either some money donation for the 
project and/or an individual developer, whatever is preferred.

https://datatracker.ietf.org/doc/draft-ietf-idr-bgp-bfd-strict-mode/
https://supportportal.juniper.net/s/article/BFD-strict-mode-for-BGP-peer-sessions
https://www.juniper.net/documentation/us/en/software/junos/high-availability/topics/topic-map/bfd.html#id-understanding-bfd-for-bgp__d11e136
https://www.juniper.net/documentation/us/en/software/junos/bgp/topics/topic-map/bfd-for-bgp-session.html#platform-specific-behavior

-- 
Regards,
Christian Ruppert


More information about the Bird-users mailing list