Use this command to partially reset the device so that all settings are returned to factory default except for the VDOM, interface, and static route settings.
FortiADC-VM # execute factoryreset2
This operation will change all settings to factory defaults, except system global/VDOMs/system interface/router static!
Do you want to continue? (y/n)y
System is resetting to factory defaults...