2-232
Catalyst 6500 Series Switch Command Reference—Release7.6
78-15328-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands
set boot system flash
set boot system flash
To set the BOOT environment variable that specifies a list of images the switch loads at startup, use the
set boot system flash command.
set boot system flash device:[filename] [prepend] [mod]
Syntax Description
Defaults This command has no default settings.
Command Types Switch command.
Command Modes Privileged.
Usage Guidelines A colon (:) is required after the specified device.
You can enter several boot system commands to provide a problem-free method for booting the switch.
The system stores and executes the boot system commands in the order in which you enter them.
Remember to clear the old entry when building a new image with a different filename in order to use the
new image.
If the file does not exist (for example, if you entered the wrong filename), then the file name is appe nded
to the bootstring, and this message displays, “Warning: File not found but still added in the b oot stri ng.”
If the file does exist, but is not a supervisor engine image, the file is not added to the bootstr ing, and this
message displays, “Warning: file found but it is not a valid boot image.”
Examples This example shows how to append the filename cat6000-sup.5-5-1.bin on device bootflash to the BOOT
environment variable:
Console> (enable) set boot system flash bootflash:cat6000-sup.5-5-1.bin
BOOT variable = bootflash:cat6000-sup.5-4-1.bin,1;bootflash:cat6000-sup.5-5-1.bin,1;
Console> (enable)
This example shows how to prepend cat6000-sup.5-5-1.bin to the beginning of the boot string:
Console> (enable) set boot system flash bootflash:cat6000-sup.5-5-1.bin prepend
BOOT variable = bootflash:cat6000-sup.5-5-1.bin,1;bootflash:cat6000-sup.5-4-1.bin,1;
Console> (enable)
device:Device where the Flash resides.
filename (Optional) Name of the configuration file.
prepend (Optional) Places the device first in the list of boot devices.
mod (Optional) Module number of the supervisor engine containing the Flash device.