Jeremy's IT Lab
Day 46 LabIP Services

Voice VLANs

20m4 chapters34 cues5 cards1 lab
Day 46 LabYT: kGX76QNIjsE
00:00 / 20:18

Synchronized Transcript

34 cues indexed • Click dialogue or words to jump
Jeremy

Welcome to Jeremy’s IT Lab. This is a free, complete course for the CCNA. If you like these videos, please subscribe to follow along with the series.

Jeremy

Also, please like and leave a comment, and share the video to help spread this free series of videos. Thanks for your help. Also, remember to sign up via the link in the description to get all of the lab files for this course, so you can try it out yourself in packet tracer.

Jeremy

If you want more labs like these, I highly recommend picking up Boson’s NetSim for the CCNA. It’s a network simulator with tons of guided labs covering all of the topics you need to know for the CCNA.

Jeremy

Click the link in the video description to check it out. In this lab we’ll configure voice VLANs and then observe some traffic in the network. There are two PCs, each connected to an IP phone, and the IP phones are connected to SW1.

Jeremy

SW1 is a multilayer switch, but we won’t be using its Layer 3 capabilities in this lab. I selected this model because it supports PoE, Power over Ethernet.

Jeremy

So, if I click on phone1 for example, you can see the power cable is not connected. However, because SW1 supports PoE phone1 is on and receiving power via the ethernet cable.

Jeremy

So, instead of SW1 acting as the router, we’ll configure router on a stick between SW1 and R1. First I’ll configure SW1.

Jeremy

ENABLE. CONF T. I’ll configure G1/0/2 and 3 first, connected to the IP phones. INTERFACE RANGE G1/0/2 – 3.

Jeremy

SWITCHPORT MODE ACCESS. Now, the data VLAN is VLAN10 as I indicate in the diagram. So, SWITCHPORT ACCESS VLAN 10.

Jeremy

And the voice VLAN should be VLAN20, so SWITCHPORT VOICE VLAN 20. Ok, that’s all of the configuration needed on these interfaces.

Jeremy

Next we have to configure router on a stick between SW1 and R1. Although we won’t actually be sending any traffic between subnets in this lab, we need to make sure that phone1 and phone2 can reach R1.

Jeremy

I pre-configured some telephony settings on R1 so it can tell phone1 and phone2 how they should configure themselves. Those configurations are beyond the scope of the CCNA so I won’t cover them, but you can check out R1’s running-config if you want to see what configurations I did.

Jeremy

Okay, let’s configure SW1’s trunk. INTERFACE G1/0/1. SWITCHPORT TRUNK ENCAPSULATION DOT1Q.

Jeremy

SWITCHPORT MODE TRUNK. Now, by default all VLANs are allowed, but it’s best to limit the allowed VLANs to only those you need. So, SWITCHPORT TRUNK ALLOWED VLAN 10,20.

Jeremy

Okay, that’s all of the configuration needed on SW1. Next I’ll configure R1’s end.

Jeremy

ENABLE. CONF T. INTERFACE F0/0. NO SHUTDOWN. Okay, next I’ll configure two subinterfaces for router on a stick.

Jeremy

INTERFACE F0/0.10. ENCAPSULATION DOT1Q 10. IP ADDRESS 192.168.10.1 255.255.255.0.

Jeremy

That’s for the data VLAN, and next the voice VLAN. INTERFACE F0/0.20. ENCAPSULATION DOT1Q 20.

Jeremy

IP ADDRESS 192.168.20.1 255.255.255.0. Okay, that’s all of the configuration needed on R1.

Jeremy

Now let’s send some network traffic and check it out in simulation mode. First, I’ll go on PC1. I’ll ping PC2 and let’s see if the traffic is tagged.

Jeremy

First, I’ll ping in realtime mode. PING 192.168.10.12. Okay, the ping works.

Jeremy

Now I’ll switch to simulation mode and try again. PING 192.168.10.12. So, let’s check out the frame here and click on outbound PDU details.

Jeremy

Is the traffic tagged? No it isn’t. There is no 802.1Q tag in the frame. Okay I’ll switch back to realtime mode.

Jeremy

Just to make sure my configurations are correct I’ll ping R1, too. PING 192.168.10.1. Okay, no problem. Now it’s time to check out the phones.

Jeremy

I’ll call phone2 from phone1. So what’s phone2’s phone number? I’ll go to phone2 and click on the GUI tab.

Jeremy

The phone number is displayed here, 2010. How did it get the number? It was assigned by R1. So, SW1 told the phones what VLAN they are in, and then R1 told them what phone numbers to use, their IP addresses, etc.

Jeremy

So, now I’ll go to phone1. First I’ll go back to simulation mode. And I’ll call phone 2. 2 0 1 0, and then click on the phone to pick it up.

Jeremy

Notice that an SCCP, skinny client control protocol, message is sent. SCCP is not something you need to know for the CCNA, by the way.

Jeremy

If we check out the message, in the IP header you can see the IP address that was assigned to phone1 as the source IP. Below it you can see ‘Dot1q header’.

Jeremy

So, that means this frame is tagged with a VLAN, it’s using dot1q. In ‘outbound PDU details’ you can see it here, TPID 8100, which means dot1q.

Jeremy

And in TCI, tag control information, you can see the VLAN ID. Hexadecimal 0014 is equivalent to decimal 20, so this frame is tagged in VLAN 20.

Jeremy

That’s because we configured SWITCHPORT VOICE VLAN 20 on SW1’s interfaces. Okay, in this lab we configured voice VLANs and observed that traffic sent from the PCs is not tagged with a VLAN ID, but traffic sent from the phones is tagged

Jeremy

with a VLAN ID. Note that this applies not only to traffic sent from the PCs or from the phones, but also to traffic sent to the PCs or to the phones by SW1.

Jeremy

SW1 will not tag traffic sent to the PCs, but will tag traffic sent to the phones. That’s all for this lab. Now let’s take a look at a bonus lab in Boson Software’s NetSim for CCNA.

Keyboard shortcuts

Shortcuts are ignored while you are typing in a search box, note field, or the scratchpad.

Playback

SpaceK
Play or pause
←→
Seek 5 seconds
JL
Seek 10 seconds
C
Toggle in-video captions

Scrubber (when focused)

←→
Seek 5 seconds
Shift←/→
Seek 10 seconds
Page UpPage Down
Seek 30 seconds
HomeEnd
Jump to start or end

Flashcards

Space
Reveal the answer
1234
Grade Again / Hard / Good / Easy

Navigation

←→
Move between study-mode tabs
HomeEnd
First or last study-mode tab
?
Open or close this sheet