Factory Resetting a Cisco Switch
Categories Cisco

Steps to reset a Cisco Switch (we’re using a Cisco 3750v2 for this example). The 3750v2 is a great labbing switch – I used this model for my CCNP.
It should be noted a better way to do this would be renaming the config.text on the flash. From mode switch:
rename flash:config.text flash:config.old
Scenario: You need access to an IOS device and are locked out. You have physical access to the device and don’t care about the previous config – you need a vanilla config.
On windows I really like using MobaXterm this application is packed with a ton of features! Check it out: https://mobaxterm.mobatek.net/download.html

- power off the device.
- Hold down the mode button and plug the power back into the device.
- wait 20 seconds and release the Mode button.

- Initialize the flash and list the directory contents:
flash_init
dir flash:

Next delete the vlan.dat and config.text.
del vlan.dat
del config.text

Issue boot command to reboot the device:
boot

