Setting Config_File Recurrence - Cisco WS-C4003 - Catalyst 4000 Chassis Switch Software Configuration Manual

Software guide
Table of Contents

Advertisement

Chapter 28
Modifying the Switch Boot Configuration
The following boot methods are supported:
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.
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.
With the CONFIG_FILE environment variable set to recurring, the current configuration in NVRAM
Caution
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
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).
Software Configuration Guide—Catalyst 4000 Family, Catalyst 2948G, Catalyst 2980G, Releases 6.3 and 6.4
Setting the Configuration Register
Command
set boot config-register boot {rommon |
bootflash | system} [mod_num]
28-5

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 4000 seriesCatalyst 2948gCatalyst 2980g

Table of Contents