Cisco Systems OL-14361-01 manual Displaying the CommitIDs, 109

Page 7

Chapter 5 Configuring Additional Router Features

Managing Configuration History and Rollback

Loading Rollback Configuration Changes to the Target Configuration, page 5-112

Deleting CommitIDs, page 5-113

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

2000000021

Commit

ID

2000000022

Commit

ID

RP/0/RP1/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

 

 

 

 

 

 

OL-14361-01

 

 

5-109

 

 

 

 

 

Image 7
Contents Contents Configuring Additional Router Features104 Command or Action PurposeConfigure ExampleCommit Related Topic Document Title105 EndPrerequisites Configuring Telnet, HTTP, and XML Host Services106 Http server 107Telnet ipv4 server max-servers limit Telnet ipv6 server max-servers limitRP/0/RP0/CPU0routerconfig# telnet ipv6 server max-servers Managing Configuration History and Rollback108 Displaying the CommitIDs Displaying the Configuration Changes Recorded in a CommitID109 110 Previewing Rollback Configuration ChangesRolling Back the Configuration to a Specific Rollback Point RP/0/RP1/CPU0router# show configuration rollback changes toRP/0/RP0/CPU0router# rollback configuration last RP/0/RP1/CPU0router# rollback configuration to111 112 RP/0/RP1/CPU0router# show configuration commit changes ?113 Deleting CommitIDsLevel Description Configuring Logging and Logging CorrelationLogging Destination Command Global Configuration Mode Logging Locations and Severity LevelsLogging trap severity Alarm Logging CorrelationConfiguring Basic Message Logging 115Logging console severity 116Show logging 117 Disabling Console Logging118 Command DescriptionCreating Users and Assigning Groups Configuring User Accounts119 Username user-name Password 0 7 passwordSecret 0 5 password 120Configuration Limiting Configuring Software Entitlement121 IS-IS Configuration Limits Static Route Configuration Limits122 Description Limit Router Configuration Mode Exec Mode OSPFv2 and v3 Configuration Limits123 124 Maximum Interfaces for Each Ospf Instance Example125 BGP Configuration Limits126 Maximum paths127 Routing Policy Language Line and Policy Limits128 129 Multicast Configuration LimitsDefault Absolute Maximum Show Current Settings Limit Configuration Command Command Exec ModeOther Configuration Limits Mpls Configuration Limits130