R3166-R3206-HP High-End Firewalls System Management and Maintenance Configuration Guide-6PW101

28
Task Remarks
Setting configuration rollback Required
Configuring parameters for saving the current running
configuration
Before you save the running configuration either manually or automatically, you must configure the file
path and filename prefix.
After that, the system saves the current running configuration with the specified filename (filename
prefix_serial number.cfg) to the specified path. The filename of a saved configuration file is like
20080620archive_1.cfg, or 20080620archive_2.cfg. The saved configuration files are numbered
automatically, from 1 to 1,000 (with increment of 1). If the serial number reaches 1,000, it restarts from
1.
If you change the path or filename prefix, or reboot the device, the saved file serial number restarts
from 1, and the system recounts the saved configuration files.
If you change the path of the saved configuration files, the files in the original path become
common configuration files, and are not processed as saved configuration files.
The number of saved configuration files has an upper limit. After the maximum number of files is saved,
the system deletes the oldest files when the next configuration file is saved.
Follow these steps to configure parameters for saving the current running configuration:
To do… Use the command…
Remarks
Enter system view system-view
Configure the path and filename
prefix of a saved configuration file
archive configuration location
directory filename-prefix
filename-prefix
Required
By default, the path and filename
of the saved configuration file are
not configured, and the system
does not save the configuration file
at a specified interval.
Set the maximum number of
configuration files that can be
saved
archive configuration max
file-number
Optional
The default number is 5.
NOTE:
If you execute the undo archive configuration location command, the running configuration cannot be
saved either manually or automatically. The configuration performed by executing the archive
configuration interval and archive configuration max commands is restored to the default, and the
saved configuration files are cleared.
The value of the file-number ar
g
ument is determined by the memory space. HP recommends you to se
t
a comparatively small value for the file-number argument if the available memory space is small.
Enabling automatic saving of the running configuration
You can configure the system to save the running configuration at a specified interval. Then, you can use
the display archive configuration command to view the filenames and save time of the saved