Cisco WS-C4003 Software Guide - Page 423
Setting CONFIG_FILE Recurrence
View all Cisco WS-C4003 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 423 highlights
Chapter 28 Modifying the Switch Boot Configuration Setting the Configuration Register The following boot methods are supported: • ROM monitor-Use the rommon keyword to keep the switch in ROM-monitor mode at startup. • Bootflash-Use the bootflash keyword to cause the switch to boot from the first image stored in the onboard Flash. • System-Use the system keyword to boot from the image specified in the BOOT environment variable (the default). Note We recommend that you use only the rommon and system options to the set boot config-register boot command. To set the configuration register boot field, perform this task in privileged mode: Task Specify the boot field in the configuration register. Command set boot config-register boot {rommon | bootflash | system} [mod_num] This example shows how to force the switch to enter ROM-monitor mode at the next startup: Console> (enable) set boot config-register boot rommon Configuration register is 0x0 ignore-config: disabled auto-config: non-recurring console baud: 9600 boot: the ROM monitor Console> (enable) Setting CONFIG_FILE Recurrence By default, when you set the CONFIG_FILE environment variable, the list of configuration files to use at startup is retained only until the next time the switch is restarted. You can cause the system software to retain the CONFIG_FILE environment variable settings indefinitely so that each time the switch is restarted, the specified configuration files are used to configure the switch. This command affects only the configuration register bit that controls whether the CONFIG_FILE environment variable settings are recurring or nonrecurring. The remaining configuration register bits are unaltered. Caution With the CONFIG_FILE environment variable set to recurring, the current configuration in NVRAM is erased each time the switch is restarted and the switch is configured using the specified configuration files. With the CONFIG_FILE environment variable set to non-recurring, the current configuration in NVRAM is erased at the next restart and the switch is configured using the specified configuration files. The NVRAM configuration is retained after subsequent restarts (unless you again set the CONFIG_FILE variable). 78-12647-02 Software Configuration Guide-Catalyst 4000 Family, Catalyst 2948G, Catalyst 2980G, Releases 6.3 and 6.4 28-5