09-18-2008 09:11 AM - edited 03-06-2019 01:27 AM
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
09-18-2008 09:19 AM
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
09-19-2008 07:49 AM
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
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