reset saved-configuration

Use reset saved-configuration to delete a next-startup configuration file.

Syntax

reset saved-configuration [ backup | main ]

Views

User view

Predefined user roles

network-admin

mdc-admin

Parameters

backup: Deletes the backup next-startup configuration file.

main: Deletes the main next-startup configuration file.

Usage guidelines


[CAUTION: ]

CAUTION:

This command deletes the specified next-startup configuration file from each MPU.


You can delete the main file, the backup file, or both.

To delete a file that is set as both main and backup next-startup configuration files, you must execute both the reset saved-configuration backup command and the reset saved-configuration main command. Using only one of the commands removes the specified file attribute instead of deleting the file.

For example, if the reset saved-configuration backup command is executed, the backup next-startup configuration file setting is set to NULL, but the file is still used as the main file. To delete the file, you must also execute the reset saved-configuration main command.

If you do not specify a configuration file attribute, the reset saved-configuration command deletes the main next-startup configuration file.

Examples

# (In standalone mode.) Delete the main next-startup configuration file from an HPE 7910 or HPE 7910 TAA switch's active and standby MPUs.

<Sysname> reset saved-configuration
The saved configuration file will be erased. Are you sure? [Y/N]:y
Configuration file in flash is being cleared.
Please wait ...
..
MainBoard:
 Configuration file is cleared.
Slot 11:
 Erase next configuration file successfully

# (In IRF mode.) Delete the backup next-startup configuration file from each MPU in an HPE 7910 or HPE 7910 TAA IRF fabric.

<Sysname> reset saved-configuration backup
The saved configuration file will be erased. Are you sure? [Y/N]:y
Configuration file in flash is being cleared.
Please wait ...
..
MainBoard:
 Configuration file is cleared.
Chassis 2 Slot 11:
 Erase next configuration file successfully

Related commands

display saved-configuration