FortiGate Command Reference

ARP
1 diagnose ip arp list
2 get system arp
Backup / Restore Config
1 execute restore config tftp {{configName}} {{serverIP}}
2 execute backup full-config tftp {{configName}} {{serverIP}}
HA Cluster
1 diagnose sys ha status
2 execute ha manage
3 execute ha manage {{id}}
Interafce Information
1 get system interface physical
2 get hardware nic {{interface}}
3 fnsysctl ifconfig {{interface}}
NTP
1 diagnose sys ntp status
Ping / Traceroute
1 execute ping-options source {{sourceInt}}
2 execute ping {{ip}}
3 execute traceroute {{ip}}
Route
1 get router info routing-table all
2 get router info routing-table detail {{ip}}
3 get router info kernel
4 get router {{protocol}}
5 diagnose firewall proute list
6 diagnose ip rtcache list
show Configuration
1 show
2 show full-configuration
3 show | grep -f {{search}}
Show Logs
1 diagnose log test
2 diagnose debug crashlog read
3 execute log display
System Information
1 get system status
2 get system performance status
3 get system performance top
4 diagnose sys top
5 diagnose sys top-summary
6 diagnose autoupdate versions
VPN
1 get vpn ike gateway {{name}}
2 get vpn ipsec tunnel name {{name}}
3 get vpn ipsec tunnel details
4 diagnose vpn tunnel list
5 diagnose vpn ipsec status
6 diagnose vpn tunnel reset {{name}}
7 diagnose vpn tunnel dumpsa
8 diagnose vpn tunnel stat