Loading The Target Configuration From A File; Loading An Alternative Configuration At System Startup; Clearing All Changes To A Target Configuration - Cisco ASR 9000 Getting Started Manual

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

Advertisement

Chapter
Configuring General Router Features

Loading the Target Configuration from a File

To populate the target configuration with the contents of a previously saved configuration file, go to
global configuration or administration configuration mode and enter the load filename command.
Consider the following when entering the filename argument:
The following example shows a target configuration file loaded into the current configuration session.
The current configuration session is populated with the contents of the file.
RP/0//CPU0:router(config)# load disk0:/usr/cisco/test.cfg
Loading.
77 bytes parsed in 1 sec (76)bytes/sec

Loading an Alternative Configuration at System Startup

When a router is reset or powered on, the last running configuration is loaded and used to operate the
router.
You can load an alternative configuration during system boot. For information and instructions on this
process, see the Cisco ROM Monitor Guide.

Clearing All Changes to a Target Configuration

To clear changes made to the target configuration without terminating the configuration session, enter
the clear command in global configuration mode or administration configuration mode. This command
deletes any configuration changes that have not been committed.
In the following example, the user configures an interface but does not commit it. After reviewing the
changes to the target configuration with the show configuration command, the user decides to remove
the changes and start over by entering the clear command:
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)# shutdown
RP/0//CPU0:router(config-if)# exit
RP/0//CPU0:router(config)# show configuration
Building configuration...
interface /3/0/1
description this is my interface
ipv4 address 10.1.1.1 255.0.0.0
shutdown
end
RP/0//CPU0:router(config)# clear
RP/0//CPU0:router(config)# show configuration
Building configuration...
end
OL-28417-02
Specifies the configuration file to be loaded into the target configuration.
If the full path of the file is not specified, the router attempts to load the file from the root directory
on the device.
Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide
Managing Configuration Sessions
59

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents