Configuring configuration rollback
To replace the running configuration with the configuration in a configuration file without rebooting the device, use the configuration rollback feature. This feature helps you revert to a previous configuration state or adapt the running configuration to different network environments.
The configuration rollback feature compares the running configuration against the specified replacement configuration file and handles configuration differences as follows:
If a command in the running configuration is not in the replacement file, the rollback feature executes the undo form of the command.
If a command in the replacement file is not in the running configuration, the rollback feature adds the command to the running configuration.
If a command has different settings in the running configuration and the configuration file, the rollback feature replaces the running command setting with the setting in the configuration file.
To facilitate configuration rollback, the configuration archive feature was developed. This feature enables the system to save the running configuration automatically at regular intervals.