Cisco Systems OL-14361-01 manual Previewing Rollback Configuration Changes, 110

Page 8

Chapter 5 Configuring Additional Router Features

Managing Configuration History and Rollback

Previewing Rollback Configuration Changes

The show configuration rollback changes command allows you to preview the configuration changes that take place if you roll back the configuration to a specific commitID. For example, if you want to roll back the configuration to a specific point, all configuration changes made after that point must be undone. This rollback process is often accomplished by executing the “no” version of commands that must be undone.

To display the prospective rollback configuration changes from the current configuration to a specific commitID, go to EXEC or administration EXEC mode and enter the show configuration rollback changes to commitId command. In the following example, the command help displays the available commitIDs, and then the rollback changes are displayed.

RP/0/RP1/CPU0:router# show configuration rollback changes to ?

1000000217 Commit ID

1000000218 Commit ID

1000000219 Commit ID

RP/0/RP1/CPU0:router# show configuration rollback changes to 1000000218

Building configuration...

no interface Loopback100 interface POS0/1/0/0

no ipv6 nd dad attempts

!

!

no route-policy xx end

To display the prospective rollback configuration changes from the current configuration to a specified number of previous sessions, go to EXEC or administration EXEC mode and enter the show configuration rollback changes last commit-rangecommand:

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

Building configuration...

interface Loopback3 no description

no ipv4 address 10.0.1.1 255.0.0.0 exit

interface Loopback4 no description

no ipv4 address 10.0.0.1 255.0.0.0 end

In the preceding example, the command display shows the proposed rollback configuration changes for the last two commit IDs.

Rolling Back the Configuration to a Specific Rollback Point

When you roll back the configuration to a specific rollback point, you undo all configuration changes made during the session identified by the commit ID for that rollback point, and you undo all configuration changes made after that point. The rollback process rolls back the configuration and commits the rolled-back configuration. The rollback process also creates a new rollback point so that you can roll back the configuration to the previous configuration.

 

Cisco IOS XR Getting Started Guide

5-110

OL-14361-01

Image 8
Contents Configuring Additional Router Features ContentsCommand or Action Purpose ConfigureExample 104Related Topic Document Title 105End Commit106 Configuring Telnet, HTTP, and XML Host ServicesPrerequisites 107 Telnet ipv4 server max-servers limitTelnet ipv6 server max-servers limit Http server108 Managing Configuration History and RollbackRP/0/RP0/CPU0routerconfig# telnet ipv6 server max-servers 109 Displaying the Configuration Changes Recorded in a CommitIDDisplaying the CommitIDs Previewing Rollback Configuration Changes Rolling Back the Configuration to a Specific Rollback PointRP/0/RP1/CPU0router# show configuration rollback changes to 110111 RP/0/RP1/CPU0router# rollback configuration toRP/0/RP0/CPU0router# rollback configuration last RP/0/RP1/CPU0router# show configuration commit changes ? 112Deleting CommitIDs 113Configuring Logging and Logging Correlation Logging Destination Command Global Configuration ModeLogging Locations and Severity Levels Level DescriptionAlarm Logging Correlation Configuring Basic Message Logging115 Logging trap severityShow logging 116Logging console severity Disabling Console Logging 117Command Description 118119 Configuring User AccountsCreating Users and Assigning Groups Password 0 7 password Secret 0 5 password120 Username user-name121 Configuring Software EntitlementConfiguration Limiting 122 Static Route Configuration LimitsIS-IS Configuration Limits 123 OSPFv2 and v3 Configuration LimitsDescription Limit Router Configuration Mode Exec Mode Maximum Interfaces for Each Ospf Instance Example 124BGP Configuration Limits 125Maximum paths 126Routing Policy Language Line and Policy Limits 127128 Multicast Configuration Limits Default Absolute Maximum Show Current SettingsLimit Configuration Command Command Exec Mode 129130 Mpls Configuration LimitsOther Configuration Limits