11/26/2020 Fortigate firewall Commands – cheatsheet
WRITTEN BY MAX0X16 OCTOBER 20124 JULY 2017
Fortigate firewall Commands – cheatsheet
Here you can some basic troubleshooting commands working on Fortigate firewall.
SHOW COMMANDS:
show: Show global or vdom config
show system interface: Equivalent to show run interface
diagnose hardware deviceinfo nic: Equivalent to show interface
get system status: show version information
get system arp | diagnose ip arp list : Shows the arp table of connected hosts
get router info routing-table all : display routing table
sh firewall policy <id>: show firewall rule numer “ID”
sh router policy: Show Policy Routing rules
DIAGNOSE COMMANDS:
diagnose system session list: Show the excisting translations
diagnose system session clear: Clears all xlate/translations
diagnose system top : Show System Processes running with PIDs
diagnose system kill 9 <id> : Kill the specific PID
diag test auth ldap <server_name> <username> <password> : Ldap test query from the Forti to the
AD
get system startup error log: show command error from boot
https://max0x.wordpress.com/2012/10/16/fortigate-firewall-commands-cheatsheet/ 1/2