Setting configuration rollback, Configuration rollback, Configuration task list – H3C Technologies H3C SecPath F1000-E User Manual
Page 179
![background image](https://www.manualsdir.com/files/813025/content/doc179.png)
4
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 (manually or automatically) or the save command, or, if a configuration file is
generated by another device, the configuration file must comply with the format of the configuration file
on the current device. You are recommended to use the configuration file that is generated by using the
backup function (manually or automatically). Configuration rollback can be applied 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:
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 current running
configuration and the specified replacement configuration file. The configuration replace file
command:
•
Preserves all commands present in both the replacement configuration file and the current running
configuration.
•
Removes commands from the current 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 current
running configuration.
•
Applies the commands from the replacement configuration file that have different configurations in
the current 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
Manually Saving the Current Running Configuration
Required
Use either approach
Setting Configuration Rollback
Required