Resetting A Switch To Factory Default Settings - Cisco Catalyst 4500 series Administration Manual

Hide thumbs Also See for Catalyst 4500 series:
Table of Contents

Advertisement

Resetting a Switch to Factory Default Settings

Image in the Configuration File" section in the "Loading and Maintaining System Images and
Microcode" chapter of the Configuration Fundamentals Configuration Guide for details on setting the
BOOT environment variable.
Note
When you use the boot system and boot bootldr global configuration commands, you affect only the
running configuration. To save the configuration for future use, you must save the environment variable
settings to your startup configuration, which places the information under ROM monitor control. Enter
the copy system:running-config nvram:startup-config command to save the environment variables
from your running configuration to your startup configuration.
You can view the contents of the BOOT and BOOTLDR variables using the show bootvar command.
This command displays the settings for these variables as they exist in the startup configuration and in
the running configuration if a running configuration setting differs from a startup configuration setting.
This example shows how to check the BOOT and BOOTLDR variables on the switch:
Switch# show bootvar
BOOTLDR variable = bootflash:cat4000-is-mz,1;
Configuration register is 0x0
Switch#
Resetting a Switch to Factory Default Settings
Manufacturing and repair centers can use the erase /all non-default command to do the following:
For example, entering this command can generate the following output:
Switch# erase /all non-default
Erase and format operation will destroy all data in non-volatile storage.
[confirm]
Formatting bootflash: ...
Format of bootflash complete
Erasing nvram:
Erasing cat4000_flash:
Clearing crashinfo:data
Clearing the last power failure timestamp
Clearing all ROMMON variables
Setting default ROMMON variables:
Setting vtp mode to transparent
%WARNING! Please reboot the system for the changes to take effect
Switch#
00:01:48: %SYS-7-NV_BLOCK_INIT: Initialized the geometry of nvram
Switch#
If the Catalyst 4500 series switch is accessible to a TFTP server, you can copy an image to the bootflash
memory with the TFTP command:
Switch# copy tftp://192.20.3.123/tftpboot/abc/cat4500-entservices-mz.bin bootflash:
Software Configuration Guide—Release IOS XE 3.6.0E and IOS 15.2(2)E
3-32
Clear the nonvolatile configurations and states of the local supervisor engine (NVRAM and flashes).
Set the factory default parameters on the Catalyst 4500 series switch before it is ready to ship to a
customer.
ConfigReg=0x2101
PS1=rommon ! >
EnableAutoConfig=1
Chapter 3
Configuring the Switch for the First Time
Continue?
OL-30933-01

Advertisement

Table of Contents
loading

Table of Contents