Setting the Configuration Register
To set the switch to retain the current CONFIG_FILE environment variable indefinitely, perform this
task in privileged mode:
Task
Set the switch to retain the current CONFIG_FILE
environment variable indefinitely.
This example shows how to set the switch to retain the current CONFIG_FILE variable indefinitely:
Console> (enable) set boot config-register auto-config recurring
Configuration register is 0x1820
ignore-config: disabled
auto-config: recurring
console baud: 9600
boot: the ROM monitor
Console> (enable)
Setting the Switch to Ignore the NVRAM Configuration
You can cause the system software to ignore the configuration information stored in NVRAM the next
time the switch is restarted. This command affects only the configuration register bits that control
whether the switch ignores the NVRAM configuration and leaves the remaining bits unaltered. This
command only affects the next system restart.
Enabling the ignore-config parameter is the same as entering the clear config all command; that is, it
Caution
clears the entire configuration stored in NVRAM the next time the switch is restarted.
To set the switch to ignore the NVRAM configuration at the next startup, perform this task in privileged
mode:
Task
Set the switch to ignore the contents of NVRAM
at startup.
This example shows how to set the switch to ignore the NVRAM configuration at the next startup:
Console> (enable) set boot config-register ignore-config enable
Configuration register is 0x1860
ignore-config: enabled
auto-config: recurring
console baud: 9600
boot: the ROM monitor
Console> (enable)
Software Configuration Guide—Catalyst 4000 Family, Catalyst 2948G, Catalyst 2980G, Releases 6.3 and 6.4
28-6
Chapter 28
Modifying the Switch Boot Configuration
Command
set boot config-register auto-config
{recurring | non-recurring}
Command
set boot config-register ignore-config enable
78-12647-02