Rolling Back The Configuration To A Specific Rollback Point; Rolling Back The Configuration To A Specified Number Of Commits - Cisco CRS-1 - Carrier Routing System Router Getting Started Manual

Carrier routing system
Hide thumbs Also See for CRS-1 - Carrier Routing System Router:
Table of Contents

Advertisement

Chapter 2
Cisco IOS XR Basic Configuration Management
To display the configuration details for a specific session, enter the show rollback changes to commitId
command:
RP/0/RP0/CPU0:router# show rollback changes to 1000000373
Building configuration...
interface Loopback2
no description
no ipv4 address 10.0.0.1 255.0.0.0
To display the details of all changes made during a span of sessions, enter the show rollback changes
last commit-range command:
RP/0/RP0/CPU0:router# show 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

Rolling Back the Configuration to a Specific Rollback Point

To roll back the router configuration to a previously committed configuration, enter the rollback
configuration to commitId command:
RP/0/RP0/CPU0:router# rollback configuration to 1000000325
Configuration successfully rolled back to '1000000325'.
Enter the show rollback points command to display the commitIDs.
Note

Rolling Back the Configuration to a Specified Number of Commits

To roll back to the last x commits made, 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.
Cisco CRS-1 Series Carrier Routing System Getting Started Guide
Configuration History and Rollback
2-25

Advertisement

Table of Contents

Troubleshooting

loading

This manual is also suitable for:

Crs-1 series

Table of Contents