123
You can delete the main, the backup, 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 sets the specified file attribute to NULL instead of deleting the file.
If no configuration file attribute is specified, the
reset saved-configuration
command deletes the main
startup configuration file.
Examples
# Delete the backup next-startup configuration file.
<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.
Slot 2:
Erase next configuration file successfully
Related commands
•
display saved-configuration
•
save
restore startup-configuration
Use
restore startup-configuration
to download a configuration file from a TFTP server and specify it as
the next-startup configuration file.
Syntax
restore startup-configuration from
src-addr src-filename
Views
User view
Default command level
3: Manage level
Parameters
src-addr:
Specifies a TFTP server's IPv4 address or name. The name can comprise 1 to 20 characters.
src-filename
: Specifies the file name of the configuration file to be downloaded.
Usage guidelines
Before restoring the configuration file for the next startup, make sure the following requirements are met:
•
The server is reachable.
•
The server is enabled with TFTP service.
•
You have read and write permissions to the server.
This command restores only the main next-startup configuration file.