Deleting vlan Database on 6500 running IOS

Answered Question
Jun 4th, 2009
User Badges:

Hello,

Trying to delete the vlan database on a 6500 running IOS.

Please help.


Jeremy

Correct Answer by lamav about 7 years 9 months ago

Hi:



do a "dir all-files"


Find the directory where the vlan.dat file is found and delete it.


example:


del nvram:vlan.dat

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (2 ratings)
Loading.
Jon Marshall Thu, 06/04/2009 - 14:38
User Badges:
  • Super Blue, 32500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN

Jeremy


erase const_nvram:/vlan.dat


Jon

anjery1234 Thu, 06/04/2009 - 15:57
User Badges:

Jon,


Not sure what I'm doing wrong.

All appeared fine but the command won't work. The code I'm running is s72033-ipservicesk9-mz.122-18.SXF5.bin


bkbb-rp01#erase const_nvram:/vlan.dat

^

% Invalid input detected at '^' marker.


bkbb-rp01#dir con

bkbb-rp01#dir const_nvram:

Directory of const_nvram:/


1 -rw- 0 vlan.dat


129004 bytes total (129004 bytes free)

Correct Answer
lamav Thu, 06/04/2009 - 17:31
User Badges:
  • Blue, 1500 points or more

Hi:



do a "dir all-files"


Find the directory where the vlan.dat file is found and delete it.


example:


del nvram:vlan.dat

Jon Marshall Fri, 06/05/2009 - 00:00
User Badges:
  • Super Blue, 32500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN

Jeremy


Just try


6500# erase const_nvram:


If that doesn't work


6500# erase ?


do you get the option to erase the const_nvram: ?


Jon

anjery1234 Fri, 06/05/2009 - 04:09
User Badges:

Jon,

This first command was the good one.

I just needed to set my vtp mode to server.


Thanks a lot

Actions

This Discussion