Chapter 23
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:cat6000-sup.5-1-1.bin
BOOT variable = bootflash:cat6000-sup.5-2-1.bin,1;bootflash:cat6000-sup.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 the CONFIG_FILE Environment Variable
These sections describe how to modify the CONFIG_FILE environment variable:
•
•
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.
You cannot prepend or append configuration files to the CONFIG_FILE environment variable.
Note
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:
Task
Set the CONFIG_FILE environment variable.
78-13315-02
Setting the CONFIG_FILE Environment Variable, page 23-11
Clearing the CONFIG_FILE Environment Variable Settings, page 23-12
Command
clear boot system flash device:[filename] [mod]
clear boot system all [mod]
Command
set boot auto-config
device:filename[;device:filename...]
Catalyst 6000 Family Software Configuration Guide—Releases 6.3 and 6.4
Setting the CONFIG_FILE Environment Variable
23-11