Search Posts

FortiGate CLI

get

get router info routing-table all
get router info routing-table database
get router info routing-table ospf

get router info ospf neighbor

get system arp
get system arp | grep 192.168.1.10

get system source-ip status

get ipsec tunnel list
get vpn ipsec tunnel details

execute

execute router clear ospf process

execute ping 8.8.8.8

execute disk

FortiGate-600D # execute disk list
Disk HDD             ref:  16 111.8GiB    type: SSD [ATA INTEL SSDSC2BB12] dev: /dev/sdb
  partition ref:  17 110.0GiB, 109.5GiB free  mounted: Y  label: LOGUSEDX6297DC40 dev: /dev/sdb1 start: 2048

FortiGate-600D # execute disk scan 17
scan requested for:  device=/dev/sdb1 17/HDD status=enable media-status=enable
This action requires the unit to reboot.
Do you want to continue? (y/n)y

diagnose

diagnose vpn tunnel up <tunnel-name>
diagnose vpn tunnel list name <tunnel-name>
diagnose vpn ipsec tunnel details
diagnose vpn tunnel up <tunnel-name>

diagnose debug application dhcps -1

config system

config system dhcp server
config system dns
config system fortiguard
config system ntp