Fortigate Command

Login

ssh [email protected]    <- Fortigate Default user is admin

Check command

Configuration

Check configuration

# show
# show |grep xxxx
# show full-configuration
#show full-configuration | grep XXXX
#show full-configuration | grep -f XXXX ← display with tree view

Network

Check Routing

# get router info routing-table detail
# show router static
# config router static
(static) # show
(static) # end
Check Firewall Policy

# show firewall policy
# show firewall policy XXXX
# config firewall policy
(policy) # show

Hardware

Check Hardware Information # get hardware status
check Version, BIOS, Firmware, etc # get system status
check version # get system status
Display CPU / memory / line usage # get system performance status
Display of NTP server # get system ntp
Display the current time and the time of synchronization with the NTP server # execute time
check interfaces status , Up or Down # get system interface physical
check interfaces # config system interface(interface) # show(interface) # end
Display of ARP table # get system arp

HA

Check HA Status # get system ha status
Check HA Configuration # get system ha# show system ha

NTP

Check NTP

# execute time
# get system ntp
# diagnose sys ntp status