80
Chapter 2
Connecting the Switch Block
Erasing the Switch Configuration
The switches automatically copy their configuration to NVRAM. You can
delete the configurations if you want to start over.
5000 Series Set-Based Switch
To delete the configurations stored in non-volatile RAM (NVRAM) on the
5000 series switch, use the clear config all command. The erase all
command will delete the contents of flash without warning! Be careful. Here
is the code:
Todd5000> (enable) clear config ?
Usage: clear config all
clear config <mod_num>
clear config rmon
clear config extendedrmon
Todd5000> (enable) clear config all
This command will clear all configuration in NVRAM.
This command will cause ifIndex to be reassigned on the
next system startup.
Do you want to continue (y/n) [n]? y
........
.................
System configuration cleared.
To delete the contents of flash, use the erase all command:
Todd5000> (enable) erase all
FLASH on Catalyst:
Type Address Location
Intel 28F016 20000000 NMP (P3) 8MB SIM
Erasing flash sector...
Todd5000> (enable)
Todd5000> (enable) sh flash
File Version Sector Size Built
--------- -------------- -------- ------- -------
Copyright ©2000 SYBEX , Inc., Alameda, CA
www.sybex.com