Appendix C Using the CompactFlash Disk
Boot Environment Variables
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:
•BOOT
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
System(config)# boot system flash
The result of this configuration file entry is that the BOOT variable is disk0:
CONFIG_FILE (configuration file)
Router# configure terminal
Enter configuration commands, one per line. End with
System(config)# boot config disk0:configfile
The result of this configuration file entry is that the CONFIG_FILE variable is disk0:configfile.
•BOOTLDR (boot loader)
Router# configure terminal
Enter configuration commands, one per line. End with
System(config)# boot bootldr
The result of this configuration file entry is that the BOOTLDR variable is
•Configuration register
Router# configure terminal
Enter configuration commands, one per line. End with
System(config)#
The result of this configuration file entry is that the configuration register is set to hexadecimal 0x102. Please seeChapter 3, “Starting and Configuring,” page
Cisco 7401ASR Installation and Configuration Guide
|
|
| |
|
|