Erase did not get rid of VTP

Unanswered Question
Sep 18th, 2008

I have a Cisco 3550 switch that I am playing with, I wanted to start from scratch so I did a "Erase startup-config" and Than "reload". On startup everything was gone except for VTP and VLANs. I can get rid of the vlans with "no vlan #" But

"no vtp domain name" gets error "Invalid input detected at marker" If I erase startup-cofig why is it not deleting the VTP and VLAN info? Thanks

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4 (1 ratings)
Loading.
Mark Yeates Thu, 09/18/2008 - 09:19

David,

You will want to delete the vlan.dat file in flash. The reason is that this vlan and VTP information is actually kept in the VLAN.DAT file in flash memory, and the contents of flash are kept on a reload. The file has to be deleted manually.

HTH,

Mark

nathan.haley Fri, 09/19/2008 - 07:49

You can also issue the commands

#vlan database

vlan)#vtp server

vlan)#vtp domain xxx

vlan)#exit

#conf t

(config)#vtp mode server

(configt)#vtp domain XXX

To remove

(config)#no vlan xxx

To add

(config)# vlan xxx

(config-vlan)# name XXX

Or

(config)#vlan xxx name XXXX

Changing the domain name will reset the configuration revision number

To delete the SVI interfaces do

no int vlan XXX

SVI's are also removed with the write erase command

Alternately if you do not have to keep the device operational like the above post

delete flash:vlan.dat

vlan dat is now depreciated

Actions

This Discussion