F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices System Management and Maintenance Configuration Guide-6PW100

53
386BConfiguring configuration archive parameters
Before archiving the running configuration, either manually or automatically, you must configure a file
directory and file name prefix for configuration archives.
Configuration archives are saved with 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.
After the maximum number of configuration archives is reached, the system deletes the oldest archive for
the new archive.
To configure configuration archive parameters:
Ste
p
Command
Remarks
1. Create the configuration
archive directory.
See "Managing the file system." N/A
2. Enter system view.
system-view N/A
3. Configure the directory
and file name prefix for
archiving the running
configuration.
archive configuration location
directory filename-prefix
filename-prefix
By default, no path or file name prefix is
set for configuration archives, and the
system does not regularly save
configuration.
IMPORTANT:
The undo form of this command disables
both manual and automatic
configuration archiving, restores the
default settings for the archive
configuration interval and archive
configuration max commands, and
deletes all saved configuration archives.
4. Set the maximum
number of configuration
archives.
archive configuration max
file-number
Optional.
The default number is 5.
Change the setting depending on the
available storage space.
387BEnabling automatic configuration archiving
To avoid decreasing system performance, follow these guidelines when you configure automatic
configuration archiving:
If the device configuration does not change frequently, manually archive the running configuration
as needed.
If a low-speed storage medium (such as a Flash) is used, archive the running configuration manually,
or configure automatic archiving with an interval longer than 1440 minutes (24 hours).
If a high-speed storage medium (such as a CF card) is used and the device configuration changes
frequently, set a shorter saving interval.
Make sure you have set an archive path and file name prefix before performing this task.