Setting The Switch To Ignore The Nvram Configuration; Setting The Boot Environment Variable - Cisco WS-C2948G-GE-TX Configuration Manual

Catalyst 4500 series switch
Table of Contents

Advertisement

Setting the BOOT Environment Variable

Setting the Switch to Ignore the NVRAM Configuration

You can cause the system software to ignore the configuration information that is stored in NVRAM
when 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 that is stored in NVRAM the next time that 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)
Setting the BOOT Environment Variable
The next two sections describe how to modify the BOOT environment variable.
Setting the BOOT Environment Variable
To add a system image to the BOOT environment variable, perform this task in privileged mode:
Task
Set the BOOT environment variable.
This example shows how to set the BOOT environment variable:
Console> (enable) set boot system flash bootflash:cat4000.5-1-1.bin
BOOT variable = bootflash:cat4000.5-1-1.bin,1;
Console> (enable) set boot system flash bootflash:cat4000.4-5-2.bin
BOOT variable = bootflash:cat4000.5-1-1.bin,1;bootflash:cat4000.4-5-2.bin,1;
Console> (enable) set boot system flash bootflash:cat4000.6-1-1.bin prepend
BOOT variable = bootflash:cat4000.6-1-1.bin,1;bootflash:cat4000.5-1-1.bin,1;
bootflash:cat4000.4-5-2.bin,1;
Console> (enable)
Catalyst 4500 Series, Catalyst 2948G, Catalyst 2948G-GE-TX, and Catalyst 2980G Switches Software Configuration Guide—Release 8.2GLX
32-6
Chapter 32
Modifying the Switch Boot Configuration
Command
set boot config-register ignore-config enable
Command
set boot system flash device:[filename]
[prepend] [mod_num]
78-15908-01

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents