cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
793
Views
20
Helpful
5
Replies

vtp domain

sahar.co67
Beginner
Beginner

Hi. How i can remove the vtp domain after i define it ?

Sent from Cisco Technical Support iPhone App

5 Replies 5

Arumugam Muthaiah
Cisco Employee
Cisco Employee

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

  • Server - In VTP server mode, you can create, modify, and delete VLANs and specify other configuration parameters, such as VTP version and VTP pruning, for the entire VTP domain. VTP servers advertise their VLAN configuration to other switches in the same VTP domain and synchronize their VLAN configuration with other switches based on advertisements received over trunk links. VTP server is the default mode.
  • Client - VTP clients behave the same way as VTP servers, but you cannot create, change, or delete VLANs on a VTP client.
  • Transparent - VTP transparent switches do not participate in VTP. A VTP transparent switch does not advertise its VLAN configuration and does not synchronize its VLAN configuration based on received advertisements, but transparent switches do forward VTP advertisements that they receive out their trunk ports in VTP Version 2.
  • Off (configurable only in CatOS switches) - In the three described modes, VTP advertisements are received and transmitted as soon as the switch enters the management domain state. In the VTP off mode, switches behave the same as in VTP transparent mode with the exception that VTP advertisements are not forwarded

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 ***

Regards, Aru *** Please rate if the post useful ***

Harish Balakrishnan
Enthusiast
Enthusiast

Hello Sahar,

If the switch is in server mode, the only way is to delete vlan.dat file and reload the switch.

regards

Harish.

singhaam007
Participant
Participant

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

Alessio Andreoli
Contributor
Contributor

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

cisco steps
Beginner
Beginner

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

Getting Started

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:

Recognize Your Peers