Restoring the factory-default settings and states
![]() | CAUTION: This feature is disruptive. Use this feature only when you cannot troubleshoot the device by using other methods, or you want to use the device in a different scenario. | |
This feature performs the following tasks:
Deletes all configuration files (.cfg files) in the root directories of the storage media.
Deletes all log files (.log files in the folder /logfile).
Clears all log information (in the log buffer), trap information, and debugging information.
Restores the parameters for the Boot ROM options to the factory-default settings.
Deletes all files on an installed hot-swappable storage medium, such as a USB disk.
Before this operation, remove all hot-swappable storage media from the device.
After this operation, only the items required for device operation are retained, including the .bin files, the MAC addresses, and the electronic label information.
To restore the factory-default settings and states, use the following command in user view:
Task | Command | Remarks |
---|---|---|
Restore the factory-default settings and states. | restore factory-default | This command takes effect after a device reboot. |