Fortigate

From roonics
Jump to navigation Jump to search

Fortigate

Command Cheet sheet

geteditedit 0set/unsetendabortdelete
Main command structure
showDisplay changes to the default configuration
List the configuration of the current object or table
Create or edit a table in the current object.
will use the next ID available in a sequence number
Set a filed / Reset a field to the default value
Save the current changes
Exit commands without saving the fields
Remove a table from the current object

CLI Commands

Force failover

Run this command on the primary node to reset the uptime which should force a HA failover:

diagnose sys ha reset-uptime

HA Checksum

Factory reset

This will wipe the unit and restore it to factory defaults, ensure you have a backup before continuing.

execute factoryreset