Routing · 4 min read

FortiGate SD-WAN: Path Loss Detection Threshold & Failover Timing

FortiGate SD-WAN relies on active health monitoring to detect link degradation and trigger failover before user traffic stalls. Path loss detection threshold and failover timing are two separate but interdependent mechanisms. Understanding how they work together is essential for designing reliable multi-WAN deployments that meet SLA requirements without false positives or excessive convergence delays.

How FortiGate Detects Path Loss and Link Failure

FortiGate SD-WAN members send probe packets (ICMP or UDP) to configurable health-check destinations. Each member tracks latency, jitter, and packet loss on each WAN link independently. When a metric crosses a threshold, the member flags that link as degraded or down. The SD-WAN controller (or local policy engine on standalone units) then recalculates path selection and redirects traffic to healthy links.

Path loss detection is not binary. FortiGate measures loss as a percentage of probe packets that fail to return within the timeout window. A single lost probe does not trigger failover; instead, the system accumulates loss statistics over a measurement interval (typically 10 seconds by default) and compares the aggregate loss rate against the configured threshold.

Configuring Path Loss Threshold and Detection Interval

Path loss thresholds are set per SD-WAN member link using the health-check object. The key parameters are:

The failtime and recoverytime parameters prevent flapping. If failtime is set to 5 and interval is 10 seconds, the link must fail health checks for at least 50 seconds before failover occurs. This hysteresis is critical in unstable network conditions.

config system sdwan
  config members
    edit 1
      set interface "wan1"
      config health-check
        edit "primary-check"
          set server "8.8.8.8"
          set protocol ping
          set interval 10
          set timeout 500
          set threshold 5
          set failtime 5
          set recoverytime 5
        next
      end
    next
  end
end

Understanding Failover Timing and Convergence

Failover timing is the elapsed time from the moment a link fails until traffic is rerouted to a backup path. This is NOT the same as path loss detection threshold. Detection identifies the problem; failover timing measures how quickly the system responds.

In the example above, if failtime is 5 and interval is 10 seconds, the minimum failover latency is 50 seconds (5 failed intervals times 10 seconds per interval). However, the actual convergence time also includes the time to update routing tables, update SD-WAN policy, and flush connection state. Total failover time typically ranges from 50 to 100 milliseconds after the last failed health check.

To reduce failover time, decrease the interval and failtime values. However, aggressive settings (interval 2s, failtime 2) increase probe traffic and CPU load, and may cause false positives on congested or high-jitter links. The trade-off is always between detection speed and stability.

Best Practices for Production Deployments

Bandwidth & Transfer Time
Calculate link capacity requirements and failover impact on throughput
Open →
Practise this on today’s Daily Ops Drill — a free network task every day.
Open the app →
Free tools for this
More from the blog
CCNA Design Lab: EIGRP vs OSPF for Branch NetworksRead →FortiGate NSE4: Rotating Admin Credentials Without DowntimeRead →