Friday, June 24, 2022

Fortigate Command Cheat Sheet


ssh admin@192.168.0.10  

Fortigate Default user is admin

Check Configuration

# show

# show |grep xxxx

# show full-configuration

#show full-configuration | grep XYXY

#show full-configuration | grep -f X 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

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

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

Clouds & AI Technologies