[FortiGate] How to initialize the configuration to factory default

Firewall (UTM)

Work environment

  • FortiGate 60E
    • version 7.0.1

Initialize the configuration to factory default

This is done using the CLI with a console connection.

Execute the execute factoryreset command.

After executing the command, the system will restart, so wait until the system boots.

FTG60E # execute factoryreset
This operation will reset the system to factory default!
Do you want to continue? (y/n)y

System is resetting to factory default...

The system is going down NOW !!

FTG60E #
Please stand by while rebooting the system.
Restarting system.

FortiGate-60E (18:03-01.27.2017)
Serial number: FGT60Exxxxxxxxx
CPU: 1000MHz
Total RAM: 2 GB
Initializing boot device...
Initializing MAC... nplite#0
Please wait for OS to boot, or press any key to display configuration menu......

Booting OS...
Reading boot image... 2887081 bytes.
Initializing firewall...

System is starting...

FortiGate-60E login:

Delete local log

The execute factoryreset command does not delete logs stored locally in FortiGate.

To delete the log, execute the execute log delete-all command.

FortiGate-60E # execute log delete-all
This will delete all local logs and recreate report database.
Do you want to continue? (y/n)y


Copied title and URL