Fortinet black logo

CLI Reference

factoryreset2

factoryreset2

Use this command to reset the FortiMail unit to its default settings for the currently installed firmware version, while retaining all network settings. If you have not upgraded or downgraded the firmware, this restores factory default settings.

This command also erases all the log files and mail data on the hard drive.

Unlike factoryreset which resets all changes that you have made to the FortiMail unit’s configuration file including its network settings, it is still recommended to back up your configuration and mail data before entering this command.

For information on creating a backup, see the FortiMail Administration Guide.

Syntax

execute factoryreset2

Example

The following example resets the FortiMail unit's configuration and disk partition to its factory default settings, while keeping the network settings.

execute factoryreset2

factoryreset2

Use this command to reset the FortiMail unit to its default settings for the currently installed firmware version, while retaining all network settings. If you have not upgraded or downgraded the firmware, this restores factory default settings.

This command also erases all the log files and mail data on the hard drive.

Unlike factoryreset which resets all changes that you have made to the FortiMail unit’s configuration file including its network settings, it is still recommended to back up your configuration and mail data before entering this command.

For information on creating a backup, see the FortiMail Administration Guide.

Syntax

execute factoryreset2

Example

The following example resets the FortiMail unit's configuration and disk partition to its factory default settings, while keeping the network settings.

execute factoryreset2