R3721-F3210-F3171-HP High-End Firewalls System Management and Maintenance Configuration Guide-6PW101

49
Ste
p
Command
Remarks
3. Set the maximum number of
configuration files that can be
saved.
archive configuration max
file-number
Optional.
The default number is 5.
NOTE:
If the undo archive configuration location command is executed, the running configuration cannot be
saved either manually or automatically, and the configuration is restored to the default by executing the
archive configuration interval and archive configuration max commands, meanwhile, the saved
configuration files are cleared.
The value of the
file-number
ar
g
ument is determined by memory space. You are recommended to set 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, and use the
display archive configuration command to view the filenames and save time of the saved configuration
files. This enables you to easily roll back the running configuration to a previous configuration state.
Configure an automatic save interval based on the storage media’s performance and the frequency of
configuration modification in the following situations:
If the configuration of the device does not change frequently, manually save the running
configuration as needed
If the configuration of the device changes frequently, set the interval for automatically saving the
running configuration to a proper value
To enable automatic saving of the running configuration:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enable the automatic saving
of the running configuration,
and set the interval.
archive configuration interval
minutes
Optional.
Disabled by default.
NOTE:
The path and filename prefix for saving configuration files must be specified before you configure the
automatic saving period.
Manually saving the running configuration
Automatic saving of the running configuration occupies system resources, and frequent saving can
greatly affect system performance. Therefore, if the system configuration does not change frequently,
disable the automatic saving of the running configuration and save it manually.
In addition, automatic saving of the running configuration is performed periodically, while manual
saving can immediately save the running configuration. Before performing complicated configuration,
you can manually save the running configuration so that the device can revert to the previous state if and
when the configuration fails.
To manually save the running configuration: