Cisco Catalyst 4500 Series Configuration Manual page 290

Ios software configuration guide isco ios xe 3.9.0e and ios 15.2(5)ex
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

erase
erase
To erase a file system, use the erase command.
Syntax Description
/all nvram:
/all non-default
cat4000_flash:
nvram:
startup-config:
Command Default
This command has no default settings.
Command Modes
Privileged EXEC mode
Command History
Release
12.2(25)SG
Usage Guidelines
Caution
When you use the erase command to erase a file system, you cannot recover the files in the file system.
In addition to the command options shown above, options with the prefix slave that are used to identify
nvram: and flash (such as slavenvram: and slavecat4000_flash:) appear in the command help messages
on the dual supervisor engine redundancy switch.
The erase nvram: command replaces the write erase and the erase startup-confg commands. This
command erases both the startup-config and the private-config file.
The erase /all nvram: command erases all files in nvram: in addition to startup-config file and
private-config file.
The erase cat4000_flash: command erases the VLAN database configuration file.
The erase /all non-default command facilitates the work of a manufacturing facility and repair center.
It erases the configuration and states stored in the nonvolatile storage and resets the Catalyst 4500 series
switch to the factory default settings. The default settings include those mentioned in the Cisco IOS
library as well as those set by the erase /all non-default command (vtp mode=transparent, and the
ROMMON variables: ConfigReg=0x2101, PS1= "rommon ! >" and EnableAutoConfig=1).
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release XE 3.9.xE and 15.2(5)Ex
2-252
erase {/all [non-default | nvram:] | cat4000_flash | nvram: | startup-config}
Erases everything in nvram:.
Erases files and configuration in nonvolatile storage including
nvram:, bootflash:, cat4000_flash:, and crashinfo: of the local
supervisor engine. Resets the Catalyst 4500 series switch to the
factory default settings.
This command option is intended to work only on a
Note
standalone supervisor engine.
Erases the VLAN database configuration file.
Erases the startup-config and private-config file in NVRAM.
Erases the startup-config and private-config file in NVRAM.
Modification
This command was introduced on the Catalyst 4500 series switch.
Chapter 2
Cisco IOS Commands for the Catalyst 4500 Series Switches
OL-30934-01

Advertisement

Table of Contents
loading

Table of Contents