How to Delete vlan config on C4948-10g

Unanswered Question
Jul 2nd, 2012
User Badges:

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?                 

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
househunterlives Tue, 07/03/2012 - 04:38
User Badges:

I did the erase cat4000_flash: it took the command but the vlans are still there.


Sent from Cisco Technical Support iPhone App

smitesh kharecha Tue, 07/03/2012 - 04:58
User Badges:
  • Silver, 250 points or more

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

househunterlives Tue, 07/03/2012 - 20:03
User Badges:

That didn't work either. I should be able to do this command under Switch#erase cat4000_flash:vlan.dat


Any other ideas?

househunterlives Tue, 07/03/2012 - 20:08
User Badges:


This is the error message that comes up

 

Switch#erase cat4000_flash:vlan.dat
             ^
% Invalid input detected at '^' marker.

Switch#

househunterlives Tue, 07/03/2012 - 20:11
User Badges:

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.

Ganesh Hariharan Wed, 07/04/2012 - 02:47
User Badges:
  • Purple, 4500 points or more
  • Community Spotlight Award,

    Member's Choice, February 2016

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

Actions

This Discussion

Related Content