- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
08-01-2025 04:58 AM
Dear community!
In a active/passive configuration with OSPF graceful restart and BFD enabled, when we do failover we experience a downtime 1 minute after the failover and it takes about 10 seconds to be fixed.
Checking the logs it looks like the firewall builds the new BFD sessions with the core switch, but after 1 minute after the failover the FW rejects the BFD sessions and rebuild them.
-> Is this a normal behavior??
Fortinet recommends not to use graceful restart with BFD for both OSPF and BGP.
https://community.fortinet.com/t5/FortiGate/Technical-Tip-BFD-with-Graceful-Restart-on-FortiGate/ta-...
Palo Alto only recommends not to use it with BGP but I couldn´t find any reference to OSPF:
Regards!
08-04-2025 04:49 AM
Hi @Carracido ,
The conflict between Graceful Restart (GR) and Bidirectional Forwarding Detection (BFD) is an architectural issue that applies to any dynamic routing protocol. It is not specific to OSPF or BGP.
The problem arises during an HA failover or any event that causes a brief disruption. BFD, being extremely fast, will detect the disruption and tear down the session with the peer device. This rapid action from BFD overrides the slower process of Graceful Restart. This can lead to the routing tables being flushed and an extended outage, exactly as you described
In summary, the problem is not tied to the specific routing protocol (OSPF, BGP, etc.) but rather to the conflicting nature of BFD and GR. They are designed for different types of failures, and when both are active, BFD's speed typically overrides GR's grace period, leading to the kind of extended downtime you are seeing.
Hope this helps,
-Kim.
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!