cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
Join Customer Connection to register!
54855
Views
30
Helpful
5
Replies
RyanBr
Beginner

Reset a 2960X to Factory

I am unable to successfully use the method where you hold down the mode button.

 

So, I go to CLI and erase the config.text and vlan.dat files. and then use reload command.

 

It asks me if I want to save:  None of the insturctions tell me what to do.  I chose yes.

 

When switch reboots, all info is still there.

5 REPLIES 5
MandeepDeol
Beginner

This example shows how to reset a switch running Cisco IOS Software to factory defaults with the write erase command:

Cat2960# write erase
Erasing the nvram filesystem will remove all files! Continue? [confirm]y[OK]
Erase of nvram: complete
Cat2960#
Cat2960# reload

System configuration has been modified. Save? [yes/no]: n

!--- Do not save the configuration at this prompt. Otherwise, the switch !--- reloads with the current running configuration and does not reset to default.
Proceed with reload? [confirm]y

That worked.  Thank you Mandeep.

Hello,

 

For a 2960-X connected though USB cable, in my case, I see : 

 

prompt is  ">"

I push the "MODE" button during many seconds (around 5 , then 10 and then 30 seconds)

but nothing happen..

 

I also try to power on the switch, and push "MODE" button ...

nothing happen too.

 

The "enable" password is lost.

I just see the secret value of "enable" (it's encrypted) inside a very old configuration file.

 

Then, I don't know how to reset this switch .

Can you help me ?

Regards,

 

 

Then,

I write "login"

and write the credentials ...

and I'm connected without the secret enable, with prompt "#" ...

 

paul driver
VIP Mentor

Hello
Power of the switch, press the mode button for 20 seconds or until SYS led goes solid and release mode button, you should then be in rommon mode.

Then:

flash_init
load_helper
rename flash:config.text flash:configOLD.text
boot

once switch restarts
rename flash:configOLD.text flash:config.text
copy flash:config.text system:running-config
<change the access credentials)
copy run start

 



kind regards
Paul

Please rate and mark posts accordingly if you have found any of the information provided useful.
It will hopefully assist others with similar issues in the future