Erase did not get rid of VTP

Unanswered Question
Sep 18th, 2008
User Badges:

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)
Mark Yeates Thu, 09/18/2008 - 09:19
User Badges:
  • Gold, 750 points or more


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.



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

You can also issue the commands

#vlan database

vlan)#vtp server

vlan)#vtp domain xxx


#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


(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


This Discussion