- Read Me First
- Managing Configuration Files
- Configuration Generation Performance Enhancement
- Exclusive Configuration Change Access and Access Session Locking
- Configuration Replace and Configuration Rollback
- Contextual Configuration Diff Utility
- Configuration Change Notification and Logging
- Configuration Partitioning
- Configuration Versioning
- Configuration Rollback Confirmed Change
- Configuration Logger Persistency
Configuration Rollback Confirmed Change
The Configuration Rollback Confirmed Change feature allows configuration changes to be performed with an optional requirement that they be confirmed. If this confirmation is not received, the configuration is returned to the state prior to the changes being applied. The mechanism provides a safeguard against inadvertent loss of connectivity between a network device and the user or management application due to configuration changes.
- Finding Feature Information
- Information About Configuration Rollback Confirmed Change
- How to Configure Configuration Rollback Confirmed Change
- Configuration Examples for Configuration Rollback Confirmed Change
- Additional References
- Feature Information for Configuration Rollback Confirmed Change
Finding Feature Information
Your software release may not support all the features documented in this module. For the latest caveats and feature information, see Bug Search Tool and the release notes for your platform and software release. To find information about the features documented in this module, and to see a list of the releases in which each feature is supported, see the feature information table.
Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to www.cisco.com/go/cfn. An account on Cisco.com is not required.
Information About Configuration Rollback Confirmed Change
Configuration Rollback Confirmed Change Operation
The Configuration Rollback Confirmed Change feature enables an added criterion of a confirmation to configuration changes. This functionality enables a rollback to occur if a confirmation of the requested changes is not received in a configured time frame. Command failures can also be configured to trigger a configuration rollback.
The following steps outline how this process is achieved:
How to Configure Configuration Rollback Confirmed Change
Performing a Configuration Replace or Configuration Rollback Operation with Confirmation
Perform this task to replace the current running configuration file with a saved Cisco configuration file.
Note | You must configure a configuration archive before performing this procedure. For detailed steps, see the “Configuring the Characteristics of the Configuration Archive” module in the Managing Configuration Files Configuration Guide. The following procedure details how to return to that archived configuration in the event of a problem with the current running configuration. |
1.
enable
2.
configure replace
target-url [nolock] [list] [force] [ignorecase] [revert trigger [error] [timer
minutes] |
time
minutes]
3.
configure revert {now |
timer {minutes |
idle
minutes}}
4.
configure confirm
5.
exit
DETAILED STEPS
Configuration Examples for Configuration Rollback Confirmed Change
Example: Performing a Configuration Replace Operation with the configure confirm Command
The following example shows the use of the configure replace command with the time minutes keyword and argument. You must enter the configure confirm command within the specified time limit to confirm replacement of the current running configuration file. If the configure confirm command is not entered within the specified time limit, the configuration replace operation is automatically reversed (in other words, the current running configuration file is restored to the configuration state that existed prior to entering the configure replace command).
Device# configure replace nvram:startup-config time 120 This will apply all necessary additions and deletions to replace the current running configuration with the contents of the specified configuration file, which is assumed to be a complete configuration, not a partial configuration. Enter Y if you are sure you want to proceed. ? [no]: Y Total number of passes: 1 Rollback Done Device# configure confirm
The following example shows the use of the configure revert command with the timer keyword. You must enter the configure revert command to cancel the timed rollback and trigger the rollback immediately, or to reset parameters for the timed rollback.
Device# configure revert timer 100
Additional References
Related Documents
Related Topic |
Document Title |
---|---|
Cisco IOS commands |
|
Information about managing configuration files |
“Managing Configuration Files” module in the Managing Configuration Files Configuration Guide |
Commands for managing configuration files |
Technical Assistance
Description |
Link |
---|---|
The Cisco Support and Documentation website provides online resources to download documentation, software, and tools. Use these resources to install and configure the software and to troubleshoot and resolve technical issues with Cisco products and technologies. Access to most tools on the Cisco Support and Documentation website requires a Cisco.com user ID and password. |
Feature Information for Configuration Rollback Confirmed Change
The following table provides release information about the feature or features described in this module. This table lists only the software release that introduced support for a given feature in a given software release train. Unless noted otherwise, subsequent releases of that software release train also support that feature.
Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to . An account on Cisco.com is not required.Feature Name |
Releases |
Feature Information |
---|---|---|
Configuration Rollback Confirmed Change |
12.2(33)SB 12.2(33)SRC 12.2(33)SXI 12.4(20)T Cisco IOS XE Release 2.1 |
The Configuration Rollback Confirmed Change feature allows configuration changes to be performed with an optional requirement that they be confirmed. This mechanism provides a safeguard against inadvertent loss of connectivity between a network device and the user or management application due to configuration changes. The following commands were introduced or modified: configure confirm, configure replace, configure revert, configure terminal. |