Saving The Target Configuration To A File; Loading The Target Configuration From A File; Loading An Alternative Configuration At System Startup - Cisco CRS-1 - Carrier Routing System Router Getting Started Manual

Carrier routing system
Hide thumbs Also See for CRS-1 - Carrier Routing System Router:
Table of Contents

Advertisement

Saving and Loading Target Configuration Files

Saving the Target Configuration to a File

To save the configuration changes in the target configuration to a file, enter the show configuration |
file filename command.
In the following example, a target configuration file is saved to the default user directory:
RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# show configuration | file disk0:myconfig.cfg
RP/0/RP0/CPU0:router(config)# abort
RP/0/RP0/CPU0:router#

Loading the Target Configuration from a File

Enter the load filename command to populate the target configuration with the contents of a previously
saved configuration file. Consider the following when entering the filename argument:
In the following example, a target configuration file is loaded into the current configuration session. The
current configuration session is therefore populated with the contents of the file:
RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# load disk0:myconfig.cfg
RP/0/RP0/CPU0:router(config)# show configuration
Building configuration... interface POS 0/3/0/0
address 10.10.11.20 255.0.0.0
!end

Loading an Alternative Configuration at System Startup

When a Cisco CRS-1 router is reset or powered on, the last running configuration is loaded and used to
operate the router (see
You can also load an alternative configuration during system boot. See
Guide,"
Cisco CRS-1 Series Carrier Routing System Getting Started Guide
2-28
If the full path of the file is not specified, the default directory for your account is used. You should
always save your target configuration files to this location.
The filename should end with the
can help locate target configuration files. Example:
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 default location is used. You should always save your
target configuration files to this location.
Figure
2-5).
for information and instructions on this process.
Chapter 2
suffix for easy identification. This suffix is not required, but
.cfg
myconfig.cfg
description My Pos Interface
Cisco IOS XR Basic Configuration Management
Appendix A, "ROM Monitor
ipv4

Advertisement

Table of Contents

Troubleshooting

loading

This manual is also suitable for:

Crs-1 series

Table of Contents