This is my first post in what I hope to be a long line of Cisco networking related posts, as I have just gotten my hands on a bit of used Cisco equipment and hope to use it to setup a home lab.
First step of setting up this home lab is to get my two Catalyst 2960s reset to factory defaults. So here is how you do it. Note that I am assuming that you have already established a console connection to the switch.
First,boot up the switch while holding down the MODE button until you see the following appear on the screen
Boot Sector Filesystem (bs) installed, fsid: 2
Base ethernet MAC Address: 00:17:0e:17:de:80
Xmodem file system is available.
The password-recovery mechanism is enabled.
The system has been interrupted prior to initializing the
flash filesystem. The following commands will initialize
the flash filesystem, and finish loading the operating
Then type flash_init
flashfs: 547 files, 19 directories
flashfs: 0 orphaned files, 0 orphaned directories
flashfs: Total bytes: 32514048
flashfs: Bytes used: 15487488
flashfs: Bytes available: 17026560
flashfs: flashfs fsck took 11 seconds.
…done Initializing Flash.
Check out the contents of flash and locate config.text and vlan.dat (if it exists).
switch: dir flash:
Directory of flash:/
2 -rwx 564 <date> vlan.dat
3 -rwx 1914 <date> private-config.text
5 drwx 192 <date> c2960-lanbasek9-mz.122-58.SE2
6 -rwx 3096 <date> multiple-fs
7 -rwx 2289 <date> config.text
Now delete the vlan.dat and config.text.
switch: del flash:config.text
Are you sure you want to delete “flash:config.text” (y/n)?y
File “flash:config.text” deleted
switch: del flash:vlan.dat
Are you sure you want to delete “flash:vlan.dat” (y/n)?y
File “flash:vlan.dat” deleted
Now type boot, to reboot the switch. Once the switch is rebooted you will see the System Configuration Dialog, and will have the opportunity “to enter the initial configuration dialog”
9 thoughts on “How to Reset Cisco Catalyst 2960 Back to Factory Defaults”
thanky you very much
Thanks!!! You saved my time!
thanks U so much, was hopefully for me. 🙂
Worked. Thanks mate
Thanks it’s very easy to follow.
Pingback: IOS Boot Process | A L L A B O U T N E T W O R K
Pingback: Reset to Cisco Switch to Factory Defaults – jedge.com Information Security