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

27
NOTE:
The configuration file must have the .cfg extension.
During the execution of the save [ safely
] command, the startup configuration file to be used at the next system
startup may be lost if the device reboots or the power supply fails. In this case, the device will boot with the null
configuration, and after the device reboots, you need to re-specify a startup configuration file for the next system
startup (see “Specifying a startup configuration file for the next system startup”).
Setting configuration rollback
Configuration rollback
Configuration rollback allows you to revert to a previous configuration state based on a specified
configuration file. The specified configuration file must be a valid .cfg file generated by using either the
backup function or the save command. If the configuration file is generated by another device, the file
must comply with the format of the configuration file on the current device. HP recommends that you use
the configuration file generated by using the backup function. You can apply configuration rollback in
these situations:
Running configuration error. Rolling back the running configuration to a correct one is needed.
The application environment has changed and the device has to run in a configuration state based
on a previous configuration file without being rebooted.
Before setting configuration rollback, perform the following steps:
1. Specify the filename prefix and path for saving the running configuration.
2. Save the current running configuration with the specified filename (filename prefix + serial number)
to the specified path. You can save the running configuration automatically or manually.
When you execute 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
Complete these tasks to configure the configuration rollback:
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