Skip to main content
Mohammed_Feroz
Staff
Staff
Feb 25, 2024 4:54 PM UTC

Technical Tip: How to identify the uptime of an IPsec tunnel

  • Apr 16, 2026 1:40 PM UTC
  • 0 replies
  • 19704 views
  • Translate All
Description This article describes how to identify IPsec tunnel uptime both in the GUI and CLI.
Scope FortiGate.
Solution

IPsec tunnel uptime, or the time when the Phase 1 connection was created, can be viewed with the following methods:

 

GUI:

 

ipsec1.png

 

Navigate to Dashboard -> Network -> IPsec widget -> Right-click on the available columns and add the 'created' field as shown in the above  screenshot.


From FortiOS version 7.6 onward , the 'created' column has been replaced with 'uptime'.

Screenshot 2025-12-03 111340.png
CLI:

 

The same information can be viewed in the command output as seen in the below screenshot:

 

ipsec2.png

 

diag vpn ike gateway list <----- For all tunnels.
diag vpn ike gateway list name "nameofthetunnel" <----- For a specific tunnel.

 

Below is an example to check the specific tunnel uptime and details:

 

image.png

Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024