HP VPN Firewall Appliances System Management and Maintenance Command Reference
64
Configuration archives take the file name format prefix_serial number.cfg, for example,
20080620archive_1.cfg and 20080620archive_2.cfg. The serial number is automatically assigned from
1 to 1000, increasing by 1. After the serial number reaches 1000, it restarts from 1.
After you change the file directory or file name prefix, or reboot the device, the old configuration archives
are regarded as common configuration files, the configuration archive counter resets, and the display
archive configuration command does not display them. The serial number for new configuration archives
starts from 1.
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 and archive file name prefix as cfa0:/archive/ and
my_archive:
1. Create the directory.
<Sysname> mkdir archive
.
%Created dir cfa0:/archive.
2. Specify the directory as the configuration archive directory, and configure an archive file name
prefix.
<Sysname> system-view
[Sysname] archive configuration location cfa0:/archive filename-prefix my_archive
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.