Cisco Systems ASR 9000 Network Router User Manual


 
FINAL DRAFT —Cisco Confidential
4-7
Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide
OL-17502-01
Chapter 4 Configuring Additional Router Features
Managing Configuration History and Rollback
Viewing CommitIDs
To view up to 100 of the most recent commitIDs, type the show configuration commit list command in
EXEC or administration EXEC mode. Up to 100 of the most recent commitIDs are saved by the system.
Each commitID entry shows the user who committed configuration changes, the connection used to
execute the commit, and commitID time stamp.
The commitIDs 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
Viewing Configuration Changes Recorded in a CommitID
To view the configuration changes made during a specific commit session (commitID), go to EXEC or
administration EXEC mode and type the show configuration commit changes command followed by a
commitID number. The easiest way to determine the commitID is to type the show configuration
commit changes ? command first. In the following example, the command help is used to display the
available commitIDs, and then the changes for a specific commitID are displayed:
RP/0/RSP1/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/RSP1/CPU0:router(admin)# show configuration commit changes 2000000020
Building configuration...
username cisco
secret 5 $1$MgUH$xzUEW6jLfyAYLKJE.3p440
group root-system
!
end