R3721-F3210-F3171-HP High-End Firewalls System Management and Maintenance Configuration Guide-6PW101
48
Before setting configuration rollback, perform the following steps:
1. Specify the filename prefix and path for saving the running configuration.
2. Save the running configuration with the specified filename (filename prefix + serial number) to the
specified path. The running configuration can be saved automatically or manually.
When you enter the configuration replace file command, the system compares the running configuration
and the specified replacement configuration file. The configuration replace file command performs the
following actions:
• Preserves all commands present in both the replacement configuration file and the running
configuration.
• Removes commands from the running configuration that are not present in the replacement
configuration file.
• Applies the commands from the replacement configuration file that are not present in the running
configuration.
• Applies the commands from the replacement configuration file that have different configurations in
the running configuration.
Configuration task list
Task Remarks
Configuring parameters for saving the current running configuration Required.
Enabling automatic saving of the running configuration
Required.
Use either approach.
Manually saving the running configuration
Setting configuration rollback Required.
Configuring parameters for saving the current running configuration
Before the running configuration is saved manually or automatically, you must configure the file path and
filename prefix. The system will save the 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 an 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, and are not displayed when you view 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.
To configure parameters for saving the running configuration:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Configure the path and
filename prefix for saving
configuration files.
archive configuration location
directory filename-prefix
filename-prefix
By default, the path and filename
for saving configuration files are
not configured, and the system
does not save the configuration
file at a specified interval.