01-24-2019 01:19 AM - edited 03-08-2019 05:07 PM
My small network contains a single Cat 3560 switch, that has several vlans configured on it and it is also set as the VTP server.
I have a few newer Cisco switches that I want to add to the network. They have been configured by someone else for me via console and I have not yet plugged them into the network. I'm concerned that doing so could mess things up, with the existing switch being the VTP server. These newer switches have some vlans configured on them that the current switch does not. I do want to use these new vlans and want them to show up on all the switches.
Should I configure something differently first before I plug any of the new switches in?
Once the new switches are in service, what's the proper way to move the VTP server role from one switch to another?
Thanks for your time.
01-24-2019 01:30 AM
01-24-2019 08:36 AM - edited 01-24-2019 08:38 AM
Hi, this my sh vtp status from the existing Cat 3560-
VTP Version : 2
Configuration Revision : 5
Maximum VLANs supported locally : 1005
Number of existing VLANs : 10
VTP Operating Mode : Server
VTP Domain Name :
VTP Pruning Mode : Disabled
VTP V2 Mode : Disabled
VTP Traps Generation : Disabled
And here it is from as configured from one of the new switches. All the new switches (outside of IP address etc) are identical-
VTP Version capable : 1 to 3
VTP version running : 1
VTP Domain Name :
VTP Pruning Mode : Disabled
VTP Traps Generation : Disabled
Device ID : 68bc.0c21.5f00
Configuration last modified by 0.0.0.0 at 3-1-93 09:31:01
Local updater ID is 0.0.0.0 (no valid interface found)
Feature VLAN:
--------------
VTP Operating Mode : Server
Maximum VLANs supported locally : 255
Number of existing VLANs : 10
Configuration Revision : 5
Eta- I DO want the vlans that were configured on these new switches, to show up everywhere.
01-24-2019 08:52 AM - edited 01-24-2019 09:00 AM
Hi
dont use VTP version 1 even though the revision numbers are equal , i would set the switches to VTP trasnparent then back to client to reset the VTP revision to 0
(conf t)vtp ver 2
vtp mode transparent
vtp mode client
then check vtp status again revision should be 0
If you want the vlans to be everywhere , add them to the server switch and set the rest of the switches as VTP client , they will push out from the server to each switch
You will need to add a VTP domain name as well , make sure its same on each switch so they can speak to each other through VTP
VLANs should pass even server to server mode , but i would leave 1 as server the rest as client of your using VTP
Or set them all as trasnparent and manually handle it
01-24-2019 09:12 AM
Mark, thanks for the help.
With the VTP domain name, does is have to match anything specific already happening on the network? Or is this only going to be used with VTP?
01-24-2019 09:15 AM
01-24-2019 01:34 AM - edited 01-24-2019 01:35 AM
Hello @malberttoo,
Greetings,
It's a pleasure to support you!
Actually, any switch can be in 3 VTP modes (server, client and transparent)
The Idea that: (assuming that all switches have the same VTP domain and password)
1- if you configure any switch as a server while others as clients, all clients will get the same vlans in the server one.
2- if you connected a new server switch to a network that has a server one already while all other in client mode, so the one with the highest revision number (I mean the 2 server switches) will be the effective one as a server, and all other clients will follow it regardless the one that was server before.
3- if you configured any switch as a transparent, and then you configure on it any new vlan, it will not be affecting the rest of switches.
For the best practice, you need to:
1- configure all switches with the proper vtp domain and password.
2- configure all switches as clients.
3- configure the one that have the desired vlans as a server.
4- make sure that the links in between the switches are in trunk mode.
I believe that I have answered you sufficiently, please don't hesitate if you will need any more support!
Please don't forget to rate all the helpful responses and mark solutions!
Bst Rgds,
Andrew Khalil
01-24-2019 01:38 AM
if you have a small network and are not too inetersted in VTP. put them in transparent mode before you stick them into the network
01-24-2019 01:52 AM - edited 01-24-2019 01:53 AM
Hello
Just like to add -
A switch running as a vtp client with a higher revision number could also wipe your vtp database so as the other guys have mentioned before you attach any switch with old vtp config , suggest you at the very least change vtp mode to transparent and back to either server/client before you add it to the production estate..
01-24-2019 04:27 PM - edited 01-24-2019 04:41 PM
"Once the new switches are in service, what's the proper way to move the VTP server role from one switch to another?"
It depends on the VTP version you're running. With VTP versions 1 and 2, what a "server" allows is manual editing of the VLANs. The only risk of having more than one "server" with those version are, two switches might be manually edited at the same time, and they would both advertise their revision. If the revision number was the same, you could have consistency conflicts. The way to avoid that is to only have one switch in the "server" role. As to how to change it, just set the existing "server" to client, and the switch to be "server" to be server role.
For VTP version 3, I recall changing modes is more involved. I would need to consult the documentation for how they are maintained.
"They have been configured by someone else for me via console and I have not yet plugged them into the network. I'm concerned that doing so could mess things up, with the existing switch being the VTP server."
Yes, as noted by others, adding switches to your VTP domain, again if running VTP version 1 or 2, entails a chance of them resetting all your VTP VLAN information. Do note, switches do not need to be configured in "server" role, "client" role can reset your VTP VLAN information too.
Before adding switches, with VTP versions 1 or 2, as also noted by others, set VTP role to "transparent" (or in later IOS versions, to "off") mode. If you want them to join the VTP domain, configure the VTP domain name (BTW, if it's NUL, it will auto change) and configure the VTP password (if set), then configure role as "client". Switch should replace it's VLAN information with that of the VTP domain. (NB: port VLAN settings won't change.) (Also BTW, VTP needs a trunk link to exist between switches.)
Again, for VTP version 3, I recall adding a client is also more involved (VTP v.3 is designed to preclude the accidental VTP resets of versions 1 and 2), and I would also need to review the documentation for how it's done.
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