Troubleshooting is a critical skill for maintaining the stability and reliability of an SD-WAN deployment. It involves diagnosing and resolving issues that affect network performance, traffic flow, or device functionality.
diag sys sdwan:
Purpose: View the status of SD-WAN members and rules.
Usage Example:
diag sys sdwan
Output shows the status of each WAN link, SLA metrics, and path usage.
diag debug application sdwan:
Purpose: Analyze rule matching and traffic distribution.
Usage Example:
diag debug application sdwan
diag debug enable
Output provides real-time insights into how rules are applied to traffic.
Effective SD-WAN troubleshooting requires a structured approach, covering physical connectivity, WAN link performance, SD-WAN rule validation, VPN-related issues, and historical analytics.
Before diagnosing SD-WAN policy or routing issues, ensure the underlying WAN connection is stable.
Use the following command to verify WAN interface connectivity:
get system interface
up/down).Run the following commands to check WAN stability:
Ping test to check packet loss:
execute ping -c 50 <ISP_Gateway_IP>
Traceroute test to diagnose high latency:
execute traceroute <destination_IP>
Key indicators of WAN issues:
Incorrect MTU (Maximum Transmission Unit) or MSS (Maximum Segment Size) settings can cause:
To check MTU values, use:
diagnose sys mtu
If MTU is mismatched, adjust it:
config system interface
edit "wan1"
set mtu 1500
end
For VPN tunnels, consider setting MSS clamping to avoid fragmentation:
config vpn ipsec phase1-interface
edit "vpn1"
set mtu-override enable
set mtu 1350
end
To verify how traffic is being routed through SD-WAN, use:
get router info routing-table all
To validate WAN SLA performance metrics, run:
diagnose sys sdwan health-check
To check if traffic matches the correct SD-WAN rule, use:
diagnose sys sdwan service
To trace why traffic is not following expected SD-WAN routes, use:
diagnose debug flow filter addr <destination_IP>
diagnose debug enable
diagnose debug console timestamp enable
Issue: Traffic is not following the expected SD-WAN rule.
Possible Cause: A higher-priority rule is overriding the intended policy.
Solution: Run:
diagnose sys sdwan service
Issue: SD-WAN is not switching WAN links despite SLA violations.
Possible Cause: SLA thresholds are set too high, preventing failover.
Solution: Adjust SLA parameters:
config system sdwan
config health-check
edit "WAN_SLA_Check"
set latency-threshold 100
set packetloss-threshold 5
next
end
end
Reducing the latency threshold ensures failover happens sooner.
Issue: Traffic is only using one WAN link despite load balancing settings.
Possible Cause: ECMP (Equal-Cost Multi-Path) is not configured.
Solution: Verify ECMP settings:
get router info routing-table all
If only one route exists, enable ECMP:
config router setting
set ecmp-max-paths 4
end
If SD-WAN is integrated with VPN tunnels, additional debugging is required.
Issue: SD-WAN cannot establish an IPsec VPN tunnel.
Possible Causes:
Solution:
Check active VPN tunnels:
diagnose vpn tunnel list
Debug IKE negotiation:
diagnose debug application ike -1
Issue: Branch offices cannot dynamically establish ADVPN tunnels.
Possible Cause: Routing issues in OSPF/BGP.
Solution: Verify dynamic routing:
get router info bgp summary
get router info ospf neighbor
Ensure OSPF/BGP is advertising correct routes.
Restart dynamic VPN discovery:
diagnose vpn ike gateway
FortiAnalyzer helps troubleshoot historical SD-WAN performance issues.
To check which WAN links frequently fail SLA checks:
To trace specific sessions through SD-WAN, use:
diagnose sys sdwan health-check to monitor SLA performance.diagnose sys sdwan service to verify rule matching.diagnose debug flow filter addr <destination_IP> to trace traffic.diagnose vpn tunnel list to check active VPN sessions.Which command on FortiGate displays the health status of SD-WAN performance SLAs and link metrics such as latency, jitter, and packet loss?
diagnose sys sdwan health-check
The command diagnose sys sdwan health-check displays the real-time status of all configured SD-WAN health checks. The output shows whether each member link is alive or dead and includes performance metrics such as packet loss, latency, and jitter. These values determine whether a link meets the SLA thresholds configured in the SD-WAN rule. If the metrics exceed the thresholds, the link is marked as failing the SLA and may be excluded from traffic forwarding depending on the rule strategy. Network engineers commonly use this command when troubleshooting unexpected path selection or link failover behavior. Understanding the output helps determine if the issue lies in the physical link, the SLA thresholds, or the SD-WAN rule logic controlling path selection.
Demand Score: 92
Exam Relevance Score: 95
Which FortiGate command displays all SD-WAN members and their current status?
diagnose sys sdwan member
The diagnose sys sdwan member command shows the status of each SD-WAN member interface in the virtual-wan-link zone. The output lists the interface name, gateway, priority, and weight. When weight-based load balancing is used, it also displays the session count handled by each member. This command is useful when verifying whether interfaces were successfully added to SD-WAN and whether traffic distribution is functioning as expected. During troubleshooting, administrators often run this command alongside health-check diagnostics to confirm that interfaces are operational and participating in SD-WAN load balancing or failover decisions.
Demand Score: 88
Exam Relevance Score: 90
How can you determine which SD-WAN rule is matched for a specific traffic flow during troubleshooting?
Use diag firewall proute list and correlate it with debug flow output.
When troubleshooting SD-WAN rule matching, engineers commonly run a debug flow capture to observe packet processing. The debug output includes a policy route ID that indicates which SD-WAN rule was evaluated. By running diag firewall proute list, administrators can view all SD-WAN policy routes and match the route ID from the debug flow with the rule ID in the proute list. This method allows engineers to identify exactly which SD-WAN rule handled the traffic. It is particularly useful when traffic unexpectedly bypasses a rule due to route lookup order, policy routing precedence, or incorrect rule conditions such as destination, service, or interface matching.
Demand Score: 85
Exam Relevance Score: 92
Why might traffic still use an SD-WAN member even when its Performance SLA is failing?
Because the SD-WAN rule may not be configured to enforce SLA-based selection.
Performance SLAs only influence path selection if the SD-WAN rule references that SLA and uses a strategy that respects SLA results, such as lowest cost (SLA) or priority with SLA filtering. If the rule is configured with a manual strategy or does not include the SLA in its configuration, the FortiGate may continue sending traffic through that link even if the SLA metrics exceed thresholds. Another possible cause is that all members fail the SLA, forcing the rule to choose a link anyway. Engineers often encounter this behavior when configuring redundant ISP circuits and expecting automatic failover without correctly associating the SLA with the rule logic.
Demand Score: 80
Exam Relevance Score: 90
Which command displays the configured SD-WAN services (rules) and their status?
diagnose sys sdwan service
The command diagnose sys sdwan service lists all configured SD-WAN services (rules) and provides details such as rule IDs, strategies, and member selection logic. This command helps administrators verify whether rules are configured correctly and which members are eligible for traffic forwarding. When troubleshooting routing decisions, this output helps confirm that the rule exists, the correct strategy is configured, and the appropriate members are included. It is particularly useful when diagnosing cases where traffic unexpectedly follows the implicit rule rather than the intended SD-WAN policy.
Demand Score: 84
Exam Relevance Score: 89
What is the purpose of the update static route option in an SD-WAN Performance SLA?
It removes the associated static route when the SLA fails.
The update static route option dynamically modifies the routing table based on the status of a Performance SLA. When the SLA fails, the associated static route is withdrawn from the routing table. This prevents traffic from being forwarded through that link entirely. Without this option, the route remains in the routing table, but SD-WAN rules simply avoid using that member if it fails the SLA. Engineers must use this option carefully because removing routes can affect routing convergence and troubleshooting visibility. In many designs, administrators rely on SD-WAN rule logic rather than altering the routing table directly.
Demand Score: 78
Exam Relevance Score: 88