23-11
Catalyst 6000 Family Software Configuration Guide—Releases 6.3 and 6.4
78-13315-02
Chapter 23 Modifying the Switch Boot Configuration
Setting the CONFIG_FILE Environment Variable
Clearing the BOOT Environment Variable Settings
To clear entries from the BOOT environment variable, perform one of these tasks in privileged mode:
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, page 23-11
•
Clearing the CONFIG_FILE Environment Variable Settings, page 23-12
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:
Task
Command
Clear a specific image from the BOOT
environment variable.
clear boot system flash
device:
[
filename
] [
mod
]
Clear the entire BOOT environment variable.
clear boot system all
[
mod
]
Task
Command
Set the CONFIG_FILE environment variable.
set boot auto-config
device:filename
[
;
device:filename
...]