Cisco Catalyst 4500 Series Command Reference Manual page 311

Cisco ios command reference release ios xe 3.4.0sg and ios 15.1(2)sg
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

Chapter 2
Cisco IOS Commands for the Catalyst 4500 Series Switches
For the default settings, refer to these guides:
Caution
The erase /all non-default command can erase Cisco IOS images in bootflash:. Ensure that a Cisco IOS
image can be copied back to the bootflash: (such as, from a accessible TFTP server or a flash card
inserted in slot0:) (available on most chassis models), or that the switch can boot from a image stored in
an accessible network server.
Examples
This example shows how to erase the files and configuration in a nonvolatile storage and reset the switch
to factory default settings:
Switch# erase /all non-default
Switch#
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#
This example shows how to erase the contents in nvram.
Switch# erase /all nvram:
Erasing the nvram filesystem will remove all files! Continue? [confirm]
[OK]
Erase of nvram: complete
Switch#
00:38:10: %SYS-7-NV_BLOCK_INIT: Initalized the geometry of nvram
Switch#
This example shows how to erase filesystem cat4000_flash.
Switch# erase cat4000_flash:
Erasing the cat4000_flash filesystem will remove all files! Continue? [confirm]
[OK]
Erase of cat4000_flash:complete
Switch#
OL-27596 -01
Cisco IOS Configuration Fundamentals Configuration Guide, Release 12.2, at this URL:
http://www.cisco.com/en/US/docs/ios/fundamentals/configuration/guide/12_4/cf_12_4_book.html
Cisco IOS Configuration Fundamentals Configuration Command Reference, Release 12.2, at this
URL:
http://www.cisco.com/en/US/docs/ios/12_2/configfun/command/reference/ffun_r.html
ConfigReg=0x2101
PS1=rommon ! >
EnableAutoConfig=1
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release IOS XE 3.4.0SG and IOS 15.1(2)SG)
erase
Continue?
2-253

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents