Default Switch Boot Configuration
When the switch boots up, if any of the files specified in the CONFIG_FILE environment variable are
valid configuration files, the configuration in NVRAM is erased and the system uses the specified
configuration file to configure the switch. If multiple valid configuration files are specified, each
configuration file is executed in the order in which it appears in the CONFIG_FILE environment
variable.
If any specified file is not a valid configuration file, the entry is skipped and subsequent files are tried
until there are no additional images specified. If no valid configuration file is specified, the system
retains the last configuration stored in NVRAM.
For more information about using configuration files, see
Note
Files."
Default Switch Boot Configuration
Table 28-1
Table 28-1 Default Switch Boot Configuration
Feature
Configuration register value
Boot method
ROM monitor console port baud rate
ignore-config parameter
BOOT environment variable
CONFIG_FILE environment variable
CONFIG_FILE recurrence configuration register
parameter
1. The ROM monitor console port baud rate is always 9600 baud.
Setting the Configuration Register
These sections describe how to modify the configuration register:
•
•
•
Setting the Boot Field in the Configuration Register
You can determine the boot method the switch will use at the next startup by setting the boot field in the
configuration register. This command affects only the configuration register bits that control the boot
field and leaves the remaining bits unaltered.
Software Configuration Guide—Catalyst 4000 Family, Catalyst 2948G, Catalyst 2980G, Releases 6.3 and 6.4
28-4
shows the default switch boot configuration.
Setting the Boot Field in the Configuration Register, page 28-4
Setting CONFIG_FILE Recurrence, page 28-5
Setting the Switch to Ignore the NVRAM Configuration, page 28-6
Chapter 28
Modifying the Switch Boot Configuration
Chapter 31, "Working with Configuration
Default Configuration
0x10f
System boots from the image specified in the
BOOT environment variable
1
9600 baud
Disabled
Empty
bootflash:switch.cfg
Nonrecurring
78-12647-02