Reloading A Failed Configuration - Cisco Router IOS XR Getting Started Manual

Cisco systems router getting started guide
Hide thumbs Also See for Router Cisco IOS XR:
Table of Contents

Advertisement

Managing Configuration Sessions
Examples
In the following example, the default commit command is entered in global configuration mode:
RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# interface POS 0/0/0/2
RP/0/RP0/CPU0:router(config-if)# description faq
RP/0/RP0/CPU0:router(config-if)# ipv4 address 10.1.1.1 255.0.0.0
RP/0/RP0/CPU0:router(config-if)# commit
RP/0/0/0:Aug
'cisco'.
The preceding message is stored in the log and appears only if logging is configured to display on screen.
Note
In the next example, the commit command is entered with the label and comment options in
administration configuration mode:
RP/0/RP0/CPU0:router# admin
RP/0/RP0/CPU0:router(admin)# configure
RP/0/RP0/CPU0:router(admin-config)# sdr test
RP/0/RP0/CPU0:router(admin-config-sdr:test)# location 0/1/* primary
RP/0/RP0/CPU0:router(admin-config-sdr:test)# commit label test comment This is a test
RP/0/RP0/CPU0:router(admin-config)# show configuration commit list detail
1) CommitId: 2000000018
.
.
.
Configuration files are stored on the same flash disk as the boot image. Access these configurations only
Note
through the CLI commands for configuration management, history, and rollback. Direct modification or
deletion of these files can result in lost router configurations.

Reloading a Failed Configuration

If the router displays a configuration failure message when you attempt to commit a configuration
change, the configuration changes are not lost. While you remain in global configuration mode or
administration configuration mode, you can load the configuration changes into the target configuration,
correct the errors, and commit the changes. To load a failed configuration, go to global configuration or
administration configuration mode and enter the load configuration failed commit command, as shown
in the following example:
RP/0/0/CPU0:router(config)# load configuration failed commit
RP/0/0/CPU0:router(config)# show configuration
Building configuration...
taskgroup bgp
!
end
Cisco IOS XR Getting Started Guide
4-36
6 09:26:17.781 : %LIBTARCFG-6-COMMIT Configuration committed by user
Use 'show configuration commit changes 1000000124' to view the changes.
UserId:
jbowman
Client:
CLI
Comment:
This is a test
Chapter 4
Configuring General Router Features
Label: test
Line:
vty1
Time:
23:45:40 UTC Tue Mar 07 2006
OL-10957-02

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ios xr 3.4

Table of Contents