FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
pdelapena
Staff
Staff
Article Id 353720
Description This article describes using the alertconsole command in CLI to determine the historic date/time when a FortiGate was upgraded.
Scope FortiGate.
Solution

It is important to verify the exact date/time when was the firewall 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 have went 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 (7.0.11 -> 7.2.6 -> 7.2.8).

 

diag 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 diag 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. 

Contributors