Cisco Systems OL-14361-01 manual 111, RP/0/RP1/CPU0router# rollback configuration to

Page 9

Chapter 5 Configuring Additional Router Features

Managing Configuration History and Rollback

Tip To preview the commands that undo the configuration during a rollback, use the show configuration rollback changes command.

To roll back the router configuration to a previously committed configuration, go to EXEC or administration EXEC mode and enter the rollback configuration to commitId command:

RP/0/RP1/CPU0:router# rollback configuration to 1000000220

Loading

Rollback Changes.

 

Loaded Rollback Changes in

1 sec

Committing.

 

2 items

committed in 1 sec

(1)items/sec

Updating.

 

Updated

Commit database in

1 sec

Configuration successfully

rolled back to '1000000220'.

Rolling Back the Configuration over a Specified Number of Commits

When you roll back the configuration over a specific number of commits, you do not have to enter a specific commit ID. Instead, you specify a number x, and the software undoes all configuration changes made in the last x committed configuration sessions. The rollback process rolls back the configuration, commits the rolled-back configuration, and creates a new commitID for the previous configuration.

Tip To preview the commands that undo the configuration during a rollback, use the show configuration rollback changes command.

To roll back to the last x commits made, go to EXEC or administration EXEC mode and enter the rollback configuration last x command; x is a number ranging from 1 to the number of saved commits in the commit database.

In the following example, a request is made to roll back the configuration changes made during the previous two commits:

RP/0/RP0/CPU0:router# rollback configuration last 2

Loading

Rollback Changes.

 

Loaded Rollback Changes in

1 sec

Committing.

 

1 items

committed in 1 sec

(0)items/sec

Updating.

 

Updated

Commit database in

1 sec

Configuration successfully

rolled back 2 commits.

Loading CommitID Configuration Changes to the Target Configuration

If the changes saved for a specific commitID are close to what you want, but a rollback is not appropriate, you can load the configuration changes for a commitID into the target configuration, modify the target configuration, and then commit the new configuration. Unlike the rollback process, the loaded changes are not applied until you commit them.

 

 

Cisco IOS XR Getting Started Guide

 

 

 

 

 

 

OL-14361-01

 

 

5-111

 

 

 

 

 

Image 9
Contents Contents Configuring Additional Router FeaturesConfigure Command or Action PurposeExample 104105 Related Topic Document TitleEnd CommitConfiguring Telnet, HTTP, and XML Host Services Prerequisites106 Telnet ipv4 server max-servers limit 107Telnet ipv6 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 Rolling Back the Configuration to a Specific Rollback Point Previewing Rollback Configuration ChangesRP/0/RP1/CPU0router# show configuration rollback changes to 110RP/0/RP1/CPU0router# rollback configuration to RP/0/RP0/CPU0router# rollback configuration last111 112 RP/0/RP1/CPU0router# show configuration commit changes ?113 Deleting CommitIDsLogging Destination Command Global Configuration Mode Configuring Logging and Logging CorrelationLogging Locations and Severity Levels Level DescriptionConfiguring Basic Message Logging Alarm Logging Correlation115 Logging trap severity116 Logging console severityShow logging 117 Disabling Console Logging118 Command DescriptionConfiguring User Accounts Creating Users and Assigning Groups119 Secret 0 5 password Password 0 7 password120 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 124 Maximum Interfaces for Each Ospf Instance Example125 BGP Configuration Limits126 Maximum paths127 Routing Policy Language Line and Policy Limits128 Default Absolute Maximum Show Current Settings Multicast Configuration LimitsLimit Configuration Command Command Exec Mode 129Mpls Configuration Limits Other Configuration Limits130