F3215-HP Load Balancing Module System Management Command Reference-6PW101
129
Related commands
mkdir
archive configuration max
Use archive configuration max to set the maximum number of configuration archives.
Use undo archive configuration max to restore the default.
Syntax
archive configuration max file-number
undo archive configuration max
Default
A maximum of five configuration archives can be saved.
Views
System view
Default command level
3: Manage level
Parameters
file-number: Sets the maximum number of configuration archives that can be saved. The value range is
1 to 10. Change the setting depending on the available storage space.
Usage guidelines
Before you can set a limit on configuration archives, use the archive configuration location command to
specify a configuration archive directory and archive file name prefix.
After the maximum number of configuration archives is reached, the system deletes the oldest archive for
the new archive.
Changing the limit setting to a lower value does not cause immediate deletion of exceeding archives.
Instead, the configuration archive function deletes the oldest n files when a new archive is manually or
automatically saved, where n = current archive count – new archive limit + 1. Suppose seven
configuration archives have been saved before the archive limit is set to 4. 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.