DEFAULTCONFIG

Description

Reset the configuration with the default one. The current configuration is saved in the file "ConfigFiles.old"

Command

defaultconfig [options]
-f: Force
-r: Reboot after defaultconfig
-D: Only Restore the data partition
-p: Reset password
-u: Check usb token boot restoration
-d: Dump root partition after defaultconfig
-k: Keep autoupdate data (Pattern, Pvm, Clamav, Kaspersky, URLFiltering), default SSL proxy authority, default sslvpn full authority and ssh host keys
-l: Keep network configuration file
-n: Do not mark firewall as having a defaultconfig configuration
-c: No backup files (.old)
-L: Remove logs
-t: Reset TPM (TPM password is required)

Results

"Replacing current configuration with the default configuration": The default configuration has been restored, the firewall must be rebooted to activate the modifications. The admin password is not modified. "Previous defaultconfig found... remove it manually": enter the following command :"rm -R /Firewall/ConfigFiles.old" and restart the procedure.

Example

U2504C099999999999>defaultconfig -f -p -r
deleting previous backup...
replacing current configuration with the default
configuration...
restoring default password...
################################################
## Restore default SRP/SSH password for admin ##
################################################
Modify SRP/SSH password of user 'admin' successful
Shutdown NOW!
shutdown: [pid 990]
*** FINAL System shutdown message from admin@U2504C099999999999
***
System going down IMMEDIATELY
U2504C099999999999>System shutdown time has arrived