VTP version & Transparent mode
Hello,
According to the CiscoPress BCMSN exam cert. guide 4th edition, page 147..
Switch in transparent mode running VTP version 2 is not checking for domain
name match before forwarding VTP advertisements. I have played with this
in the lab and it seems that he doesnt forward advertisements with different
domain name as is his one. ( I can confirm that he is not checking for version
match)
Am I wrong or the book ?
Thanks.
According to the CiscoPress BCMSN exam cert. guide 4th edition, page 147..
Switch in transparent mode running VTP version 2 is not checking for domain
name match before forwarding VTP advertisements. I have played with this
in the lab and it seems that he doesnt forward advertisements with different
domain name as is his one. ( I can confirm that he is not checking for version
match)
Am I wrong or the book ?
Thanks.
LAB: 7609-S, 7606-S, 10008, 2x 7301, 7204, 7201 + bunch of ISRs & CAT switches
Comments
I am 99% certain that transparent switches running VTP V2 Mode don't check for domain name matches but transparent switches running VTP V1 do check for domain name matches before forwarding vtp advertisements......
CCNA | CCNA:Security | CCNP | CCIP
JNCIA:JUNOS | JNCIA:EX | JNCIS:ENT | JNCIS:SEC
JNCIS:SP | JNCIP:SP
What part of the above is from the "CiscoPress BCMSN exam cert. guide 4th edition, page 147.." and what part is your words?
The answer depends on the answer to my previous question.
What model switches are you using in your lab? I have had difficult experiences with trunking 3550's and 2900's.
Now, if you use vtp v2 and you have a transparent switch as between the two switch using same domain name and version. You should set the transparent switch as trunk in both direction so that it oculd accept and received the vtp adv sum, subset , request I mean by manually setting it to trunk using switch mode trunk remember a switch is set to dynamic auto by default actually it depends i have searched that cisco 3550 is set to dynamic desirable and cisco 3560 is set to dynamic auto. so if you set to trunk the interface of transparent mdoe switch it will set to trunking mode.
Now in vtp version 2 you are correct, it does not care at all about vtp domain name not like in vtp ver 1. vTP ver 2 does not check domain name and ver sion number.
But when a transparent switch received vtp adv with versio 2 and the other neigbhor switch connected to transparent is set to vtp v1 only then some issues will come and it will not sync.
Got the point now why cisco mentioned that it is better to use switch mode trunk than leaving to default mode.
Hope this will clear your question.
I have tried this to dynamips not good but using real switch 2950, 3560, 2900XL which is very very difficult to trunk to new model of switches.
Once the name was matched, advertisements were being forwarded.
They were using VTP version 2.
This contradicts the BCMSN Exam Cert Guide (my version is the 3rd Edition). When faced with a situation like this - I go for what I saw with my own eyes - the book is wrong.
BTW - in their demonstration, DTP was explicitly ruled out.
Notice in the output "1531 packets received (1526 good)" followed by the 5 packets dropped, and 5 domain mismatches, this indicates the switch is going to ignore any DTP frames from a different domain. The first problem with mismatched domains is there will not be a trunk, and VTP only sends frames out trunk links. If we correct the problem by setting "switchport mode trunk" the trunks will come up.
After the trunks are created, the debug output for VTP indicates the packets are being dropped by the transparent switch (sw2) from the server (sw1), also SW3 (client) is not receiving any VLAN information from the server
After changing the version to V2
Even though they are all in version 2 mode, the debug output on SW2 (transparent) says this:
So it would seem the transparent switch in version 2 mode will not accept the frames from the server in a different domain. Let's fix the domain name.
So what happened? I am not sure
All the docs say that a switch in VTP transparent/ version 2 will relay vtp frames for a different domain, but the debug output seems to indicate otherwise.
Will need to look into this one further.
EDIT: it would seem running version 2 implies all the switches in the broadcast domain must be in the same VTP domain for it to truly be running version 2
The missing piece would be that a switch in v2 mode will drop all frames that do not match the local domain name before any processing can continue.
I think this will answer your questions.
Best place to verify is www.cisco.com/univercd
Google search particular topic inside a particular web site,
example:- VTP site:www.cisco.com/univercd
In VTP version 1, a VTP transparent switch inspects VTP messages for the domain name and version and forwards a message only if the version and domain name match.
VTP version 2 supports only one domain, it forwards VTP messages in transparent mode without inspecting the version and domain name.
The text above is not clear as it forgot to mentioned to be able to send vtp adv. by the transparent switch running v2 it should be in the same domain name. It should remove the last text without inspecting domain name from v2.
I have tested this last night and same output I got from my switch as dtlokee posted yesterday.
So, what now which one is correct our practical or from Cisco's doc and info?
Thanks for all answers, especially to dtlokee for his clear demonstration. For me it was suprising that even a DTP is in role. I'll investigate this VTP2 thing in Cisco
I am thinking of it in terms of putting a switch that only supports 802.1D between 2 switches that are using PVST+. It will partition the domain into 2 parts.