5-108
Cisco IOS XR Getting Started Guide
OL-14361-01
Chapter5 Configuring Additional Router Features
Managing Configuration History and Rollback
Examples
In the following example, the host services are enabled:
RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# telnet ipv6 server max-servers 5
RP/0/RP0/CPU0:router(config)# http server
RP/0/RP0/CPU0:router(config)# xml agent corba
RP/0/RP0/CPU0:router(config)# commit
Related Documents
Managing Configuration History and RollbackAfter each commit operation, a record of the committed configuration changes is saved. This record
contains only the changes made during the configuration session; it does not contain the complete
configuration. Each record is assigned a unique ID, known as a commitID.
When multiple commitIDs are present, you can use a commitID to identify a previous configuration to
which you want to return, or you can use the commitID to load the configuration changes made during
that configuration session. You can also load configuration changes from multiple commitIDs, and you
can clear commitIDs. If you are thinking about rolling back the configuration to a specific commitID,
consider the following guidelines:
•You cannot roll back to a configuration that was removed because of package incompatibility.
Configuration rollbacks can succeed only when the configuration passes all compatibility checks
with the currently active CiscoIOS XR software.
•If an incompatible configuration is found during the rollback operation, the operation fails and an
error is displayed.
The Cisco IOS XR software automatically saves up to 100 of the most recent commitIDs. The following
sections describe how to manage configuration changes and roll back to a previously committed
configuration:
•Displaying the CommitIDs, page 5-109
•Displaying the Configuration Changes Recorded in a CommitID, page 5-109
•Previewing Rollback Configuration Changes, page5-110
•Rolling Back the Configuration to a Specific Rollback Point, page5-110
•Rolling Back the Configuration over a Specified Number of Commits, page5-111
•Loading CommitID Configuration Changes to the Target Configuration, page5-111
Related Topic Document Title
Installation and activation of the Manageability and
Security Packages
Upgrading and Managing Cisco IOS XR Software module of Cisco
IOS XR System Management Configuration Guide
Descriptions of the HTTP and XML server commands Manageability Commands on Cisco IOS XR Software module of
Cisco IOS XR System Management Command Reference
Descriptions of the Telnet commands Host Services and Applications Commands on Cisco IOS XR
Software module of Cisco IOS XR IP Addresses and Services
Command Reference