cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
863
Views
4
Helpful
2
Replies

Erase did not get rid of VTP

servnj
Level 1
Level 1

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

2 Replies 2

Mark Yeates
Level 7
Level 7

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

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

Review Cisco Networking products for a $25 gift card