11-11Setting Configuration RollbackConfiguration rollback allows you to revert to a previous configuration state based on a specifiedconfiguration file. The specified configuration file must be a valid .cfg file, namely, it can be generatedby using either the backup function (manually or automatically) or the save command, and even thecompatible configuration file of another device. You are recommended to use the configuration file thatis generated by using the backup function (manually or automatically). Configuration rollback is appliedin the following situations:z The current configurations are wrong; and there are too many wrong configurations to locate or tocorrect one by one. Rolling back the current configuration to a correct one is needed.z The application environment has changed and the device has to run in a configuration state basedon a previous configuration file without being rebooted.Set configuration rollback following these steps:1) Specify the filename prefix and path for saving the current configuration.2) Save the current running configuration with the specified filename (filename prefix + serial number)to the specified path. The current running configuration can be saved in two ways: the systemsaves the current running configuration at a specified interval; or you can save the current runningconfiguration as needed.3) Roll back the current running configuration to the configuration state based on a savedconfiguration file. When the related command is entered, the system first compares and thenprocesses the differences between the current running configuration and the specifiedreplacement configuration file:z The rollback operation does not execute the commands that are the same in the replacementconfiguration file and in the current configuration file.z The rollback operation removes the commands only present in the current configuration file butnot in the replacement configuration file; namely, the corresponding undo form commands areexecuted.z The rollback operation executes the commands only present in the replacement configuration filebut not in the current configuration file.z The rollback operation removes the commands that are different in the replacement configurationfile and in the current configuration file, and then executes them according to the replacementconfiguration file.The current running configuration is only saved to the master, and only the configuration on the mastercan be rolled back. However, the related configuration will be synchronized to the slaves to ensure therollback of the configuration after the master is changed.