cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
594
Views
9
Helpful
12
Replies

What happens......(VTP Question)

rwamstutz
Level 1
Level 1

If you have 2 switches, both in the same VTP domain and both VTP Servers. What happens if you add a VLAN on 1 switch, does it show on the other?

12 Replies 12

Kevin Dorrell
Level 10
Level 10

Yes it does, as long as the switches are trunked together, the VTP domain matches, and the VTP password (if any) matches.

Protocol-wise there is no difference between a VTP server and a VTP client. The only operational difference is that the client will not allow you to use the CLI (Command Line Interface) to change the list of VLANs.

Kevin Dorrell

Luxembourg

can I change a VTP Server to a VTP Client while in production?

Yes, you can, allthough you will have to give it some thoughts, because you should be aware that if you set your last vtp server to client mode all other vtp clients will loose there vtp server (which is bad, as they will loose all vlans). If you still have another vtp server you can safely set the other vtp server to cient mode.

HTH,

Leo

Sorry, I disagree. If you take a VTP server on its own, and change it to a VTP client, will it will lose its VLANs. I don't think it needs a server to be active on the network all the time - only when updating.

As I was saying, the only difference between a server and a client is in the CLI. Note this: a client still transmits advertisments, and can still update the network.

Try this experiment: take a network of two switches, A and B, both VTP srver, and create some VLANs. Remove the link between them, and change switch A to VTP client. Does switch A lose the VLANs? I don't think so.

Then go to switch B, which is still VTP server, and remove half of the VLANs. The VTP revision level goes up. Change switch B to VTP client and then reconnect it to switch A, which is also VTP client. You now have two VTP clients connected together. What has happened to your VLANs? I think switch B will learn the new config from switch A.

Kevin Dorrell

Luxembourg

Kevin,

I agree with what you say, the thing though is that if all swicthes are VTP clients and one reloads, it will come up and configure itself as VTP server. As long as another client still holds a higher revision number there is nothing wrong, but problems may arise later on. I would always ensure there is at least 1 VTP server in your VTP domain.

HTH,

Leo

why on earth would yo set *all* switches to client mode? If you do that, the network will work, all will have all the vlans, but you won't be able to add/delete vlans.

Normally one would leave core switches as servers, so that VLANs can be added/removed from the servers.

Ok, what if, Both are VTP Servers, and I decided to add a switch to 1 of the switches that is a VTP Server. What happens to the config or the VTP Setting for that switch after a switch is merged to form a stack?

If you add a switch, configured for VTP client it will simply receive the vlan info from the VTP server, that is, if the vtp domain matches and the revision is not higher then the vtp server's revision.

Leo

What if you add a switch, that is configured as a VTP Server with no domain, to another switch that is configured as a VTP Server for domain1 to form a stack? Which VTP Server takes precedence?

I would strongly recommend to avoid having two vtp domains in one switch environment. What is it you are trying to achieve. It souns like transparant mode is the mode to go for you instead of client or server.

yea, I understand that. I am waiting to merge two switches for form a switch stack. I am curious to know what happens to the configs on switch 1 and the configs on switch 2 when they are formed to create a switch stack? does everything reset and new configs need to be loaded?

So, basically your question is not aboput vtp but about stacking behavior. In that case I would recommend reading the following:

http://www.cisco.com/en/US/products/hw/switches/ps5023/products_configuration_guide_chapter09186a00808c7409.html

It boils down to that the elected master will be leading in config, so you will definately loose one of the vtp domains in this case.

HTH,

Leo

Review Cisco Networking products for a $25 gift card