Skip to main content
pdelapena
Staff
Staff
Oct 29, 2024 12:34 PM UTC

Technical Tip: Verifying FortiGate Upgrade History using alertconsole command

  • Apr 16, 2026 12:04 PM UTC
  • 0 replies
  • 5784 views
  • Translate All
Description This article describes using the alertconsole command in CLI to determine the historical date/time when a FortiGate was upgraded.
Scope FortiGate.
Solution

It is important to verify the exact date/time when the firewall was upgraded, especially if there were correlating issues that happened around the time the FortiGate was upgraded.

 

To verify this information, use the following command in the FortiGate CLI:

 

diagnose alertconsole list

 

With this information, despite the command output not providing the specific firmwares the firewall has gone through, details will at least be provided if the upgrade path was followed by counting how many times the firewall was upgraded.

 

Example:

The FortiGate-KVM is planned to be upgraded from FortiOS v7.0.11 to v7.2.8. Upgrade path states that the upgrade will be a two-step process, going to the target version (v7.0.11 -> v7.2.6 -> v7.2.8).

 

diagnose alertconsole list
There are 5 alert console messages:
2024-09-15 01:10:12 System start
2024-09-15 01:09:10 Firmware upgraded by admin from console
2024-09-15 00:32:07 System start
2024-09-15 00:31:06 Firmware upgraded by admin from GUI(192.168.1.15)
2024-09-15 00:24:29 System start

 

In the example output above, the CLI output of diagnose alertconsole list shows that the first upgrade (4th alertconsole message) was done via GUI, while a second upgrade (2nd alert console message) was done via CLI with TFTP. 

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