Cisco WS-C4003 Software Guide - Page 422
Default Switch Boot Configuration, Setting the Configuration Register, Setting the Boot Field in
View all Cisco WS-C4003 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 422 highlights
Default Switch Boot Configuration Chapter 28 Modifying the 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. Note For more information about using configuration files, see Chapter 31, "Working with Configuration Files." Default Switch Boot Configuration Table 28-1 shows the default switch boot configuration. Table 28-1 Default Switch Boot Configuration Feature Default Configuration Configuration register value 0x10f Boot method ROM monitor console port baud rate System boots from the image specified in the BOOT environment variable 9600 baud1 ignore-config parameter Disabled BOOT environment variable Empty CONFIG_FILE environment variable bootflash:switch.cfg CONFIG_FILE recurrence configuration register Nonrecurring 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, page 28-4 • Setting CONFIG_FILE Recurrence, page 28-5 • Setting the Switch to Ignore the NVRAM Configuration, page 28-6 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. 28-4 Software Configuration Guide-Catalyst 4000 Family, Catalyst 2948G, Catalyst 2980G, Releases 6.3 and 6.4 78-12647-02