Chapter 32
Modifying the Switch Boot Configuration
Clearing the BOOT Environment Variable Settings
To clear entries from the BOOT environment variable, perform one of these tasks in privileged mode:
Task
Clear a specific image from the BOOT
environment variable.
Clear the entire BOOT environment variable.
This example shows how to clear a specific entry from the BOOT environment variable:
Console> (enable) clear boot system flash bootflash:cat4000.5-1-1.bin
BOOT variable = bootflash:cat4000.5-2-1.bin,1;bootflash:cat4000.4-5-2.bin,1;
Console> (enable)
This example shows how to clear the entire BOOT environment variable:
Console> (enable) clear boot system all
BOOT variable =
Console> (enable)
Setting and Clearing the CONFIG_FILE Environment Variable
The next two sections describe how to set and clear the CONFIG_FILE environment variable.
Note
For more information about using configuration files, see
Files."
Setting the CONFIG_FILE Environment Variable
You can specify multiple configuration files with the set boot auto-config command by separating them
with a semicolon (;). You must specify both the device name and the filename for each configuration file.
Note
You cannot prepend or append configuration files to the CONFIG_FILE environment variable. Entering
the set boot auto-config command erases any list of configuration files previously specified using the
set boot auto-config command.
To set the CONFIG_FILE environment variable, perform this task in privileged mode (depending on
your supervisor engine and switch type):
Task
Set the list of configuration files to add to the
CONFIG_FILE environment variable.
78-15486-01
Catalyst 4500 Series, Catalyst 2948G, Catalyst 2980G Switches Software Configuration Guide
Setting and Clearing the CONFIG_FILE Environment Variable
Command
clear boot system flash device:[filename]
[mod_num]
clear boot system all [mod_num]
Chapter 35, "Working with Configuration
Command
set boot auto-config
device:filename[;device:filename...]
—
Release 8.1
32-7