R0106-HP MSR Router Series Fundamentals Command Reference(V7)

152
After you change the file directory or file name prefix, or reboot the device, all the following events occur:
The old configuration archives are regarded as common configuration files.
The configuration archive counter is reset.
The display archive configuration command no longer displays the old configuration archives.
The serial number for new configuration archives starts at 1.
The undo archive configuration location command removes the configuration archive directory and file
name prefix settings. The command also does the following:
Disables the configuration archive function (both manual and automatic methods).
Restores the default settings of the archive configuration interval and archive configuration max
commands.
Clears all configuration archives.
Examples
# Configure the configuration archive directory as flash:/archive/ and the archive file name prefix as
my_archive.
<Sysname> mkdir flash:/archive
Creating directory flash:/archive... Done.
<Sysname> system-view
[Sysname] archive configuration location flash:/archive filename-prefix my_archive
Related commands
archive configuration
archive configuration location
archive configuration max
display archive configuration
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
Up to five configuration archives can be saved.
Views
System view
Predefined user roles
network-admin
Parameters
file-number: Sets the maximum number of configuration archives that can be saved. The value range is
1 to 10. Adjust the setting depending on the amount of storage space available.