Topic: tech cisco prev

tech cisco > Cisco Revert Configuration Feature

Cisco Revert Configuration Feature

The Cisco ‘configure revert’ feature will automatically roll back a configuration change if it causes loss of management to the device being configured. This is similar to the Juniper ‘commit confirm’ feature and is very useful when making configuration changes on a remote device via in-band management.

This feature is supported in IOS and IOS XE from version 12.4 onwards.

Set a location for the current configuration to be backed up. This is required to enable the ‘configure revert’ command tree.

configure terminal
archive
path flash:/
maximum 1
end

Start making changes. Specify ‘timer idle 1’, to automatically revert the changes if the terminal becomes idle for one minute.

configure terminal revert timer idle 1
! make changes
end

Check that the changes were successful. If they were, keep the changes. Otherwise, the changes will be rolled back after the idle timer.

configure confirm