2-268
Catalyst 6500 Series Switch Command Reference—Release8.4
OL-6244-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands
set boot auto-config
set boot auto-config
To specify one or more configuration files to use to configure the switch at bootup, use the set boot
auto-config command. The list of configuration files is stored in th e CO NF IG_FI LE envi ronm en t
variable.
set boot auto-config device:filename [;device:filename...] [mod]
Syntax Description
Defaults The default CONFIG_FILE is slot0:switch.cfg.
Command Types Switch command.
Command Modes Privileged.
Usage Guidelines The set boot auto-config command always overwrites the existing CONFIG_FILE environment variable
settings. (You cannot prepend or append a file to the variable contents.)
If you specify multiple configuration files, you must separate the files with a semicolon (;).
To set the recurrence on other supervisor engines and switches, use th e set boot config-register
auto-config command.
Examples This example shows how to specify a single configuration file environment variable:
Console> (enable) set boot auto-config slot0:cfgfile2
CONFIG_FILE variable = slot0:cfgfile2
WARNING: nvram configuration may be lost during next bootup,
and re-configured using the file(s) specified.
Console> (enable)
This example shows how to specify multiple configuration file environment variables:
Console> (enable) set boot auto-config slot0:cfgfile;slot0:cfgfile2
CONFIG_FILE variable = slot0:cfgfile1;slot0:cfgfile2
WARNING: nvram configuration may be lost during next bootup,
and re-configured using the file(s) specified.
Console> (enable)
Related Commands set boot config-register
set boot system flash
show boot
device: Device where the startup configuration file resides.
filename Name of the startup configuration file.
mod (Optional) Module number of the supervisor engine con taini ng the Fla sh device.