Setting Config_File Recurrence - Cisco WS-C2950SX-48-SI Configuration Manual

Catalyst 4500 series switches
Hide thumbs Also See for WS-C2950SX-48-SI:
Table of Contents

Advertisement

Chapter 32
Modifying the Switch Boot Configuration
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).
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)
78-15486-01
Catalyst 4500 Series, Catalyst 2948G, Catalyst 2980G Switches Software Configuration Guide
Setting the Configuration Register
Command
set boot config-register boot {rommon |
bootflash | system} [mod_num]
Command
set boot config-register auto-config
{recurring | non-recurring}
Release 8.1
32-5

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents