reset saved-configuration

Function

The reset saved-configuration command deletes the contents of the configuration files saved in storage devices.

Format

reset saved-configuration

Parameters

None

Views

User view

Default Level

3: Management level

Usage Guidelines

This command should be executed with caution. Use it under the guidance of technical personnel.

It is generally used in the following cases:

  • After the device software is updated, the configuration file in the storage device may not match the new version software.

  • If a used device is deployed in a new application environment, the original configuration file is unable to meet the requirements of the new environment. You need to reconfigure it.

When a user is saving a configuration file, running the reset saved-configuration command will not delete the existing configuration file.

If this command is run, the system checks the configuration file to be loaded at the next startup and the existing configuration file to be deleted:

  • If they are the same, the device will delete both and load the default configuration file at the next startup.
  • If they are different, the device will delete the configuration file used for the next startup.
  • If the configuration file to be deleted does not exist, the device displays a message indicating that the configuration file does not exist.

If the startup saved-configuration command is not used to specify configuration files that contain correct configurations or the save command is not used to save configuration files, default parameters are used for initialization when the device restarts next time.

Example

# Delete the configuration files saved in the storage device.

<sysname> reset saved-configuration
The action will delete the saved configuration in the device.
The configuration will be erased to reconfigure. Continue? [Y/N]: y
Related Topics
save
display current-configuration
display saved-configuration

Copyright © Huawei Technologies Co., Ltd.