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

Cisco systems router getting started guide
Hide thumbs Also See for ASR 9000:
Table of Contents

Advertisement

Chapter 3
Configuring General Router Features
To save the configuration changes in the target configuration to a file, type the save configuration
device: command. Replace the device argument with the name of the device on which you want to store
the file (for example, disk0). After you enter this command, the router prompts you to enter a filename.
If you enter only a filename, the file is stored in the root directory of the device. To store the file in a
directory, type the directory path and filename when prompted. We recommend that you specify the
file extension for easy identification. This suffix is not required, but it can help locate target
configuration files. Example:
The following example shows a target configuration file saved to the usr/cisco directory of disk0:
RP/0/RSP1/CPU0:router(admin-config)# save configuration disk0:
Destination file name (control-c to abort): [/running-config]?/usr/cisco/test.cfg
Building configuration.
1 lines built in 1 second
[OK]
Note
You can also save a configuration to a file using the show configuration | file filename command.

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 type 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/RSP1/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. See Cisco ASR 9000 Series Aggregation
Services Router ROM Monitor Guide for information and instructions on this process.

Clearing All Changes to a Target Configuration

To clear changes made to the target configuration without terminating the configuration session, type the
clear command in global configuration mode or administration configuration mode. This command
deletes any configuration changes that have not been committed.
OL-17502-01
F I N A L D R A F T — C i s c o C o n f i d e n t i a l
myconfig.cfg
The filename argument 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
3-27
cfg

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents