Erase a configuration- Write Erase command erases switch configuration. Erases configuration but leave VLans as these are a separate configuration file. VLan.Dat
Code to wipe the switch
Write Erase
Delete Vlan.dat
Cisco Switch and Router Memory
ROM- Read Only Memory- Stores the switches bootstrap startup, operating system and Power on self tests(POST)
Flash Memory- Stores the IOS images. Flash is erasable and reprogram able. Flash content is retained on a reload.
RAM- Random access Memory- Stores operation information. Routing and switching tables and running configuration. This information is lost when the switch reboots
NVRAM- Nonvolatile Random access memory- Stores the switches startup configuration.
Boot order-
Post tests
Looks for IOS - first in Flash, second TFTP server, third in ROM.
Looks for startup config- First NVRam, second TFTP server, Then runs system configuration Diaglog