86
Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide
OL-28417-02
Chapter Configuring Additional Router Features
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/RSP1/CPU0:router# show configuration commit list
SNo. Label/ID User Line Client Time Stamp
~~~~ ~~~~~~~~ ~~~~ ~~~~ ~~~~~~ ~~~~~~~~~~
1 1000000219 cisco vty0 CLI 12:27:50 UTC Wed Mar 22 2008
2 1000000218 cisco vty1 CLI 11:43:31 UTC Mon Mar 20 2008
3 1000000217 cisco con0_RSP0_C CLI 17:44:29 UTC Wed Mar 15 2008
RP/0/RSP1/CPU0:router# admin
RP/0/RSP1/CPU0:router(admin)# show configuration commit list
SNo. Label/ID User Line Client Time Stamp
~~~~ ~~~~~~~~ ~~~~ ~~~~ ~~~~~~ ~~~~~~~~~~
1 2000000022 cisco vty1 CLI 15:03:59 UTC Fri Mar 17 2008
2 2000000021 cisco con0_RSP0_C CLI 17:42:55 UTC Wed Mar 15 2008
3 2000000020 SYSTEM con0_RSP0_C Setup Dial 17:07:39 UTC Wed Mar 15 2008
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/RSP0/CPU0:router(admin)# show configuration commit changes ?
last Changes made in the most recent <n> commits
since Changes made since (and including) a specific commit
2000000020 Commit ID
2000000021 Commit ID
2000000022 Commit ID
RP/0/RSP0/CPU0:router(admin)# show configuration commit changes 2000000020
Building configuration...
username cisco
secret 5 $1$MgUH$xzUEW6jLfyAYLKJE.3p440
group root-system
!
end