113
configuration archives have been saved before the archive limit is set to four. When saving a new
configuration archive, the system first deletes the oldest four (7 – 4 + 1) archives.
If you execute the
undo
archive configuration location
command, the default archive limit is restored.
Examples
# Set the maximum number of configuration archives to 10.
<Sysname> system-view
[Sysname] archive configuration max 10
Related commands
archive configuration location
backup startup-configuration
Use
backup startup-configuration
to back up the next-startup configuration file to a TFTP server.
Syntax
backup startup-configuration to
dest-addr
[
dest-filename
]
Views
User view
Default command level
2: System level
Parameters
dest-addr
: Specifies a TFTP server's IPv4 address or name, a sting of 1 to 20 characters.
dest-filename
: Specifies the target file name used for saving the file on the server. The file name must have
the extension
.cfg
. If you do not specify a target file name, the source file name is used.
Usage guidelines
Before performing this task, make sure the server is reachable, the server is enabled with TFTP service,
and you have read and write permissions.
This command backs up only the main next-startup configuration file.
This command is not supported in FIPS mode.
Examples
# Back up the next-startup configuration file to the TFTP server at 2.2.2.2, and set the target file name to
192-168-1-26.cfg
.
<Sysname> display startup
MainBoard:
Current startup saved-configuration file: flash:/config.cfg
Next main startup saved-configuration file: flash:/config.cfg
Next backup startup saved-configuration file: flash:/startup.cfg
<Sysname> backup startup-configuration to 2.2.2.2 192-168-1-26.cfg
Backup next startup-configuration file to 2.2.2.2, please wait…finished!
configuration replace file
Use
configuration replace file
to perform configuration rollback.