Cannot reset Cisco Catalyst 3850 Switch to Factory Settings

Hello - we just purchased two used Catalyst 3850 switches, and need to clear the settings back to factory, and holding the Mode button down is not working.  The manual says to "Enter erase startup-config EXEC command, before holding the Mode button down - how do we enter that if we cannot access the switch?  Thanks for your help.
Damian_GardnerAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Natty GregIn Theory (IT)Commented:
Here are a few steps to reset a switch when password isn't know

1.   Hook up a console cable to the Console Port and use Putty or other serial client to view the Console session
2.   Hold down the Mode button on the front of the switch and power it up
3.   When the SYST light stops blinking, let go of the SYST button
4.   You should see the switch booting up in your console session
5.   When presented with switch: type flash_init and hit enter
6.   Once it finishes loading, you need to delete some files in the flash. List the files by entering dir flash: (don’t forget the : at the end)
7.   Delete the config by entering del flash:config.txt
8.   You may also have VLANS set up on the switch, so you need to delete that info as well, del flash:vlan.dat
9.   Now type boot and hit enter to reboot the switch
That’s it. The switch will now go through a factory default boot up, and ask you if you want to configure it further
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Cisco

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.