How to use VTP -VLAN Trunking Protocol? - Part 2

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
okay in part one we got VTP to work on two switches and we set up a VTP server and a VTP client and we created the VTP domain domain one and these are the commands that I used we use to show VTP status show VLAN we created a number of VLANs and these are just some of the VLANs we created and then we created the port here turn the port into a trunk right and we allowed all the VLANs the other port auto negotiated to a trunk because of DTP and fact that it's in dynamic auto mode so we we achieved a trunk here and then we did these commands VTP domain one and then VTP mode the default mode is server so we didn't really have to do it but if the default is in VTP mode server and so we created a VTP server then we created a VTP client and then the client once we gave it the VTP domain name right which is the command right here it learned all about all of the VLANs from the VTP server so with the VTV server we can add VLANs we can create VLANs we can delete VLANs and then the client will learn about that from the server now what we want to do is we want to go and talk about transparent mode so we've got server mode client mode VTP and now we want to do transparent mode now transparent mode what will happen is a switch that is put into VTP transparent mode will pass VTP advertisements and VTP control messages VTP messages it will pass them on the network but it will not participate really in the VTP domain by adopting the VLANs it will not learn VLAN 11 22 and 33 it will main maintain its own separate VLAN configurations right but it will forward on VTP protocol messaging okay so let's set one up so we'll go to switches and we'll take out a 2960 switch and this switch is going to be our VTP transparent switch okay so there it is right we'll open it up and go to CLI enable compte interface will go to its first Ethernet interface right and what we'll do is we'll turn it into a trunk and then allow all of the VLANs okay so we've just set the port on this switch to be a trunk so that when we hook it up to port two over here it'll auto negotiate to being a trunk so we'll do that in a minute next thing we're going to do is we'll do a control C calm fatigue it to global config mode and what we'll do now is we'll say VTP let's see mode well it's a question mark yeah mode TR tab transparent so this will be in transparent mode right and then what we'll do is we'll say V TP domain domain one which is the domain that the other switches are on okay I stepped away for a moment I'm in switched to here which is not connected yet to the VTP domain but we have configured it for it so let's just take a quick peek at the configuration before we plug it in so we'll say enable show VLAN and you'll see that it just has the default VLANs right it's got VLAN one one thousand two one thousand three one thousand four and one thousand five those five VLANs are the default VLANs okay and if we do a show VTP status okay it's using VTV version two it's on configuration revision zero so that has no revisions yet and it's got the five default VLANs the number of existing VLANs notice it's in transparent mode which is what we wanted and the domain name is domain name one so what we'll do now is we'll just plug it in so we'll take a crossover cable will go from port one here to port two here okay and once it is up and running it is actually since it's in transparent mode it's not going to learn of the VLANs alright so that that is we're not going to see much of a change here because in transparent mode this switch is not supposed to adopt the VLANs what we want to see is whether it will pass on VLAN information to the next switch so we get the next switch will say here's another 2960 switch and we're gonna get this switch right here right and we're gonna make this switch a VTP client okay and we're going to do the same thing that we did with the other one notice I'm not connecting it yet what I'll do is I'll open up the switch command line interface I'll go enable compte to get to global config mode then I'm going to do interface FA 0/1 switch port mode trunk okay then switch port trunk allowed VLAN 1 through 99 okay so we just set up the trunk port right then what we're going to do is do a control C and then a comp T and now we'll say V TP mode client so it's in client mode then we'll say VTP domain say domain 1 which is the name of the VTP domain right then we'll do a quick look show veal and you'll see it doesn't have any VLANs right just the default ones right nothing else and we'll see show VTP status and you'll see that it's just in client mode it's got the domain name it only has the five default VLANs right and now what we'll do is we'll plug it in and we'll see if it learns about the other VLANs because the server disseminating to the client force emanating to the transparent mode server and then the transparent one server passing it on to this client so we'll say crossover cable from port one to port two over here the trunk will be auto negotiated because this port is in trunk mode this is in dynamic auto so the trunk will be negotiated right and then to speed up the process VTP advertisements from the server happen every five minutes but we can speed up the process by adding a VLAN to the server so what we'll do is we'll open up the server right there's the server and we'll do is we'll say enable show VLAN and you see we've got 11 22 33 44 77 let's add VLAN 55 so we'll do compte and we'll do VLAN 55 that added a VLAN right and now that will force an update to hit this client which will hit this transparent server which will hopefully and this client will be updated so now we go into the client and we say show VTP status you can see it now knows 11 VLANs the configuration revision number has jumped up to 2 right and if we do a show VLAN it now knows about all the VLANs right so switch 3 has learned about all the VLANs this client this VTP client learned about all the VLANs from the transparent mode switch now the transparent mode switch should maintain its own VLAN database and not adopt the VLANs so if we do a show VLAN you'll see that it does not have the VLANs it is just passing on the information right it has its own VLAN configuration it's not participating and learning the VLANs it's just passing the information on right so now we see the purpose of a transparent mode switch to maintain its own separate VLANs but pass on the VLAN information to these other clients
Info
Channel: danscourses
Views: 77,392
Rating: 4.9049883 out of 5
Keywords: VTP, cisco, ccna, packet, tracer, how, to, transparent, mode
Id: p9gR5ZQ0OTk
Channel Id: undefined
Length: 9min 13sec (553 seconds)
Published: Wed Feb 15 2012
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.