execute : execute factoryreset
 
execute factoryreset
Use this command to reset the system to its default settings for the currently installed firmware version. If you have not upgraded or downgraded the firmware, this restores factory default settings.
 
Back up your configuration first. This command resets all changes that you have made to the configuration file and reverts the system to the default values for the firmware version. Depending on the firmware version, this could include factory default settings for the IP addresses of network interfaces.
Syntax
execute factoryreset
Example
FortiADC-VM # execute factoryreset
This operation will change all settings to factory defaults!
Do you want to continue? (y/n)y
 
System is resetting to factory defaults...