02-10-2021 07:39 PM - edited 02-10-2021 07:39 PM
I have a topology with a couple switches separated by a few routers, working within a practice lab in Web-UI of GNS3.
On both switches, I configured the interfaces leading to the routers as trunk ports using dot1Q encapsulation. I also set both to the same VTP domain with caps in mind, no VTP password, and both running VTP version 2.
Both are configured as servers still, but if you create a VLAN on either one and type exit, it will not show up on the other switch. Show VTP Status shows the revision numbers do match up. I know I'm missing something simple.
I have 2 PCs hanging off of the switches that are able to ping each other since they are still in VLAN1, so I know the connectivity is good.
Solved! Go to Solution.
02-11-2021 09:48 AM
In most of my installs, we don't use VTP because there is the possibility of adding an old switch that doesn't have all the VLANs that are currently in use. Adding that switch to the environment without first having wiped the config may result in over writing the VLAN database for the whole campus causing a massive outage. Cisco even recommends not using VTP.
As for your question about VLANs in an organization with several branches in different cities, I use the same VLAN number at all the locations but they are not directly connected via Layer 2. So even though Site A has VLAN 10 and Site B also has VLAN 10, they are different subnets because I am routing the network.
02-10-2021 09:16 PM
"Both are configured as servers still"
That is the problem. There should be only one server and the rest of the switches should all be VTP clients. Once you change a switch to a client, you will no longer be able to create VLANs on that switch and you will get a message saying so if you even try. You will only create VLANs on the lone VTP server which will update all the VTP clients.
02-11-2021 01:37 AM - edited 02-11-2021 06:13 AM
Hello
@TJ-20933766 doesnt matter if both switches are vtp servers they will update each other which ever makes a change unless version 3 is running
02-11-2021 09:42 AM
I was wrong on that. I had to read up on VTP again and test it in a lab. I did find a helpful resource for troubleshooting VTP that anyone reading this might find useful: https://www.cisco.com/c/en/us/support/docs/lan-switching/vtp/98155-tshoot-vlan.html#topic3
02-10-2021 11:25 PM
Hi,
Routers do not forward vtp packets unless they are configured as bridges or contain switching modules. I am referring to real world of course not commenting the GNS3 environment here.
Best regards,
Antonin
02-11-2021 12:18 AM
Hello,
two VTP servers in GNS3 will update each other, but you need to set a VTP password. Not sure if that is a flaw in GNS3 and the IOSvL2 images (which I assume you are using, since as far as I recall there are no Dynamips switch images).
SW1
vtp mode server
vtp domain VTP
vtp password vtp
SW2
vtp mode server
vtp domain VTP
vtp password vtp
With these settings, you can create new Vlans on each server, and the other server will receive the new Vlans. Without a vtp password, there is an MD5 mismatch, so I suspect that the IOSvL2 image somehow puts a default password in there.
02-11-2021 01:42 AM
I would say that no vtp password is required for two vtp servers to update each other, it would matter if either one was configured and the other wasnt but otherwise is shouldn’t effect the vtp advertisement between nodes
02-11-2021 01:35 AM - edited 02-11-2021 01:35 AM
Hello
@amikat is correct the switches sound like theyare separated via a rtr if so the summary/subset advertisments wont be forwarded between switches.
02-11-2021 01:45 AM
Very good point indeed !
You will have to bridge on the router to have VTP messages go across.
The GNS3 VTP password requirement still applies though...
02-11-2021 02:15 AM - edited 02-11-2021 02:16 AM
@
@Georg Pauwen wrote:
The GNS3 VTP password requirement still applies though...
Can you explain why you need a vtp password -Areyou saying this is anomolie in GNS3 or required in real world?
02-11-2021 05:34 AM
In which version of GNS3 and which IOSv version does this work (without a VTP password) when you tested this ?
I am using Cisco IOSvL2 15.2.4055 and GNS3 2.1.14. Maybe they fixed it in a different version/combination.
02-11-2021 06:06 AM - edited 02-11-2021 06:12 AM
Hello @Georg Pauwen
These forums nearly always realte to real world scenarios based on real hardware and the software running on them
However we all cannot afford or able to test against real kit so the next best solution would to test on lab simulation software such had GNS3 but their results should never be solidified and considered 100% valid.
In this instance switch’s software do vtp password authentication but they can work without it being enabled, So, if you are saying that two switchs running as vtp servers connected to each other require a vtp password to communicate and exchange vtp advertsments and you’ve based that solely on a gns3 simulation output then unfortunately it is incorrect, As on real hardware/software a vtp password isnt required.
02-11-2021 06:11 AM
I am lost to be honest and not sure what you are aiming at. OP clearly stated that this was a GNS3 simulation (see below). I never mentioned anything about 'real' switches.
--> I have a topology with a couple switches separated by a few routers, working within a practice lab in Web-UI of GNS3.
02-11-2021 06:26 AM
Hello
@Georg Pauwen wrote:
I am lost to be honest and not sure what you are aiming at. OP clearly stated that this was a GNS3 simulation (see below). I never mentioned anything about 'real' switches.
Apologies for making myself clear, What i am trying to say is knowing the differance from a gns3 simulation to a the real thing.
The OP i guess now assumes that in the real world to get an vtp exchange between two vtp servers, a vtp password is required, when in reality it isnt required.
As i said these forums are based on real senarios not results from lab simualtion outputs., Even though lab simulations such a GNS3/CML,EVE.NG or even PT all are vital to testing
02-11-2021 06:35 AM
Hello Paul,
--> The OP i guess now assumes that in the real world to get an vtp exchange between two vtp servers, a vtp password is required, when in reality it isnt required.
I have no idea what OP assumes. I was just mentioning an apparent bug in GNS3, as this was what OP stated he was using.
I think we should keep these internal discussions out of the actual community forum, as they don't add anything and just make the post unnecessarily long. Private message me if there is a misunderstanding.
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