07-02-2012 07:51 PM - edited 03-07-2019 07:34 AM
Working on a C4948-10g switch. Trying to reset switch to factory settings. I have ran the Switch#>wr erase, command but the vlan's are still in the config. If you do a show vlan it still shows all the vlan text. I have tried the Switch#>delete vlan.dat, doesn't work. Tried Switch#>delete nvram:vlan.dat, doesn't work. Tried Switch#>erase startup-config, doesn't work. How can I get rid of the vlan's?
07-02-2012 09:36 PM
07-03-2012 04:38 AM
I did the erase cat4000_flash: it took the command but the vlans are still there.
Sent from Cisco Technical Support iPhone App
07-03-2012 04:58 AM
Hi Scott,
Just to confirm, command which you did is:
erase cat4000_flash:vlan.dat ??
If No, please run the above mention command.
Regards,
Smitesh
07-03-2012 08:03 PM
That didn't work either. I should be able to do this command under Switch#erase cat4000_flash:vlan.dat
Any other ideas?
07-03-2012 08:08 PM
This is the error message that comes up
Switch#erase cat4000_flash:vlan.dat
^
% Invalid input detected at '^' marker.
Switch#
07-03-2012 08:11 PM
Some how it deleted its self. I power cycled the unit and check the vlans config and they seem to be all gone. Thanks for your help.
07-04-2012 02:47 AM
Working on a C4948-10g switch. Trying to reset switch to factory settings. I have ran the Switch#>wr erase, command but the vlan's are still in the config. If you do a show vlan it still shows all the vlan text. I have tried the Switch#>delete vlan.dat, doesn't work. Tried Switch#>delete nvram:vlan.dat, doesn't work. Tried Switch#>erase startup-config, doesn't work. How can I get rid of the vlan's?
Hello Scott,
Vlan.dat file only get removed from the swich when it gets reloaded, all the VLANs that were available on the switch are lost.
I hope that clear ot your query why after deleting the vlan.dat fle it was still showing unless it is rebooted.
Hope to Help !!
Ganeshh Iyer
08-08-2018 06:30 AM
Switch#erase cat4000_flash:
Erasing the cat4000_flash filesystem will remove all files! Continue? [confirm]
[OK]
Erase of cat4000_flash: complete
Switch#relo
Switch#reload
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