Important FortiGate CLI commands (HA and Sessions)

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

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s