Welcome back. Now I know this is not a voice certification, but we did speak on voice VLANs. I'm so sorry, I used to do this. Now, this is not the preferred method. Remember, we talked about a preferred method? Because if something were to happen to the phones, then that would be it for PCs as well.
Why not? I've already configured this, I'm gonna explain what I did. Okay. First of all, there's when you're connecting the PC to the phone. You got a straight through cable, and it says PC. So there's a PC connection and a switch connection.
So make sure that when you're connecting the PC to the switch that this particular one says PC, so just don't use it using the packet tracer. Don't use use the Lightning Bolt. Make sure you use a straight through cable. And you connect whatever port here as you're on the PC to when you click on the phone, you're going to get two ports, a PC port and a switch port, you're going to connect to the PC port, okay. And then across over from the switch port here to whatever port you want up here. Okay, I'm using as your one as your 2103 for my three phones.
So you do the same thing for all three. Now when you're doing these phones, alright, they need to be powered up. So, under the physical tab, you see they have an inline power adapter. So make sure you drive that and connect it to this point right here. So it can get power. All right, unless you want to do Power over Ethernet and let the switch handle evolving.
These layer two switches are capable of doing layer three Yes. When are these layer two switches? Okay, so use the inline power adapter. Okay, so make sure that all three of them have that now in the switch in the switch itself. Let's do that in the switch itself. Right, we're going to create VLANs.
Alright, enable will be show VLAN why you can see we have two VLANs we have data and voice. But if you look at the ports, they're in the same port during the same port. How did I do that? Because we you know, now how to create a VLAN. So when you're naming a VLAN, or creating an asset, say I'm sorry, you're gonna say okay, let's say VLAN 300. Okay, which doesn't exist, obviously.
Name. Let's call it phones. Something totally different. And then you say, okay, there is already switch port mode access. But we'll do a switch port just to follow protocol switch port mode access. And what?
Yeah, nice, awesome. Oh, main forms. Going to get into the interface, the hop interface, let's say as 050 slash five, which is not being used, and you go switch port, mode, access, and then switch port access. And here's the difference. Now here you put VLAN. And then we're going to say, give me a second Give me a second interface.
It was on a switch for more boxes, switch for boxes. Okay, that's funny. All right. You shouldn't be giving me these errors. So let's go back. Always step back.
We did here's a 300 phones but when I signed them to ports, okay, so let's try this again comes empty interface F Zero, slash, five. Okay. switch port voice allows you to do voice VLAN and then 300 question mark was coming to the rescue. Okay, so you can do the same port You can do data as well. Okay? Because you're just creating a little one that says whatever.
And then let's say there's an existing VLAN, I can just say, switch port, mode, switch port access VLAN 100, and say, and now as we look at the show VLANs, you're going to see that the 300 Okay, is port five, and the data that exists is also port five. So you can use one port for both data and voice, both data and voice. Now, that's one of the things that you need to do there, you create the VLANs for your data, you create the VLANs for your voice, you assign them to the ports, switch for more access VLAN 10 or you know, 100, switch port voice VLAN 200. Okay, and that's why you see them on the same thing. Now, if you were to do a Start. So the very first ports you can see that right here you see interface one switch port access VLAN 100 switch port mode, access port and switch port voice VLAN 200.
So there are right there. Okay and then it also shows the fifth one that we did which we're not going to use but just to show you what I did. But what you also need to do, show and trunk you have to trunk your ports, in this case, it's ports 23 and 24. Why those ports because those ports are the ones are going to the routers will have one router acting as a call manager and now one router running DHCP why because my PCs are receiving an IP address from a DHCP server and will static DHCP and they get an IP address. So in the DHCP Let's go there first. And again, I want to get too much into it because it's not a void Whatever just so you know you have the basics of it.
Alright boys VLANs we just did it, just to go a little bit further, we'll do a show start. When you do DHCP exclude the addresses by IP DHCP excluding addresses that you don't want to be assigned. Alright, for either data or voice, okay. And you can see I have excluded the address one to one and then excluded the one dot 254 as well. Okay, and also the not one that what I did here, either formula 102 hundred, then I did a DHCP pool for data one or zero. And with the mask, the default router, which is the IP address for the default gateway, I put a DNS over there just to put one there and they had the one for the pool or their pool for voice, do the same thing.
But here's the big command that you need to know. Here's the one that will make you or break you. This guy right here. Not sure 150 is what's going to actually help register your forms, we're gonna tell your phones, okay, this is where you need to go to get all your information to get your files. Well, I'm pointing it to the call manager, which is 200 dot 253. So that option 150 is extremely important is extremely important.
You need to put that in there. You need to put that in there. Okay? And then obviously, are the all's is the same. You have your IP addresses, right? Are these sub interfaces because we're doing VLANs?
Okay, and that's it is a normal router configuration using DHCP and sub interfaces from the non a call manager. That's where you're gonna create. You're gonna create your turn left, and you can see the phones are coming up. So there's the call manager. Right? I'm gonna do a show start.
All right. We'll do it. Here's the interfaces Now, obviously had to create a sub interface for 200 because it is a VLAN that won't use same type of encapsulation and 200 or 253 and make sure you have productivity always verify the activity within that VLAN okay, because if your phones are not registering there has to be a reason there has to be a reason. It could be the pulling the cable backwards, you did the switch to the PC and the PC to the switch, or you didn't do the running capsulation or gather IP address or whatever the case may be. Make sure you have connectivity. And you can do that's the only one that I did.
They're here called good commands telephony service. That's the first one you type you enter it telephony service and global configuration. And then you put in Maxi phones in this case three Packet Tracer Maxi phones three max dialer numbers three and just like I said on the on the option 150 is crucial. Here, IP source address one To only pay 200 to 340 thousand is also crucial, because this is telling you, Hey, I am where you need to come to phones, alright, and we're going to use Port 2000. That way you get your information. And it's that's an auto assign.
But we really actually in the packet tracer gives you two options you can auto assign, or wish, you would need to go ahead and create the end and one and the number and all that stuff, the directory numbers and all that, or you do it to auto register. So you can it really doesn't matter I put auto and I do automation as well, but the road the phones will register automatically. If everything's connected properly are these pointing to the right location and the option 150 is there. So the phone and this is again always in global configuration, evil slash the N one number 1234 even the 25678 you find the entry number 9123. Okay, no big deal. They These commands right here.
The Packet Tracer does that all on its own. Okay, when the phone registers the phone will put in its MAC address, you know that everything's working when Hey, the phone register, you're going to get a command, hey, these phones just registered, you all need, the only thing you need to do is put the type is going to be a seven 816 and the button if you try to put it in the button and the button after you've hit enter, it tells you Hey, you need to put it in a MAC address or a VLAN or virtual station ID so whether that means that the phones are registering, there's a connectivity issue somewhere. Okay, something's going on. That you again point enter wrong. You put in the input the option you didn't trunk it wrong encapsulation, or it could be that the cables are reversed. Okay, so little troubleshooting tips there.
So but if you see the MAC address, you should be good to go. You can see that the phones are or erasure Again, once you see that it has a MAC address, forget about this, you need to worry about this right now you really don't. It does it automatically. You just need to put it in this right here, right you put a phone space three type 7960 by one, three, hit enter, takes it You're good. Alright, so that's it for that you're gonna have access to this to this lab and the actual notes on how to configure this very basic. Oh, telephony service.
Now the cool thing about it is what i like i mean the only reason I want to show you that I go if you did the view of the voice VLAN we did it down here. No big deal. But is this right here? I think this is cool. Where's the rear and it's big enough for because when you go to the gooey I this is from 1234. And this is phone no one Two, three.
So when I double click it, and I call 12341234. And then he starts ringing right from now. 123. So he picks up. Hey, how are you, Bob, we're going for lunch. Yeah, we're going for lunch, right?
See you later. And then you hang up the phone. Okay? And that's all it is. So that's pretty cool. They can do that as a very basic phone.
Configuration. You can do it all in one router, if you if you want it to. Or you can do it in two routers, like I did, just make sure that you're pointing it to the right direction you're pointing. Because remember, this is really not not a real call manager. It doesn't have any files or anything like that, that we've uploaded. So we can configure the phones or anything like that.
All they're doing is getting an IP address, and just basic connectivity and getting their dialing numbers assigned. That's it. And you saw how to create that voice VLAN I really can see the command if you do a show start which is right there. And you Just to get rid of all those other drivers, you can see right here, switch port voice VLAN 200, Angel it all under the same port. But again, this is not the preferred method, the preferred methods have a different switch, Buffon's connected on that switch. And then you can figure it that way.
All right, but just to show you how to create a voice VLAN and some basic telephony service to get these IP phones working, because I think it's pretty cool. And then you can use your own imagination and create, you know, a greater network and with phones and printers and things like that. And you can see how it all works. All right, are you getting me used power either using a layer three switch? Right, so that's that. I'll see you next