Disaster Recovery; Specifying A Temporary Configuration File With The -A Boot Option - 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

Appendix A
ROM Monitor Guide

Specifying a Temporary Configuration File with the -a Boot Option

The configuration file loaded during system boot can be changed by entering the boot command in ROM
monitor mode. The following command syntax is used:
boot image –a config-file-path
Although this command causes the router to boot from an alternative configuration, the system reverts
to the default committed configuration on the next system reload.
Example:
rommon B1> boot tftp://223.255.254.254/images/comp-hfr-mini.vm -a
/disk1:/cfgarchives/gold.conf
The pathname should be a valid UNIX pathname (a slash / must be included after the device: "disk1:/").
Note
Specifying a Permanent Configuration File with the IOX_CONFIG_FILE=
Variable
To permanently change the location of the default configuration file, specify the filename and directory
path in the "IOX_CONFIG_FILE=" environment variable while in ROMMON mode. Specifying the
variable forces the use of the specified file for all boots while this variable is set. The following command
syntax is used:
rommon B1> IOX_CONFIG_FILE=disk1:cfgarchives/gold.conf
rommon B1> sync
Note
The IOX_CONFIG_FILE= variable is overridden by the boot image –a config-file-path command

Disaster Recovery

If the router is unable to boot the Cisco IOS XR software from the local storage device, the router
attempts to find a boot image until you press Ctrl-C, as described in the
Initialization Process During System Reload" section on page
IOS XR software, enter ROM monitor mode by pressing Ctrl-C, then use ROM monitor commands to
troubleshoot the router or to reinstall the software. For more information, refer to the following:
For a summary of the available commands in ROM monitor mode, see the
ROM Monitor Commands and Options" section on page
To reinstall the Cisco IOS XR software from a bootable .vm image on a local device or TFTP server,
see the
"Reinstalling the Cisco IOS XR Software from ROMMON" section on page
A-5. If the router cannot load the Cisco
A-26.
Cisco CRS-1 Series Carrier Routing System Getting Started Guide
Disaster Recovery
.
"Manually Halting the
"Displaying the Available
A-9.
A-25

Advertisement

Table of Contents

Troubleshooting

loading

This manual is also suitable for:

Crs-1 series

Table of Contents