Description | This article describes issues with the Graceful Restart feature when used with neighbor groups defined with the neighbor-range command. |
Scope | FortiGate, FortiOS. |
Solution |
In some cases, when administrators need to configure multiple BGP neighbors, to simplify the configuration, BGP neighbor groups are created and defined with the neighbor-range command.
config router bgp
Administrators usually also want to use the Graceful Restart feature to avoid network disruptions and packet loss in cases of a failover or a reboot of the cluster.
How BGP graceful restart works in that scenario is explained here: Understanding Graceful restart and non-stop forwarding for BGP in FortiGate HA
When using this 'neighbor-groups', during failover testing, packet loss can be seen.
Conclusion: Since neighbor-groups are passive and cannot trigger a re-connection, it's expected that neighbor-groups defined with neighbor-range can't perform Graceful Restart when it is the side that initiates a restart.
To avoid packet loss using BGP neighbor-groups on SD-WAN Hubs, it is necessary to activate the route-stale option on each BGP neighborship with each Hub on every Spoke:
config router bgp config neighbor edit Y.Y.Y.Y set stale-route enable next end
Instead, in order to benefit fully from the Grace Restart feature, BGP configuration would need to be modified to manually configure neighbors instead of neighbor-groups defined with neighbor-range. |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.