09-29-2012 09:50 PM - edited 03-07-2019 09:11 AM
Hi. How i can remove the vtp domain after i define it ?
Sent from Cisco Technical Support iPhone App
09-29-2012 11:55 PM
Hi Sahar,
You can set the VTP mode as OFF only in CAT OS. There is no way to disable it in IOS, other than putting it in transparent mode
You can configure a switch to operate in any one of these VTP modes
Refer: http://www.cisco.com/en/US/tech/tk389/tk689/technologies_tech_note09186a0080094c52.shtml#vtp_modes
If you configure a switch for VTP transparent mode, you can create and modify VLANs, but the changes are not sent to other switches in the domain, and they affect only the individual switch
By default, the switch is in VTP no-management-domain state until it receives an advertisement for a domain over a trunk link or until you configure a domain name.
VTP server is the default mode.
Default VTP Configuration
VTP domain name - Null
VTP mode - Server
VTP version 2 enable state - Version 2 is disabled
VTP password - None
VTP pruning - Disabled
When configuring VTP for the first time, you must always assign a domain name. You must configure all switches in the VTP domain with the same domain name.
To return the switch to a no-password state, use the no vtp password VLAN configuration command
Use the no vtp mode global configuration command to return the switch to VTP server mode
To disable VTP version 2, use the no vtp version privileged EXEC command
To disable VTP pruning, use the no vtp pruning privileged EXEC command
Regards,
Aru
*** Please rate if this post is useful ***
09-30-2012 12:13 AM
Hello Sahar,
If the switch is in server mode, the only way is to delete vlan.dat file and reload the switch.
regards
Harish.
09-30-2012 12:56 PM
Hello Sahar,
When you configure the switch for VTP transparent mode, you disable VTP on the switch. The switch does not send VTP updates and does not act on VTP updates received from other switches. However, a VTP transparent switch running VTP version 2 does forward received VTP advertisements on all of its trunk links.
http://everything.explained.at/VLAN_Trunking_Protocol/
thanks
09-30-2012 05:06 PM
Hi there,
since the theory is already on the answers here is some code valid for most of the platforms:
switch>enable
switch# vlan database
switch(vlan)# vtp mode transparent
switch(vlan)#apply
switch(vlan)#exit
switch#copy run start
switch#!
switch#
Hope this helps
Alessio
10-01-2012 06:23 PM
Try this and don't type "y" or "yes" just accept the defaults by hitting the return key. If you type "y", the router attempts to delete a file named "y"
Switch#delete vlan.dat
Delete filename [vlan.dat]?
Delete flash:vlan.dat? [confirm]
Thanks
Bigk
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: