Cisco Systems OL-14361-01 manual Deleting CommitIDs, 113

Page 11

Chapter 5 Configuring Additional Router Features

Managing Configuration History and Rollback

To load rollback configuration changes from the current configuration to a specific session, go to global configuration or administration configuration mode and enter the load rollback changes to commitId command:

RP/0/0/CPU0:router(config)# load rollback changes to 1000000068

Building configuration...

Loading.

233 bytes parsed in 1 sec (231)bytes/sec

To load rollback configuration changes from the current configuration to a specified number of previous sessions, go to global configuration or administration configuration mode and enter the load rollback changes last commit-rangecommand:

RP/0/0/CPU0:router(config)# load rollback changes last 6

Building configuration...

Loading.

221 bytes parsed in 1 sec (220)bytes/sec

In the preceding example, the command loads the rollback configuration changes for the last six commitIDs.

To load the rollback configuration for a specific commitID, go to global configuration or administration configuration mode and enter the load rollback changes commitId command:

RP/0/0/CPU0:router(config)# load rollback changes 1000000060

Building configuration...

Loading.

199 bytes parsed in 1 sec (198)bytes/sec

Deleting CommitIDs

You can delete the oldest configuration commitIDs by entering the clear configuration commit command in EXEC or administration EXEC mode. The clear configuration commit command must be followed by either the amount of disk space you want to reclaim or number of commitIDs you want to delete. To reclaim disk space from the oldest commitIDs, enter the clear configuration commit command followed by the keyword diskspace and number of kilobytes to reclaim:

RP/0/0/CPU0:router# clear configuration commit diskspace 50

Deleting 4 rollback points '1000000001' to '1000000004'

64 KB of disk space will be freed. Continue with deletion?[confirm]

To delete a specific number of the oldest commitIDs, enter the clear configuration commit command followed by the keyword oldest and number of commitIDs to delete:

RP/0/0/CPU0:router# clear configuration commit oldest 5

Deleting 5 rollback points '1000000005' to '1000000009'

80 KB of disk space will be freed. Continue with deletion?[confirm]

 

 

Cisco IOS XR Getting Started Guide

 

 

 

 

 

 

OL-14361-01

 

 

5-113

 

 

 

 

 

Image 11
Contents Contents Configuring Additional Router Features104 Command or Action PurposeConfigure ExampleCommit Related Topic Document Title105 End106 Configuring Telnet, HTTP, and XML Host ServicesPrerequisites Http server 107Telnet ipv4 server max-servers limit Telnet ipv6 server max-servers limit108 Managing Configuration History and RollbackRP/0/RP0/CPU0routerconfig# telnet ipv6 server max-servers 109 Displaying the Configuration Changes Recorded in a CommitIDDisplaying the CommitIDs 110 Previewing Rollback Configuration ChangesRolling Back the Configuration to a Specific Rollback Point RP/0/RP1/CPU0router# show configuration rollback changes to111 RP/0/RP1/CPU0router# rollback configuration toRP/0/RP0/CPU0router# rollback configuration last 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 115Show logging 116Logging console severity 117 Disabling Console Logging118 Command Description119 Configuring User AccountsCreating Users and Assigning Groups Username user-name Password 0 7 passwordSecret 0 5 password 120121 Configuring Software EntitlementConfiguration Limiting 122 Static Route Configuration LimitsIS-IS Configuration Limits 123 OSPFv2 and v3 Configuration LimitsDescription Limit Router Configuration Mode Exec Mode 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 Mode130 Mpls Configuration LimitsOther Configuration Limits