ā08-22-2018 08:45 AM
Can anyone help me determine what files need to be deleted from flash to completely reset a Catalyst 9300-48U switch to factory defaults?
I'm looking to remove everything that has been added since the time it was pulled out of the box... config, vlans, switch number in stack, authentication mode new-style, etc...
I'm running version 16.6.2, so the "factory-reset all" command introduced in 16.8.x is not available on my switches.
Thank you.
ā03-02-2019 06:04 PM
Have you had any luck with this?
I myself am trying to reset all the configurations to factory so I can start from scratch.
I'm at Everest 16.6.5 of my Catalyst 9300.
If anyone can help, I'd appreciate.
ā03-04-2019 02:42 PM
Hello,
You need to enter the following command at the Privilege exec mode:
Device# factory-reset all
No system configuration is required to use the factory reset command but the command won't work in stacking mode. Also, using the "ALL" will erase all the content from the NVRAM, all the Cisco IOS images, including the current boot image, boot variables, startup and running configuration data, and user data.
You can use the option config to reset the start-up configurations or use the option boot-vars to reset the user added boot variables. Hope this helps !
ā07-06-2019 09:03 PM
I have tried the factory-reset all, and the switch still thinks a user ID & password is configured when I log into the WebGUI vs asking me to setup a password. I am not sure what else to do. Any suggestions?
Thx
Bryan
ā01-28-2020 06:10 PM
bdgarcia@gmail.com wrote:I have tried the factory-reset all, and the switch still thinks a user ID & password is configured when I log into the WebGUI vs asking me to setup a password. I am not sure what else to do. Any suggestions?
Thx
Bryan
I wouldn't be using the WebGUI to configure a switch. Drop back to a console connection and then try again.
If you're partially configuring the switch and then attempting to configure the switch from the GUI then you'll need to set a username / password on the switch first. I suspect that, from what you've written above, that you're configuring the switch with an IP so that you can access it from the GUI.
I used the factory-reset all function and it annihilated every bit of config on the tin except for the default functions already installed
ā02-03-2020 05:46 AM
ā02-24-2021 07:21 AM - edited ā02-24-2021 01:29 PM
I use this method and I highly recommend not doing this unless you have years of experience working with Cisco switches. Although there is a somewhat simple recovery from this, I would only perform this if absolutely necessary. IT completely removes the IOS image and the boot variable.
I used this link to recover from this factory reset.
ā09-18-2019 07:48 AM
you can use
#erase startup-config
#reload
ā04-30-2024 12:20 AM
Hi, Please try with these commands in cli
erase nvram:
erase /all nvram:
erase start-up configuration
then do write erase
now reload the switch and type no if asked to save the configuration
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide