Description | This article describes how to find the SD-WAN rule and member used in a particular session on FortiGate. |
Scope | FortiGate. |
Solution |
To find the SD-WAN rule that is used in a particular session, it is recommended to apply a filter to match the session in the session list.
In this example, the filter used is by Source IP 192.168.7.2. Enter the following commands to find the matching session:
The output will display all of the sessions with source IP 192.168.7.2. In the current example, the following output appears:
session info: proto=6 proto_state=01 duration=61 expire=3538 timeout=3600 flags=00000000 socktype=0 sockport=0 av_idx=0 use=3
The useful information in the output for the SD-WAN rule and the member is sdwan_mbr_seq=4 sdwan_service_id=3.
This means that SD-WAN member #4 and SD-WAN service ID #3 were used for traffic.
config system sdwan config service
To find the member, run the following command:
config sys sdwan
Another useful command to check which SD-WAN rule will be matched for specific traffic is as follows:
diagnose ip proute match <destination ip> <source ip> <incoming interface> <proto> <destination port number>
For example:
diagnose ip proute match 8.8.8.8 192.168.1.111 internal1 6 443
Checking the SD-WAN Rules hierarchy in the GUI will reveal which rule was matched [ID number 2]:
|
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.