Cisco Systems OL-14361-01 manual Managing Configuration History and Rollback, 108

Page 6

Chapter 5 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

Related Topic

Document Title

 

 

Installation and activation of the Manageability and

Upgrading and Managing Cisco IOS XR Software module of Cisco

Security Packages

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

 

 

Managing Configuration History and Rollback

After 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 Cisco IOS 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, page 5-110

Rolling Back the Configuration to a Specific Rollback Point, page 5-110

Rolling Back the Configuration over a Specified Number of Commits, page 5-111

Loading CommitID Configuration Changes to the Target Configuration, page 5-111

 

Cisco IOS XR Getting Started Guide

5-108

OL-14361-01

Image 6
Contents Configuring Additional Router Features ContentsExample Command or Action PurposeConfigure 104End Related Topic Document Title105 CommitConfiguring Telnet, HTTP, and XML Host Services Prerequisites106 Telnet ipv6 server max-servers limit 107Telnet ipv4 server max-servers limit Http serverManaging Configuration History and Rollback RP/0/RP0/CPU0routerconfig# telnet ipv6 server max-servers108 Displaying the Configuration Changes Recorded in a CommitID Displaying the CommitIDs109 RP/0/RP1/CPU0router# show configuration rollback changes to Previewing Rollback Configuration ChangesRolling Back the Configuration to a Specific Rollback Point 110RP/0/RP1/CPU0router# rollback configuration to RP/0/RP0/CPU0router# rollback configuration last111 RP/0/RP1/CPU0router# show configuration commit changes ? 112Deleting CommitIDs 113Logging Locations and Severity Levels Configuring Logging and Logging CorrelationLogging Destination Command Global Configuration Mode Level Description115 Alarm Logging CorrelationConfiguring Basic Message Logging Logging trap severity116 Logging console severityShow logging Disabling Console Logging 117Command Description 118Configuring User Accounts Creating Users and Assigning Groups119 120 Password 0 7 passwordSecret 0 5 password Username user-nameConfiguring Software Entitlement Configuration Limiting121 Static Route Configuration Limits IS-IS Configuration Limits122 OSPFv2 and v3 Configuration Limits Description Limit Router Configuration Mode Exec Mode123 Maximum Interfaces for Each Ospf Instance Example 124BGP Configuration Limits 125Maximum paths 126Routing Policy Language Line and Policy Limits 127128 Limit Configuration Command Command Exec Mode Multicast Configuration LimitsDefault Absolute Maximum Show Current Settings 129Mpls Configuration Limits Other Configuration Limits130