Displaying The Commit Ids; Displaying The Configuration Changes Recorded In A Commit Id - Cisco XR 12000 Series Getting Started Manual

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

Advertisement

Managing Configuration History and Rollback

Displaying the Commit IDs

To display a history of up to 100 of the most recent commit IDs, enter the show configuration commit
list command in EXEC or administration EXEC mode. Up to 100 of the most recent commit IDs are
saved by the system. Each commit ID entry shows the user who committed configuration changes, the
connection used to execute the commit, and commit ID time stamp.
The commit IDs are shown in the "Label/ID" column. The following example shows the
show configuration commit list command display in EXEC and administration EXEC modes:
RP/0/0/CPU0:router# show configuration commit list
SNo. Label/ID
~~~~ ~~~~~~~~
1
2
3
RP/0/0/CPU0:router# admin
RP/0/0/CPU0:router(admin)# show configuration commit list
SNo. Label/ID
~~~~ ~~~~~~~~
1
2
3

Displaying the Configuration Changes Recorded in a Commit ID

To display the configuration changes made during a specific commit session (commit ID), go to EXEC
or administration EXEC mode and enter the show configuration commit changes command followed
by a commit ID number. The easiest way to determine the commit ID is to enter the show configuration
commit changes ? command first. In the following example, the command help is used to display the
available commit IDs, and then the changes for a specific commit ID are displayed:
RP/0/0/CPU0:router(admin)# show configuration commit changes ?
last
since
2000000020
2000000021
2000000022
RP/0/0/CPU0:router(admin)# show configuration commit changes 2000000020
Building configuration...
username cisco
secret 5 $1$MgUH$xzUEW6jLfyAYLKJE.3p440
group root-system
!
end
Cisco IOS XR Getting Started Guide for the Cisco XR 12000 Series Router
4-82
User
Line
~~~~
~~~~
1000000219
cisco
vty0
1000000218
cisco
vty1
1000000217
cisco
con0_RP0_C
User
Line
~~~~
~~~~
2000000022
cisco
vty1
2000000021
cisco
con0_RP0_C
2000000020
SYSTEM
con0_RP0_C
Changes made in the most recent <n> commits
Changes made since (and including) a specific commit
Commit ID
Commit ID
Commit ID
Chapter 4
Client
Time Stamp
~~~~~~
~~~~~~~~~~
CLI
12:27:50 UTC Wed Mar 22 2006
CLI
11:43:31 UTC Mon Mar 20 2006
CLI
17:44:29 UTC Wed Mar 15 2006
Client
Time Stamp
~~~~~~
~~~~~~~~~~
CLI
15:03:59 UTC Fri Mar 17 2006
CLI
17:42:55 UTC Wed Mar 15 2006
Setup Dial
17:07:39 UTC Wed Mar 15 2006
Configuring Additional Router Features
OL-24755-01

Advertisement

Table of Contents
loading

Table of Contents