3-27
Catalyst 6500 Series Switch Cisco IOS Software Configuration Guide—Release 12.1 E
78-14099-04
Chapter 3 Configuring the Switch for the First Time
Modifying the Supervisor Engine Startup Configuration
Setting the BOOTLDR Environment Variable
To set the BOOTLDR environment variable, perform this task:
This example shows how to set the BOOTLDR variable:
Router# dir bootflash:
Directory of bootflash:/
1 -rw- 1599488 Nov 29 1999 11:12:29 c6msfc-boot-mz.120-7.XE.bin
15990784 bytes total (14391168 bytes free)
Router# configure terminal
Router (config)# boot bootldr bootflash:c6msfc-boot-mz.120-7.XE.bin
Router (config)# end
Router# copy system:running-config nvram:startup-config
[ok]
Router# show bootvar
BOOT variable = sup-bootflash:c6sup-js-mz.120-7.XE.bin,1;
CONFIG_FILE variable does not exist
BOOTLDR variable = bootflash:c6msfc-boot-mz.120-7.XE.bin
Configuration register is 0x0
Command Purpose
Step 1 Router# dir bootflash: Verifies that bootflash contains the boot loader image.
Step 2 Router# configure terminal Enters the configuration mode from the terminal.
Step 3 Router(config)# boot bootldr
bootflash:boot_loader
Sets the BOOTLDR environment variable to specify the
Flash device and filename of the boot loader image. This
step modifies the runtime BOOTLDR environment
variable.
Step 4 Router# end Exits configuration mode.
Step 5 Router# copy system:running-config
nvram:startup-config
Saves this runtime BOOTLDR environment variable to
your startup configuration.
Step 6 Router# show bootvar (Optional) Verifies the contents of the BOOTLDR
environment variable.