Free CCNA | VLAN Application Practical Ep:11 | Free CCNA 200-301 Complete Course

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hey everyone so in the last video what we did was we understood what was vlad then we understood what are the different types of vlan we understood how do we configure those vlans on a cisco switch and then we understood how to debug them but that's not enough to understand is one thing but to practically do it is another thing so today what we are going to be doing is i have created a practical example for you guys and what we are going to be doing is we are going to be configuring those vlans practically in an environment so it will be emulating an enterprise environment so that you understand what is happening and how do you debug in a real life scenario so let's get into it but before we do please do press the like button and please do subscribe to my channel to get the latest updates now without any more delays let's get into it so this is an example that i have created for you to work on uh apparently i'll give you just a walk through of what the example is so we have two buildings building one on the left which is in yellow color and building two on the right which is in blue color and both the buildings have a separate student and teacher network so student one refers to building one teacher one refers to building one and similarly student two and teacher two refer to building two and what we have in bottom is a cup some laptops and ip phone so the uh laptops marked with s are for students and s hyphen one is student one [Music] network and t hyphen one is teacher network so this is student one laptop and this is student one laptop again and this is teacher one teacher two and sorry this is teacher one and teacher one laptop and teacher one the third laptop is also teacher one similarly on the right we have some student laptops and some teacher laptops so let's get into the uh task uh before we get into the task this uh file from packet tracer is available unconfigured on my github the link for that is in the description below so you can download it and do it and these are the tasks that we need to do and these tasks are also listed there in the description below in the github repository and you can do all of these tasks pause the video here and do all of these tasks on your own or you can do these tasks one by one as we go along in this video you can certainly skip some part of this video because i'm gonna be listing task one task through task three as and the other task as well as separate chapters so you can skip and go to the task that you are facing a problem in so let's start with the first task and the first task states that all the devices are not on right now explore packet tracer and switch on all the devices so we see that there are some devices which are not on or the links are for which are not working and specifically this is the device for which none of the links are working uh this access switch seems to be on we see a command line coming but when we go into the command line the device must be powered on so if you remember the packet tracer tutorial that i did some devices in packet tracer need power supply to be switched on so let's plug in the power supply from here and the switch is going on right now so till the time switch goes on let's go back to our task and the second task that we need to do is uh the network on the left is of student one and teacher one and we need to pass vlans for the same from the server to the access switch such that student gets port one to five and teachers get port six to ten so student ones have vlan 11 and teacher one have vlan 12. so what we essentially need to do is we need to pass a vlan from this switch this 3650 multi-layer switch on the top to the building 3650 multi-layer switch and then down to the axis layer switch such that students on this side of the building or the side of the network on building one are able to access this server and what we see is that the server does not has an ip address uh this switch has gone on now so let's start by configuring vlans then we'll look into the ip addressing also so if you hover your mouse over the link you'll be able to see the interface that they are connected on this is connected on gig one zero one for student server one so gig one slash zero slash one and the teacher one server is connected on gig one slash zero slash two so let's open this switch i'll move this a bit here uh no we do not want to enter the initial configuration press enter let's get into enable mode so configuration t so i'm using shortcut commands like en for enable and con for configuration and just the t for terminal as a starter you should probably use the full command that is enable configuration terminal don't use the shortcuts because they will only confuse you once you get the hang of it you can use shortcut methods that i'm using so first let's configure vlan 11 and let's name it student one then next let's configure vlan 12 that is for name teacher one the next thing that we need to do is enter interface uh gigabit ethernet one slash zero slash one uh that is the interface that the student1 server is on and let's make that switch port mode access and let's also give it a description that's connected to student one server and for switch port access vlan 11 so from inside the configuration command you can use the word do and then do a show vlan brief and what we get is that student 11 is configured student 1 is configured on vlan 11 and teacher 1 is configured on vlan 12 the student 1 has an access switch on gig 1 zeros gig one slash zero slash one so this do command if you do just show from inside the configuration you will get an error which is an unknown or an invalid input detected but to do a show from inside configuration what you need to append is do in front of the show command which is very helpful when you are inside the configuration you just want to see the configuration that you have done so similarly let's go into interface gigabit ethernet one slasher slash two uh description for this is so let's not put this let's use the arrow keys here and reuse this and we just need to change the student to teacher here so description is connected to teacher one server and again we can use just arrow keys switch port mode access and then switch port access vlan 12 perfect let's do a show command again and now we have gig 102 on vlan 12. perfect so the next thing that we need to do is we need to uh pass this vlans from this switch on the top to the building 3650 so let's see which port are they connected on and they are connected on gig one slash zero slash 23 from this stop switch so let's enter interface gigabit ethernet 1 slash 0 23 and let's put a description to building one and let's do a switch port mode trunk here so this is going to be a trunk mode because we are going to be passing multiple vlans and we get an error which says that command rejected an interface whose strong encapsulation is auto can not be configured to trunk mode so this is okay because what we need to do is we need to define the encapsulation manually we cannot leave it on auto and define it as strong we need to define it as dot one queue or isl switch port trunk encapsulation we want to define it as dot one q now if we do the command switch port mode trunk we get no error the link goes down and then comes up back again and next thing we do is switch port allowed vlans and we need to pass wheel at 11 and 12. so right now we you're not using the word add here because or remove or something like that because we just need to pass two vlans 11 and 12 to this switch right uh later on when we need to append more vlans we'll use the command at also so let's configure let's do a write here and save all the configuration and next thing let's do a show interface click update ethernet one slash zero slash 23 switch port and we see that there are two vlans that are trunking here vlan 11 and 12 the administrative mode is trunk operation mode is trunk we are doing encapsulation top one queue the negotiation or trunking is on we can use the command show wheel and trunk also but in packet tracer this command is not available had this command been available you would have seen all the trunk vlans easily but anyways we have a workaround we know that we can use command show interface gigabit ethernet one slash series 23 switch port also so you need to know this that you can use alternate commands also in case these commands are not available for some any reasons whether it's an old ios that's an old operating system of cisco or you're working in an environment where this command is just not available for some any reason whatsoever so the trunk is available till here now so what we need to further do is trunk vlan 11 and 12 to this switch and trunk v911 and 12 to this switch so these two switches are connected on gig one zero one and kick one zero two so enable configuration terminal and let's define vlans on this switch also so vlan 11 is again name student 1 and vlan 12 is named teacher one so vtp is used exactly for this reason so what are what we are going to be essentially doing is define the same vlans on one switch then another then another so three three layers and four switches so this switch here then this switch here then this switch here and the switch here we are going to be defining the same vlans again and again had vtp being enabled every switch would have got this information the moment we would have configured it here all these switches down below would have got this information or we would have configured a vlan here all these switches would have gone this information but since vdp is not enabled right now we need to define vlans in each and every switch so that's fine so interface first what we need to do is we need to enable trunking on the from the main switch so gigabit one zero one slash zero slash 24 so interface gig one slash zero slash 24 and again a search port trunk encapsulation dot one queue so first we need to do is a switchboard trunk encapsulation then we need to do a switch port mode trunk and the last thing we need a switch port trunk allowed vlan 11 comma 12. now for the next two interfaces uh what we can probably do is interface range gigabit one slash zero slash one and two so now we are going to be defining the same set of configuration for both these interfaces so let's do a description first uh we forgot to put a description for the earlier port we'll do it later description uh to access switches so uh because we are defining a single configuration so we can just write two axis switches but not to access switch one or access switch two because whatever we are going to define is going to be defined for both the interfaces we will change it later for each port separately and let's do switch port trunk encapsulation dot one queue and switch port mode trunk switch port trunk allowed vlans 11 comma 12. so now we have configured both the switch simultaneously you see that both the switches both the ports have gone down and uh now they have come up and they are orange right now uh there is a lot of time that sometimes these switches take that's because of stp convergence happening we'll understand this in the next lesson that we are going to be doing and are we going to do a lab on that all as well let's concentrate on this first and let's save this configuration and okay let's also input the proper descriptions for each of the ports a description from a main switch and interface cake one slash u slash one description two axis switch one and interface one slash use slash two description to access switch to okay so that will not cause any uh problem in the linkages next thing uh let's do is show vlan brief and we have about the vlans configured next let's do a show interface click of it once last year slash 24 switch port and we see that trunking is enabled on vlan 11 and 12. let's do it for gig one slash zero one trunking is enabled and let's reconfirm it for one slideshow slash two also so trunking is enabled perfect so now we have configured trunking till three six five zero on building one and what we need to do next is enable trunking on the incoming ports or 2960 and then we need to link up all the uh clients that we have here so the interface that this building one access switch one is linked on is gig 0 1 so let's go on the command line interface and enable configure t and in this let's go to gig zero one so now this is a different switch so you see that the interface is a bit different it's not one slash zero slash one it's zero slash one so in different switches it will be different plot slots and the internet interface so be careful uh the best way to go is you can just do a show interface status and you'll see all the ports that are available on that particular switch so on this switch there are fast ethernet ports but on the earlier switch they were all gigabit ethernet ports so be careful about this thing uh don't make a don't make a mistake about this we are in gigabit zero one and let's put a description on this interface uh the description is coming from a building one uh main switch and uh the switch port mode is trunk uh now in this switch if you see that we just did the switchboard mode trunk and we did not get an error that the encapsulation is auto something like this so different switches different ioss will return different errors or different will behave differently don't worry about it it's okay and it might be the case that if you have a newer 2960 you or with the newer version of 2960 the newer ios that's it you might get an error which says that you need to disable auto encapsulation mode first so you can do a switchboard trunk in cap dot one q or isl whatever you want like we did earlier so switch port trunk allowed vlan 11 and 12. so that's it uh that should do it for the trunk and we see the switchboard going down and it's re doing the hdp part for the vlans it's okay so let's go back into our task and let's see this task 2 once again so what we have done till now is we have been able to get this a v lance to the access switch part but what we need to do further is on the access switch we need to configure port 1 to 5 for students 6 to 10 for teacher so in this what we need to do is interface one two five so fast ethernet one two three four five is for students so interface range fast ethernet one so zero slash one two five and we are in the interface range so description students so in this case it's just students we are not going to be allocating it to a specific student any student can come in and plug in their laptops on ethernet 125 and they'll get the access so switch port mode access and switch port access vlan 11 oh sorry for the spellings so switchboard access vlan 11 and we did not create a wheel and 11 it's created let's create a description of that also so name is student one and vlan 12 is name is teacher so done next let's do an interface arrange fast ethernet 6 to 10 and this will be description teacher and switch port mode access butter fingers switch port access vlan 12. so in 2960 what we have done is in access switch one we have trunked all the wheel lands that is 11 and 12 which were coming from the main switch and we have created access ports on one to five for students and six to ten for teachers so next thing uh let's do is let's save this configuration for this switch let's write it okay and let's just reconfirm it once so show vlan brief and we see that student vlan 11 is for fast ethernet one two three four five and teacher is for six seven eight nine ten and let's reconfirm if our uh trunking is also coming so show interface gigabit ethernet 0 1 switch port and we see that the trunking is enabled and we see the trunk also here so great uh so next thing let's configure the other switch also the access switch too and then we'll start linking up our clients it's the same configuration i'll just pause the video here and quickly do the configuration at my end okay so welcome back and i have done the configuration for access switch 2 as well made this as the trunk port that is the sport that is coming from these multi-layer switch of the building multi-layer switch and then assigning port numbers zero to five one to five and six to ten respectively for student one and teacher one done so now what we need to do is we need to connect each of these endpoint clients to the devices so so what we need to do is we need to use a straight through cable and a link up student to port number one to five any of the ports and we need to link up teacher to a port at 6 7 8 9 10. so if you're doing all the configuration correctly what you're going to be getting is on student you'll get an ip address of 192 168 x y dot 0 24 that means student will get an ip address of 192.168.11 and teacher will get an ip address of 180 192.168.12. so if you hover your mouse over it uh right now there is no ip address coming here uh the link is up but if we see the server the server is getting an ip address yeah so it's getting an ips of 11.2 but student is not getting an ip address right now so let's link up all the devices and see where we had gone wrong so in the student laptops if we see the fast ethernet configuration it's set to static let's do it dhcp and also the dns and yes we see the ip address is now assigned and we need to do it i think for all the uh devices here so let's put dhcp here also and we see that the ip addresses are getting assigned now to all the devices so our configuration in these switches were all good but the configuration at the uh the endpoint device may not have been good or we just didn't know it was the default configuration that we need to assign a static ip so we see that the student is getting an ip now 192 168 11.3 teacher is getting an ip address of 180 160 12 cds again 12 series and students getting an ip address of 11 series and the teacher is getting an ip address of 12 series so everything looks good even the servers are getting an ip address now uh if you see this site server these site servers still don't have an ip address they are linked to a fallback ip of 169 254 to 1 8 that's okay because we have not configured the right hand side of our network so just to check one thing uh what we can do is we can just plug out this cable from student and let's plug in this cable at port number nine so if you remember the port number six seven eight nine ten are assigned to teacher so what the students should now get is an ip address from a teacher series that is 192 168 12 series let's hover our mouse over this device and see what happens so it's still orange here that means that the stp or convergence is still happening it's turned green now and the ip address is not yet assigned for some reason let's wait for some little more time okay so uh the student laptop has got an ip address from the teacher series which is wrong so to debug this let's start checking up so the first thing that we need to check up is where this link is linked up to so we see that the link is linked to f a 0 blick 9 which is a port that we had said that we will assign to teacher so what we need to do is let's click here and change the port to fast ethernet 0 1 2 3 4 five any of these sports will do because all of these sports are assigned to students so whenever you get this problem and you are troubleshooting even in an enterprise environment start looking from at least one of the ends and especially at the end where the problem is start looking from there don't go directly here on this link on the server link that has no meaning whatsoever let's look at the direct link first and if this link is okay then look at the trunking here between the uh multi-layer switch of the building and the access switch uh that is having the problem and then go up one one level because if it's working between multi-layer switch and the access switch one then it should work here also because that means that the multi-layer switch to zero and two are properly linked up so this is how the troubleshooting is also to be done in layer two network so everything is working good here what we need to do is we need to do a similar configuration here what we can also do here on the right hand side is that we can do a step number three in ttp so step number three is do the same network as above for the second building only changes will be that student two to get vlan 21 and teacher to to get vlan 22. so we have already done a task four that is we have got a correct ip addressing range in uh building one we need to configure our network for building two so in building two rather than doing a starting switchboard mode access or switchboard mode trunk especially switchboard mode trunk let's do one thing uh this time around what we are going to do is we are going to make this whole network into a dtp so what we are going to do is the ports that are directly linked to the server and to the endpoint devices that is our laptops we are going to define them as switch port mode access but here what we are going to do is we are going to make this as an active port and we are going to make this as a passive port and this as an active mode so this will try to link up here and request for a trunk similarly here also on these two ports we are going to make this as a passive listening mode and these two as active talking mode so let's get on to it and let's start doing this configuration now so in this case the teacher network is linked on git 104 and the student network is linked on it's hidden behind the i think it's one zero three it should be one zero three so uh let's enter the switch so configuration t so remember now that this switch is already working and is this switch is working for your uh building one and any changes that you'll do on any of the links on building one is gonna affect the network on building one so you don't want that to happen so this is kind of a production environment for you right so be careful now so this is one zero three and one zero four so the first thing that we need to do is we need to give uh two more vlans vlan 21 and we land 22 so let's define 2 vlans now vlan 21 let's name it so we should name it student 2 and then vlan 22 name it teacher 2 and on interface uh gig 1 zero three description connected to student to server switch port mode access switchboard access vlan 21 and similarly for interface gig 1 0 4 description will be connected to teacher to server and switch port more access switch port access vlan 12. let's do a do show vlan brief here and let's confirm if we have the right set off so let's check if we have the right set of interfaces linked to the right set of vlans we see that vlan 21 is linked to git 103 but v land 20 so gig one zero four is still not here let's do a refresh so we see a mistake that the gig 104 has been linked to vlan 12 so the command that we entered was wrong uh let's change this immediately we don't want a trouble to happen so switchboard and we'll access vlan 22. let's do a show again yes this time around this is okay so we did a mistake so that is why you need to constantly use show command so to check whether you have entered the right command or not right so in cisco switches there's nothing known as commit whatever changes that you are doing are going live at the moment so any wrong changes that you do are going to affect your network so let's write this configuration on the switch right now and let's see if these two servers have got an ip address the student server has got an ip address and the teacher server is still not up so the teacher server also now has an ip address of the right subnet what we need to do further is now make this as a dtp port so what we need to do now is we need to trunk uh the port number one zero two four that one slash zero slash 24 on the master switch but we are going to make this as a passive port so it's going to be dynamic auto but gig one slash zero slash 24 on the building multi-layer switch is going to be dynamic desirable so let's do these changes first we are doing it for the master switch that is the multi-layer switch which is controlling both the building switches so configure t and interface kick once last year slash 24 oh sorry one slice is last 24 uh what we are going to do is give it a description to building 2 and what we need to do is switch port mode dynamic and we want to do it auto so what we are doing is we are assigning a passive listening here and switch port trunk allowed vlans 11 comma 12. and the second thing that we are doing is we are allowing vlan 11812 to traverse through here right so now this has gone again into a stp thing this is okay let's write this configuration and let's go into the next building multi-layer switch let's put this here no we don't want to enter and [Music] so enable configure terminal so interface gigabit once last year slash 24 and description is coming main link let's name it main link this time around so now uh this is switch port mode dynamic so this is going to be the active switch so dynamic desirable and switch port trunk allowed vlans is going to be 11 comma 12. so let's write this configuration i'll open the other switch also so let's open both the switch side by side now so on the left is the main switch and on the right is the multi-layer switch inside the building so what we need to do is show interface both are linked up on the same interface 1 0 24 switch port and here also let's do a show interface gig 1 0 24 switch port so here it's dynamic auto dynamic auto is when uh the switch is just listening but not actively initiating a trunking connection but the dynamic desirable mode is when the switch is actively trying to do trunking that is trying to initialize trunking so what we also see is the operation mode now for both the ports is trunking because the dynamic desirable here has contacted the other switch and told it it wants to negotiate trunking so perfect let's do one more thing on this building switch what we need to do next is we need to for both the access switches get the ports on dynamic auto that is again a passive listening mode so if the switches want to do a trunking they can and negotiate it with the multi-access layer switch so it's linked to gig one zero one and let's have a gig one zero two so let's enter the configuration mode interface range gig one zero one and two so the description that we are going to put here is that these are linked to access switches and switch port mode is going to be dynamic dynamic okay switch so butter fingers again switch port mode is going to be dynamic auto and switch port trunk allowed vlans is going to be 11 and 12 we are going to 11 allow both vlan 11 and 12 so we see that the both the ports have gone into the http convergence again so let's write this configuration so now that both these ports are dynamic auto we need to make both these ports as dynamic desirable which is coming from access switch one to the multi-layer switch on building two uh the port is gig zero one and similarly for access switch two on gig zero one link thinking to multi-layer switch on building two so let's open this switch and let's get down with the configuration of it so enable configure t so vlan 11 and this is going to be named as student 2 then a vlan oh sorry so we needed not to create vlan 11 so uh this is a wrong configuration that we have done so to undo this configuration let's just do no vlan 11. so when we do no vlan what is going to happen is it's going to erase with the vlan so let's do is do show vlan brief and we see that there is only vlan 100 going on this switch but there is no vlan 100 oh there's no vlan 11 so let's do a vlan 21 this time and this is going to be named as student 2 vlan 22 name teacher 2. so interface a gig zero slash one now this is going to be description coming from building to multi-layer switch now switch port mode is going to be dynamic desirable here we are going to initiate a connection from this switch and a switch port trunk wheel loud vlans it's going to be 11 and 12. so now what we have done is the multi-layer switch has dynamic auto on the switches on the links going to access switches and the access switches are going to have dynamic desirable to the links going towards multi-layer switch so let's write this configuration and we need to also configure the interfaces fast ethernet 0 slash 1 to 5 for the students so description is so interface range what we need to give and a description is going to be students and the switch port mode access switch port access vlan 21 so we are going to give them access on vlan 21. similarly for interface range fast ethernet is 0 6 to 10 uh description is going to be teacher and switch port mode access again and switch port access vlan 22 so this is done for this switch let's write this configuration let's verify this configuration once by doing a show command show vlan brief and we see [Music] 21 and 22 so this is good and what we also need to do is now link up these devices to the switch so this is students so this should be linked up to one to five uh this one is teacher so this should link up to 6 to 10. again this is student so let's link this up to port number 125 now let's do a similar configuration here i'm going to pause the video you can do it on your own we have already done it many times now so this is not going to be much of a problem okay welcome back so the configuration is done let's link up the switches with the endpoint devices this is the teacher and the next one is the student so let's link that up also so by now this student should have got an ip address which is not happening so that means that there is some problem we have done some wrong configuration or the fast ethernet is not accepting dhcp let's switch first this to dhcp and let's wait for the devices to get an ip address from the network so this is done uh student 21 is still not getting an ip address so that means there is some issue let's get into this access switch and let's see what the issue could be or first let's wait for this and here also the student is not getting an ip address so let's see what the issue could be let's go into the show vlan brief first and see that the vlan 281 that is for the student is fast ethernet zero one two three four and fast ethernet five let's make it a bit bigger so that we are readable it's readable and vlan 22 is from fast ethernet zero six two zero ten this configuration is good let's check up the interface show interface gigabit 0 1 which is our uplink trunk switch port and oh so here is the first mistake that we have done we have enabled trunking on vlan 11 and 12 which should not have been done so let's change this configuration so configure t and interface gig zero one switch port trunk allowed vlans ill 21 and 22. so this should be good now let's write this configuration let's do a show again and we see the configuration is good now so let's verify the uh students laptop is getting an ip address uh no the student laptop is still not getting an ip address so the next thing that we can do is uh let's do a show mac address table for vlan okay uh the vlan command is not supported here or is it dynamic uh let's just do it dynamic and we see that we are getting an ipad we are getting mac addresses from vlan 21 and 22 on the fast ethernet but we are not getting any mac addresses from vlan above so let's open this switch uh the main switch let's put it here let's put that access switch on the other side and let's do one thing and let's do a show mac address table dynamic here okay so we see that 21 and 22 we are getting from gig 1 0 22 but we are not getting it from anywhere else uh so mac addresses have a timeout also so let's consider that that is where these servers are not showing up otherwise these server would not have got an ip address because these servers have an ip address i assume that they have a perfect link so gig 1022 is to the dhcp wipe controller and so we are not able to communicate through the switches below so there is some problem let's verify it one by one i think let's go from bottom up and this configuration seems to be okay now let's just this this switch and let's do a show interface kick up it one slash here slash one switch port again i see the problem that i have accidentally drawn trunking 111 and 12. so configure t i suppose this is same problem going to be on gig 102 which is the other side also yes same problem so okay so configure the uh interface arrange because i use the range command so both the uh switches were misconfigured both the interfaces were sorry misconfigured so switchboard allowed switchboard trunk allowed for vlans is 21 comma 22. uh this should be okay now let's confirm it on switchboard yes this okay on this and this is okay on port number eight one zero zero one okay so now the laptop should get a mac address okay uh the http convergence is going on we'll wait for it to end okay so http convergence has ended and i think the laptop should now get an ip address uh we'll wait for a moment [Music] but i don't think so anything is happening so let's do a show mac address table here dynamic and let's see what's happening and we are not getting any vlan mac addresses we are only getting mac address from vlan 1. so what could be the reason so let's do a show vlan brief okay so i see the problem here we have not added vlans 21 and 22 to database of this multi-layer switch on building 2. so earlier on what was happening was when i was configuring an access port the vlans if i had not configured were getting automatically added to the database but in this particular case what is happening is that since we have made trunk the vlans are not getting added and we need to add them manually so let's do this configure t so vlan 21 okay vlan 21. name is student and vlan student 2 so that we don't get confused vlan 22 is name is teacher so now the vlans have been added to the database and this should work now i'll just write the configuration on the device and let's see so let's see if the mac address table now comes up dynamic so yes i see a mac address of 21 that is the student mac address coming from gig 102 that is from building tool access layer access switch 2. i have paused the video and what i've done is i've accidentally added vlan 11 and 12 everywhere so which should not have been done anyways i'll just rectify this mistake of mine i'll pause the video again for a while now so i had actually passed a vlan 1 11 and 12 even on the main switch which should not have been done i'm rectifying that right now i'll pause the video again for a while okay welcome back so all the laptops have now got a proper ip that they should be getting so apparently the problem was that i was passing the wrong vlans all across the network i was passing vlan 11 and 12 whereas this side of the network was for only vlan 21 and 22 as configured by us that should have been configured by us so this is the kind of problem that you can also face and what you need to do is you need to start from bottom that the way the end point of the problem is don't go looking at the main source or the core of the problem because of the core of the network because there will be lot of links there and you don't want to debug in a lot of link environment you want to debug as close to the problem as possible so to debug from bottom that is from the end point of the problem is going to be always going to be a good thing so now we have done this task also and all our laptops and server have got an ip address so let's look at what is the next task of if all tasks are done correctly the servers and student devices will get ip addresses where the xy is the vlan id this task is done now now in case there is a problem try to debug the same from search showing using various show commands we had to do this because we had several problems so we were constantly doing this step step number five now administrator on both the buildings will have common wheel and 100 and will have to be connected to the phones in the network they will access ports 11 to 15 only once the phones are connected properly to the network they should get ip address and a number with which they can dial each other note provision for one phone in each building must be done we have only two phone configured in one in our router okay so this task is basically that there are two the iphones are for the administrators and they are going to be using port number 11 to 15 and they are going to be using vlan 100 so the vlan 100 is apparently been already been configured for us and what we need to do is we need to just pass vlan 100 again and what we need is that we need to provision that both the switches the all the four switches have provision for accessing vlan 100 on ports 11 to 15. so let's get into this switch and let's see if there is any configuration right now uh for vlan 100 so show vlan brief so there is no configuration for vlan 100 i what i think is that we need to also link up this port so port gig 1022 uh will have to be linked up so let's get into the configuration and let's set the vlan 100 so this is going to be our voice vlan so let's get into the interface kick 1 0 22 which is going to be at the main voip controller so switch port and this is also already a trunk port i guess let's confirm this so do show interface take 1 0 22 switch port so okay so the vlan is already being trunk from here so we see that v9 11 to 12 21 to 22 and 100 are already getting trunked so we don't need to do anything in here so let's do a show of uh the downstream link also that is 23 and 24 so do show vlan 23 port number 23 and we see only 11 and 12 is being trunked here and on 24 that is building 2 we see only 21 and 22 going so what we need to do is apparently we need to transfer vlan 100 on this port that is going to building one and this port which is going to be la building number two so interface gig one slash here is 23 and 24. let's do it simultaneously a interface range we need to use so this time around we are not going to do a switchboard trunk allowed vlan and directly name the vlan what we are going to use is the add command so we are going to append vlan 100 to both the sites so let's do this and let's verify this once on port number 24 so we have appended vlan 100 so we are not going to write allowed switch port trunk allow wheel and 21 comma 22 comma 100 no we are going to be just doing add vlan 100 so similarly let's show this for port number 23 also and we have 11 12 and 100 so similarly let's do it for all these switches downstream switches also let's do it for both the building switches and on the 2960 i'll pause the video you can do it on your own this is now a simple task okay so i've configured freight for all these switches this is the last switch that i'm going to configure it and uh so what we need to do is first we need to make this as strong port for vlan 100 so configure t so on interface uh gigabit zero slash one what we need to do first we switch port trunk allowed vlan add 100 so we are adding appending vlan uh let's create vlan 100 also let's name it as voice and then on interface arrange fast ethernet 0 11 to 15 what we want to do is description of admin slash voice and a switchboard mode is going to be access for the desktop and switch port ax voice vlan is 100 so what we are doing is we are configuring voice vlan and we are defining the port as access port so in case any desktop is going to be hooked up they can also connect so now what we need to do is we need to connect this iphone to this switch so let's do this so we are going to connect it from switch port not the pc port and we are going to link it to fast ethernet 0 11 215 any of the ports so we see this as red so let's enter this iphone and we see that there is no power so let's put a power adapter so let's drag and drop it here and now the iphone is on it's gonna take some time to get the link up and then to get an ip address so what i'll do is i'll pause the video till the time it gets an ip address so finally the ip addresses have been assigned to the phones and the phones have got the lines now i faced some problems while uh the line number was getting assigned so in case you get that problem don't worry about it uh it just be it should be just fine if you're getting an ip address but if you get the line number then you'll see that phone on the left is getting one line number and the phone on the right is getting another line number so if you were to go here and click on the receiver here you will be actually be able to dial four three zeros one two three and then a two is the number on the left hand side so if you see here now on the gui uh the phone is ringing and it's coming from four forty 4003 and if you pick up the receiver both the phones are now connected to each other so let's just disconnect it so if you're able to do this it's great if not don't worry don't stress about it if you're getting an ip address that should be good enough that is what you were assigned to do your vlan should work i hope that you enjoyed today's lesson this was a lengthy video but these kind of practicals uh you really get a hands-on and unless you enter an enterprise so this was just one of the scenarios that i was able to create for you do let me know in the comment section below if you would want more scenarios like this so that i can do more work on these so until we meet the next time goodbye
Info
Channel: MKSIT
Views: 143
Rating: undefined out of 5
Keywords: ccna, ccnp, 200-301, 200-301 free course, ccna 200-301, ccna full course, cisco ccna 200-301, ccna 200-301 complete course, wan routing, fundamentals of wan, cisco command line, cisco packet tracer, using packet tracer, cisco console cable, cisco console, gns3, dynampis, switching basics, cisco switching, cisco switch, vlan, cisco vlan, access port, trunk port, voice vlan, native vlan, vlan troubleshooting, vlan configuration cisco, vlan practical example, vlan example
Id: hynp1r8YtXk
Channel Id: undefined
Length: 57min 43sec (3463 seconds)
Published: Sun Nov 21 2021
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.