Packet Tracer 3.3.12 - VLAN Configuration

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hi everyone this video walks through completing packet tracer assignment 3.3.12 vlan configuration this packet tracer assignment is a part of the cisco networking academy version 7 switching routing and wireless essentials curriculum so in this particular lab assignment we have our network over to the right and we've got three switches connected to each other so they are separating the different local area networks that we have remember what vlans are for a virtual local area network will help separate our traffic so that we don't have unnecessary traffic on lines aimlessly wandering around and taking up our bandwidth possibly causing further networking issues so to do that we have to configure our vlans correctly it can help but if you figure it configure it incorrectly it can also hurt network performance or even communication at all so we want to make sure that we configure it correctly so if you look up here i'm going to put our like vlans in a box now remember we don't have any separate networks here usually i draw a box around every network connected off of a router because it creates a separate local area network that does not happen with switches okay um so what we want to do is we want to make sure that we look at so i'm gonna put vlan 10 computers in a little red box here and again this is just to look at what uh computers were in what vlan i'll put vlan 20 here in a blue box which is pc2 and pc5 and then i'll use a green box for vlan 30 which is pc3 and pc6 down there so those computers should be able to talk to each other but i don't want 10 and 20 to be able to talk to each other or if you're on vlan 30 and 10 i don't want them to be able to talk to each other so we have to configure them correctly so first they want you to display the current vlans on all of the switches so if we look at those enable and right here we have just the pound sign we can do our show commands and show vlan brief when we do show vlan brief we will see that we've got some vlans connected or configured already but it's just vlan 1 that's default always there and you notice all of the ports are assigned to vlan 1. we can look at here this is important to what ports are assigned because we really want to know what ports are each one of these computers connected off of so it looks like fa011 is for pc1 f8018 is pc2 f806 is pc3 off of switch 2. that's very important when we assign the vlan that's how the switch identifies which computer is where these other ones are for testing uh purposes and those are already on the switch as well if we look here on switch 3 we'll probably see the same thing enable show vlan brief we see the same thing there's no other vlans configured or anything and then same thing for switch one enable show vlan brief and we've got the same vlans configured it's easier if you make this wider so you can see it in the correct format all right so it says if we try to verify connectivity you will notice uh it says try to ping uh that are in the same subnet ping to uh host on other networks will fail what benefits can vlan provide to the network we already talked about that uh so let's go configure them all right so when we look at configuring the ports and assignments and everything we have to first create the vlans all together and we can name them the naming really does not matter that's more for human eyes purposes somebody going behind you on the network but it really does not affect connectivity at all what it looks at is the number of the vlan so you could accidentally name vlan 10 students and it's not going to affect configurations or connectivity but it will affect the grading of your lab so make sure it is case sensitive so we want to do vlan 10 name faculty or staff and we want to do that on s1 so let's go to s1 over here all right so we're going to do config t so go to configuration mode let me widen this out a little bit so we can see it and we're going to do vlan 10 so you do vlan and the number and then name and then whatever name you want it to be no spaces are allowed in the name again make sure it's case sensitive and spelled correctly for the grading purposes of the lab and then you don't have to type exit in between creating them um i'll show you here if you just type in vlan 20 and hit enter it's automatically going to create vlan 20 it's not going to name that other one vlan 20. okay you have to put the name command in there so it'll automatically just keep going so you can do vlan 20 name students with a capital s vlan 30 hit enter name guest and then parentheses default remember no spaces vlan 99 name management the and sign native and then vlan 150 uh name voice all capital okay now if i exit out i'm gonna do a do show vlan brief i have to do do so i don't have to exit all the way back out i now see i have 10 named faculty 20 named student 30 named guest default 99 named management native and 150 name voice oftentimes we also separate the uh voice over ip traffic for like voice over iphones or voip phones that way that traffic is treated a little bit differently more high priority because again it needs more bandwidth as it is a real time voice conversation that you're having you don't want those packets to get dropped because the importance of your conversation get dropped and they are not resent but you notice everything is still assigned to vlan 1. so none of these vlans are really they're active but they're not operational because we haven't assigned any ports to it so the computers are still operating as they were before so um we want to make sure we create these vlans also on s2 and s3 so we need to repeat those commands so we want to go to s2 and we're going to repeat those same exact commands so it'll be good practice for you so vlan 10 name faculty slash staff vlan 20 name student so i'm gonna go a little bit faster through this one and we always want to double check with do show vlan brief and we've got 10 20 30 99 150. and finally on switch 3. then we'll do a do show vlan brief to finally see that all of the vlans are created on switch three as well all right uh and it tells us to verify all right uh now we we created those uh verify the vlan configuration now we wanna start assigning them to ports so now we're going to look at uh which computers are in which vlans and what are their port numbers the commands to do that are switch port mode and then we want to put it in access mode access mode means that that link that port can only carry traffic designated or flagged with that particular one vlan can't do more than one vlan switch port mode trunk which we'll learn about in a later lab can actually carry multiple vlan traffic but this one can only carry one so for on switch 2 and switch 3 is where we actually want to configure that so on switch 2 we want to look at what vlans are associated with each one so pc1 is vlan 10 plugged into port f8011 so we're going to go to interface fa011 that's the one that pc1 is plugged into and we're going to do switch port mode access that tells the port 11 you only need to carry one vlan and then we do switch port access and then you put whatever vlan that happens to be and this one for pc one is 10 okay then we do that for our other pc so then we look at pc 2 and you see it renegotiating just based off of that letting you know it's being applied pc2 it should be for vlan 20 and f8018 so we go to f8018 and we do switch port mode access switch port access vlan 20 because again port 18 only needs to carry vlan 20 traffic which pc2 should be in alright then we'll do interface fa0 [Music] 6 down here at the bottom is what pc3 in vlan 30. so f806 oops sorry interface f806 switch port mode access again telling it it only needs to carry one vlan switch for access vlan 30 to let it know to carry only vlan 30 traffic now if i do a show vlan brief again all right you'll notice here now for vlan 10 it says the f8011 that port is in there fa-018 for vlan 20 and f806 for vlan 30. so they are correctly assigned now okay now it says i need to do the same thing for active ports on s3 so let's go over to s3 and i want to do interface f8011 all right that one is for vlan 10 traffic so i'm going to do switch port access vlan sorry switch port mode access switchport access vlan 10 interface fa018 is connected to pc5 and vlan 20. so switchboard mode access switch port access vlan 20 and then f806 down there is connected to pc6 and vlan 30. so interface 0 6 switch port mode access switch port access vlan 30. so you notice here i didn't put in any of these like hey this goes to pc1 it doesn't switches really don't even keep track of what your computer name is it only keeps track of its mac address so the switch is looking at hey this pc with this mac address we know it by the computer name but the switch knows it by its unique mac address which is almost like the social security number for your network interface card is saying hey i know you buy this and that computer needs uh to be is connected to f8011 or 18 or six or whatever it is and it should only get traffic and receive traffic based for and tagged with this vlan number that's it and then we can do a do show vlan brief to make sure that took and they are assigned in the correct ports as well now if you look in the topology up here this one is technically plugged into an ip phone and then the computer is plugged into the ip phone so the the voice over iphone is kind of like getting the connection in and then distributing it also out to the pc this is kind of even how my office at work is set up in many offices around the world because again this saves how many wall outlets you need you can share that same connection now because of that it says here the s3 uh fast ethernet 011 enter interface connects the cisco iphone and pc4 now you notice we had a voice vlan right so because of that we want to configure this a little special one port of the phone is labeled switch and connects to f804 another port on the phone is labeled pc and connects to pc4 the ip phone has an internal port that connects to the iphone functions now you can even though again access mode only allows you to configure one vlan but voice can be put on a separate one and still carried across that same interface so it's treated a little bit differently so for instance if you did switch port mode access you wouldn't be able to do uh access mode 10 and 20 on let's say f8011 or let's say up here but you can carry for voice and that is configured slightly different you notice we don't use the switchport mode access command and we need to tag this for a voice vlan because we need to know that special so under fa011 on switch 3 and again it's only because we have that voice uh connection there and we have a voice vlan so here we want to go back to fa011 so interface f8011 and then we do mls qos for quality of service all right and then we want to do switch port voice vlan 150 that again allows the voice vlan to also travel across that port
Info
Channel: Anthony Lucas
Views: 2,053
Rating: 5 out of 5
Keywords:
Id: Pxz-DuiPA1A
Channel Id: undefined
Length: 15min 11sec (911 seconds)
Published: Thu Feb 11 2021
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.