Reloading A Failed Configuration; Exiting A Configuration Submode - Cisco ASR 9000 Getting Started Manual

Services router
Hide thumbs Also See for ASR 9000:
Table of Contents

Advertisement

Managing Configuration Sessions
.
.
.
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//CPU0:router(config)# load configuration failed commit
RP/0//CPU0:router(config)# show configuration
Building configuration...
taskgroup alr
!
end
In the preceding example, the show configuration command displays the target configuration, which
includes the failed configuration.
The failed configuration is discarded if you exit global configuration mode or administration
Note
configuration mode without recovering the configuration. After recovery, correct and commit the
configuration or save it to a file to avoid losing it.

Exiting a Configuration Submode

When you have finished configuration changes in a configuration submode, such as the interface or
configuration submodes, you can return to the previous configuration mode and continue making
configuration changes. To exit a configuration submode, enter the exit command, as shown in the
following example:
RP/0//CPU0:router# configure
RP/0//CPU0:router(config)# interface 0/3/0/1
RP/0//CPU0:router(config-if)# description this is my interface
RP/0//CPU0:router(config-if)# ipv4 address 10.1.1.1 255.0.0.0
RP/0//CPU0:router(config-if)# exit
RP/0//CPU0:router(config)#
If you use the exit command to exit global configuration or administration configuration mode, the
Note
router prompts you to save changes, discard changes, or cancel the action, as described in the next
section.
Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide
62
UserId:
user1
Client:
CLI
Comment:
This is a test
Chapter
Configuring General Router Features
Line:
vty1
Time:
23:45:40 UTC
OL-28417-02

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents