Troubleshooting Tip: SD‑WAN Overlay Instability  causing BGP Flapping and Loss of Connectivity
Description | This article describes how BGP instability and route flapping can occur in an SD-WAN overlay (ADVPN) environment. When an SD-WAN overlay (ADVPN) is used, each site establishes a BGP session over the encrypted tunnel. If the overlay experiences instability, for example, member interfaces repeatedly transitioning up/down, health-check SLA failures, or packet loss across the tunnel, the BGP peer relationship may begin flapping. |
Scope | FortiGate. |
Solution | Root causes are usually one (or a combination) of:
Confirms whether the member is Up, Down or Unknown by running the below command:
Section 2: Check health‑check SLA thresholds. Over‑aggressive thresholds cause the member to flip to Down → BGP flaps. Section 3: Inspect the underlying tunnel. Packet loss, high jitter, or frequent re‑keying on the IPsec tunnel will trigger BGP resets. Section 4: Enable BFD on the tunnel (optional but recommended). BFD detects a dead tunnel in milliseconds and can keep BGP stable by preventing unnecessary session resets. Section 5: Review BGP session status & timers. Verify hold‑time, keep‑alive, and graceful‑restart settings. If the hold‑time is too low, a momentary lapse will cause a flap. Section 6: Adjust BGP timers if needed. Larger timers absorb brief outages without generating a flap. Section 7: Enable route‑dampening & Enable graceful‑restart (In case of HA or expect short maintenance). Suppresses propagation of flapping routes, reduces CPU on peers. The neighbour keeps using existing routes while the local BGP process restarts, avoiding a full flap. Section 8: Monitor the overlay after changes. Ensure the flapping stops and traffic flows normally. Section 9: If flapping persists, collect a diagnostic dump for Fortinet Support for deeper analysis. Additional Tip:
|
