Boot Environment Variables - Cisco 7304 Installation And Configuration Manual

Network service engine
Hide thumbs Also See for 7304:
Table of Contents

Advertisement

Boot Environment Variables

Crtl-Z
System#
Step 4
Save the new configuration to NVRAM by using the copy system:running-config
nvram:startup-config command as follows:
System# copy system:running-config nvram:startup-config

Boot Environment Variables

The contents of the boot environment variables, which are stored in the configuration file in NVRAM,
determine the actions your system takes on bootup. To see the current settings of these variables, use the
show bootvar command as follows:
Router> show bootvar
BOOT variable =
CONFIG_FILE variable =
Current CONFIG_FILE variable =
BOOTLDR variable does not exist
Configuration register is 0x100
Following are explanations for each of these boot environment variables:
Cisco 7304 Network Service Engine Installation and Configuration
6-10
BOOT variable—Points to the Cisco IOS software image that you want to boot; you set it in
configuration mode. The default software image is the CISCOxxx image (where xxx is a filename
assigned by the system, if you do not enter a specific filename). The system then looks for the first
image on the CompactFlash Disk in disk0:.
Enter configuration mode and specify a filename and CompactFlash Disk slot from which to boot
using the configure terminal and boot system commands as follows:
Router# configure terminal
Enter configuration commands, one per line. End with CTRL-Z.
System(config)# boot system flash disk0: image
The result of this configuration file entry is that the BOOT variable is disk0:c7300-js-mz.
CONFIG_FILE (configuration file) variable—Determines where the configuration is read from on
bootup; you set it in configuration mode as follows:
Router# configure terminal
Enter configuration commands, one per line. End with CTRL-Z.
System(config)# boot config disk0: image
The result of this configuration file entry is that the CONFIG_FILE variable is disk0:configfile.
BOOTLDR (boot loader) variable—Determines which image is used as the boot helper; you set it
in configuration mode as follows:
Router# configure terminal
Enter configuration commands, one per line. End with CTRL-Z.
System(config)# boot bootldr disk0: image
Configuration register variable—Instructs the system where to look for a bootable Cisco IOS
software image; you set it as a hexadecimal value in configuration mode as follows:
Router# configure terminal
Enter configuration commands, one per line. End with CTRL-Z.
System(config)# config-register 0x102
Chapter 6
Working with a CompactFlash Disk
OL-3967-01

Advertisement

Table of Contents
loading

Table of Contents