factoryreset2
Reset the FortiGate configuration to factory default settings except VDOM, interface, and static route settings.
Syntax
execute factoryreset2 Reset to factory default except system.global.vdom-admin/VDOMs/system.interface/system.settings/router.static/router.static6.
If keepvmlicense
is specified (VM models only), the VM license is retained after reset.