Previewing Rollback Configuration Changes; Rolling Back The Configuration To A Specific Rollback Point - Cisco XR 12000 Series Getting Started Manual

Hide thumbs Also See for XR 12000 Series:
Table of Contents

Advertisement

Chapter 4
Configuring Additional Router Features

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 commit ID. 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
commit ID, go to EXEC or administration EXEC mode and enter the show configuration rollback
changes to commit ID command. In the following example, the command help displays the available
commit IDs, and then the rollback changes are displayed:
RP/0/0/CPU0:router# show configuration rollback changes to ?
1000000217
1000000218
1000000219
RP/0/0/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-range command:
RP/0/0/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.
OL-24755-01
Commit ID
Commit ID
Commit ID
Cisco IOS XR Getting Started Guide for the Cisco XR 12000 Series Router
Managing Configuration History and Rollback
4-83

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the XR 12000 Series and is the answer not in the manual?

Table of Contents