Cisco Systems Cisco IOS XR Manual De Usuario

Descargar
Página de 222
5-4
Cisco IOS XR Getting Started Guide
OL-10957-02
Chapter 5      Configuring Additional Router Features
Managing Configuration History and Rollback
The Cisco IOS XR software automatically saves up to 100 of the most recent commitIDs. The following 
sections describe how to manage configuration changes and roll back to a previously committed 
configuration:
Displaying the CommitIDs
To display a history of up to 100 of the most recent commitIDs, enter 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/RP1/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 2006
2    1000000218  cisco     vty1        CLI         11:43:31 UTC Mon Mar 20 2006
3    1000000217  cisco     con0_RP0_C  CLI         17:44:29 UTC Wed Mar 15 2006
RP/0/RP1/CPU0:router# admin
RP/0/RP1/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 2006
2    2000000021  cisco     con0_RP0_C  CLI         17:42:55 UTC Wed Mar 15 2006
3    2000000020  SYSTEM    con0_RP0_C  Setup Dial  17:07:39 UTC Wed Mar 15 2006
Displaying the Configuration Changes Recorded in a CommitID
To display the configuration changes made during a specific commit session (commitID), go to EXEC 
or administration EXEC mode and enter the show configuration commit changes command followed 
by a commitID number. The easiest way to determine the commitID is to enter 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/RP1/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