Commands for checking information and details on a Fortinet firewall
Home > Enterprise security devices or applications > Fortigate firewall > Creating Commands for checking information and details on a Fortinet firewall
FortiGate Diagnostic and System Commands
Get System Performance Status
Command:
get system performance status
Description: Displays system performance statistics, including CPU usage, memory usage, and process details.
Get System HA Status
Command:
get system ha status
Description: Shows the status of High Availability (HA) in a FortiGate cluster, including primary and secondary device details.
Diagnose System Session Full-Stat
Command:
diagnose sys session full-stat
Description: Provides a detailed session table status, including active sessions, session states, and firewall error statistics.
Diagnose Hardware Device Info for Port15
Command:
diagnose hardware deviceinfo nic port15
Description: Retrieves detailed information about the network interface card (NIC) for port15, including link status, speed, and packet statistics.
Diagnose Hardware Device Info for Port16
Command:
diagnose hardware deviceinfo nic port16
Description: Retrieves detailed information about the NIC for port16, including link status, speed, and packet statistics.
Get System Status
Command:
get system status
Description: Displays the system status, including firmware version, security updates, hostname, serial number, and operational mode.
Get System Performance Status
Command:
get system performance status
Description: Displays CPU, memory, and network usage statistics for system performance monitoring.
Diagnose System Process Usage
Command:
diag sys top-all
Description: Shows real-time CPU and memory usage of running processes for system diagnostics.
Get System Performance Status
Command:
get system performance status
Description: Displays CPU, memory, and network usage statistics for system performance monitoring.
Get System HA Status
Command:
get system ha status
Description: Shows the status of High Availability (HA) in a FortiGate cluster, including primary and secondary device details.
Diagnose System Session Full-Stat
Command:
diagnose sys session full-stat
Description: Provides a detailed session table status, including active sessions, session states, and firewall error statistics.
Diagnose Hardware Device Info for Port15
Command:
diagnose hardware deviceinfo nic port15
Description: Retrieves detailed information about the network interface card (NIC) for port15, including link status, speed, and packet statistics.
Diagnose Hardware Device Info for Port16
Command:
diagnose hardware deviceinfo nic port16
Description: Retrieves detailed information about the NIC for port16, including link status, speed, and packet statistics.
Get System Status
Command:
get system status
Description: Displays the system status, including firmware version, security updates, hostname, serial number, and operational mode.
Diagnose System Process Usage (Corrected Command)
Command:
diag sys top-all
Description: Shows real-time CPU and memory usage of running processes for system diagnostics. (Note: The document contained `iag sys top-all`, which appears to be a typo. The correct command is `diag sys top-all`.)
Get System Performance Status
Command:
get system performance status
Description: Displays CPU, memory, and network usage statistics for system performance monitoring.
Get System HA Status
Command:
get system ha status
Description: Shows the status of High Availability (HA) in a FortiGate cluster, including primary and secondary device details.
Diagnose System Session Full-Stat
Command:
diagnose sys session full-stat
Description: Provides a detailed session table status, including active sessions, session states, and firewall error statistics.
Diagnose Hardware Device Info for Port15
Command:
diagnose hardware deviceinfo nic port15
Description: Retrieves detailed information about the network interface card (NIC) for port15, including link status, speed, and packet statistics.
Diagnose Hardware Device Info for Port16
Command:
diagnose hardware deviceinfo nic port16
Description: Retrieves detailed information about the NIC for port16, including link status, speed, and packet statistics.
Get System Status
Command:
get system status
Description: Displays the system status, including firmware version, security updates, hostname, serial number, and operational mode.
Get System Performance Status
Command:
get system performance status
Description: Displays CPU, memory, and network usage statistics for system performance monitoring.
Get System HA Status
Command:
get system ha status
Description: Shows the status of High Availability (HA) in a FortiGate cluster, including primary and secondary device details.
Diagnose System Session Full-Stat
Command:
diagnose sys session full-stat
Description: Provides a detailed session table status, including active sessions, session states, and firewall error statistics.
Diagnose Hardware Device Info for Port15
Command:
diagnose hardware deviceinfo nic port15
Description: Retrieves detailed information about the network interface card (NIC) for port15, including link status, speed, and packet statistics.
Diagnose Hardware Device Info for Port16
Command:
diagnose hardware deviceinfo nic port16
Description: Retrieves detailed information about the NIC for port16, including link status, speed, and packet statistics.
Get System Status
Command:
get system status
Description: Displays the system status, including firmware version, security updates, hostname, serial number, and operational mode.
Get System Performance Status
Command:
get system performance status
Description: Displays CPU, memory, and network usage statistics for system performance monitoring.
Get System HA Status
Command:
get system ha status
Description: Shows the status of High Availability (HA) in a FortiGate cluster, including primary and secondary device details.
Diagnose System Session Full-Stat
Command:
diagnose sys session full-stat
Description: Provides a detailed session table status, including active sessions, session states, and firewall error statistics.
Diagnose Hardware Device Info for Port15
Command:
diagnose hardware deviceinfo nic port15
Description: Retrieves detailed information about the network interface card (NIC) for port15, including link status, speed, and packet statistics.
Diagnose Hardware Device Info for Port16
Command:
diagnose hardware deviceinfo nic port16
Description: Retrieves detailed information about the NIC for port16, including link status, speed, and packet statistics.
Get System Status
Command:
get system status
Description: Displays the system status, including firmware version, security updates, hostname, serial number, and operational mode
Get System Performance Status
Command:
get system performance status
Description: Displays CPU, memory, and network usage statistics for system performance monitoring.
Get System HA Status
Command:
get system ha status
Description: Shows the status of High Availability (HA) in a FortiGate cluster, including primary and secondary device details.
Diagnose System Session Full-Stat
Command:
diagnose sys session full-stat
Description: Provides a detailed session table status, including active sessions, session states, and firewall error statistics.
Diagnose Hardware Device Info for Port15
Command:
diagnose hardware deviceinfo nic port15
Description: Retrieves detailed information about the network interface card (NIC) for port15, including link status, speed, and packet statistics.
Diagnose Hardware Device Info for Port16
Command:
diagnose hardware deviceinfo nic port16
Description: Retrieves detailed information about the NIC for port16, including link status, speed, and packet statistics.
Get System Status
Command:
get system status
Description: Displays the system status, including firmware version, security updates, hostname, serial number, and operational mode.
get system ha status
- Command:
<code>get system ha status</code>
- Description: Displays the high availability (HA) status of the FortiGate cluster.
get system status
- Command:
<code>get system status</code>
- Description: Retrieves system information, including firmware version, uptime, and mode.
diagnose sys session full-stat
- Command:
<code>diagnose sys session full-stat</code>
- Description: Provides detailed session statistics, including active session count and TCP states.
diagnose hardware deviceinfo nic 15
- Command:
<code>diagnose hardware deviceinfo nic 15</code>
- Description: Attempts to display information about network interface card (NIC) 15 (failed in this case).
diagnose hardware deviceinfo nic 16
- Command:
<code>diagnose hardware deviceinfo nic 16</code>
- Description: Attempts to display information about NIC 16 (failed in this case).
diagnose hardware deviceinfo nic 12
- Command:
<code>diagnose hardware deviceinfo nic 12</code>
- Description: Attempts to display information about NIC 12 (failed in this case).
diagnose hardware deviceinfo nic
- Command:
<code>diagnose hardware deviceinfo nic</code>
- Description: Requests NIC information but requires specific arguments.
diagnose hardware deviceinfo
- Command:
<code>diagnose hardware deviceinfo</code>
- Description: Lists available hardware diagnostic commands.
Home > Enterprise security devices or applications > Fortigate firewall > Creating Commands for checking information and details on a Fortinet firewall