HP MSR2000/3000/4000 Router Series Fundamentals Command Reference

151
The undo archive configuration location command not only removes the configuration archive directory
and file name prefix settings but also disables the configuration archive function (both manual and
automatic methods), restores the default settings of the archive configuration interval and archive
configuration max commands, and clears all configuration archives.
Examples
# Configure the configuration archive directory as cfa0:/archive/ and the archive file name prefix as
my_archive.
<Sysname> mkdir cfa0:/archive
Creating directory cfa0:/archive... Done.
<Sysname> system-view
[Sysname] archive configuration location cfa0:/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.
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 excess 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.