get system status | Displays system status, including hostname, version, and uptime. | Safe |
get system performance status | Shows CPU and memory usage, helpful for understanding the system’s current load. | Safe |
get system fortiguard | Displays FortiGuard services status and connectivity. | Safe |
diag hardware sysinfo memory | Shows memory usage information. | Safe |
diag hardware sysinfo cpu | Displays CPU usage details. | Safe |
get system time | Displays the current system time and timezone settings. | Safe |
set hostname <hostname> | (Under global config) Changes the system’s hostname. | Dangerous |
get hardware status | Shows hardware status, including model number and serial number. | Safe |
get system admin | Lists all administrative users and their access levels. | Safe |
diag debug crashlog read | Displays the crash log if the system has experienced any crashes. | Safe |
exec backup full-config <filename> | Backs up the current full configuration to a file. | Safe |
get license status | Checks the status of the Fortinet licenses. | Safe |
get system dns | Displays the configured DNS servers. | Safe |
exec restore full-config <filename> | Restores the full configuration from a backup file. | Dangerous |
config system global | Enters global configuration mode, where you can set the hostname and other global system parameters. | Dangerous |
get system storage | Check disk space utilization. | Safe |
diag sys top | Identify high CPU processes. | Safe |
diag debug crashlog read | Check for recent system crash logs. | Safe |
diag sys kill 11 | Use carefully to restart a process if absolutely necessary. | Dangerous |