Important FortiGate CLI commands

FortiGate High Availability Cluster CLI commands:

Manage the specified FortiGate unit (X ist the unit number):

execute ha manage X

Set the current ForitGate Unit as master:

diag sys ha set-as-master enable

Get HA Status:

get system ha status


FortiGate Session commands:

Get all Sessions:

diag sys session list

Filter Sessions:

diagnose sys session filter

Clear Sessions (only filtered ones or all):

diagnose sys session clear

Clear Filter:

diag sys session filter clear

Leave a Reply