factory reset cisco catalyst 2960 (L2 sw)

Connect up your console cable and power on the switch, whilst holding down the “mode” button:

 

 

 

 

 

Boot Sector Filesystem (bs) installed, fsid: 2
Base ethernet MAC Address: 24:b6:57:98:4e: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
system software:

flash_init
boot

switch:

switch:

switch:

switch: flash_init
Initializing Flash…
flashfs[0]: 542 files, 19 directories
flashfs[0]: 0 orphaned files, 0 orphaned directories
flashfs[0]: Total bytes: 32514048
flashfs[0]: Bytes used: 11558912
flashfs[0]: Bytes available: 20955136
flashfs[0]: flashfs fsck took 11 seconds.
…done Initializing Flash.

switch: del flsh:config.text
Are you sure you want to delete “flsh:confg.text” (y/n)?y
File “flsh:confg.text” not deleted — no such device

switch:del flash:config.text
Unknown cmd:del

switch: del flash:config.text
Unknown cmd: del

switch:
Unknown cmd:

switch:

switch:

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

switch:

switch:

switch: boot

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.