Description | This article describes how to filter VPN logs on the FortiGate (in both the GUI and the CLI) to show/hide ADVPN Shortcut tunnels (versus regular IPsec tunnels and/or the parent ADVPN tunnels). |
Scope | FortiGate v7.2 and above. |
Solution |
In the FortiGate GUI, the ADVPN Shortcut field can be used to filter VPN event logs (Log & Report -> System Events -> VPN Events) to include/exclude ADVPN Shortcut tunnels (aka dynamic spoke-to-spoke tunnels). This can be done in two ways:
In the CLI, the advpnsc log field can be used to filter for logs that are/not ADVPN shortcuts. For example:
execute log filter category event execute log filter field advpnsc <0 or 1> execute log display
Note that this field may also be used when filtering FortiGate logs on FortiAnalyzer.
For more information on filtering/displaying logs in the FortiGate CLI, refer to the following KB article: Technical Tip: Displaying logs via FortiGate's CLI
Adding the ADVPN Shortcut column to the GUI
The ADVPN Shortcut column is hidden by default, and it can be useful for troubleshooting ADVPN issues on Spoke FortiGates. In particular, it can be useful for identifying which tunnels are shortcuts to other spokes vs. which tunnels go to the ADVPN Hub(s), especially when spokes have multiple redundant links and/or a lot of spoke-to-spoke communication. To add the column to the GUI:
Important Note: On the Hub side, the ADVPN Shortcut column will always display '0' because shortcut tunnels are only ever established between ADVPN Spokes. |
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.