Not many people realise the FortiGates allow to you factory reset the device while maintaining the interface IP and static route settings. It's useful when you want to wipe away the entire config but still have management access to the device when it reboots.
This is done via the CLI using the follow command: execute factoryreset2.
I've included a screenshot of the command and confirmation prompt below.
This is done via the CLI using the follow command: execute factoryreset2.
I've included a screenshot of the command and confirmation prompt below.