7-3
z The configuration file must be with extension .cfg.
z The execution of the save [ safely ] and save [ safely ] main commands has the same effect: The
system saves the current configuration and specifies the configuration file as the main startup
configuration file to be used at the next system startup.
z During the execution of the save [ safely ] [ backup | main ] 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 boots 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 Configuration
File to Be Used at the Next 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 (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:
z Running configuration error. Rolling back the running configuration to a correct one is needed.
z 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 current 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:
z Preserves all commands present in both the replacement configuration file and the current running
configuration.
z Removes commands from the current running configuration that are not present in the replacement
configuration file.
z Applies the commands from the replacement configuration file that are not present in the current
running configuration.
z 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: