I need to erase all the settings on our old Cisco switches. I have already logged into (enable-mode
after password reset). Now I'm not sure what exactly I need to erase in the (dir) I noticed there is the config.text/vlan.dat files....Do I need to remove those? When I "more" command the config.text file it shows a lot of ip,vlan,etc data that looks like it should be removed before we get rid of these.
2 Answers
Also, be sure to delete the vlan.dat
file on the switch and reload before placing on a live, critical network. Keeping this old file will cause some serious network outages :)
Have you tried the command
Erase start-upconfig
The command returns all your settings to the factory default (in your startup-config). The only thing you have to do after that is a reload. Then when the reload is complete you'll have the default settings.
-
That does not actually erase the
vlan.dat
file that holds all the VLAN information, and the VLANs will reappear.– Ron Maupin ♦Jun 11, 2019 at 13:27
write erase
?