Voice VLAN Configuration

voice-vlan-tagged-untagged-ipcisco

IP Phones are one of the most used network devices in modern offices today. Voice over IP (VoIP) is also a popular technology which is used in such devices. In an office LAN, beside normal VLANs, Voice VLAN is also used for these devices. Here, we will talk about these VLANs and how to configure Voice VLANs on Cisco switches.

 


You can also check Packet Tracer VLAN Configuration Example.


 

Why We Use Voice VLANs?

Think about your desk in the office. Generally, only one network cable comes to the desk in the office. The data connection is done over this cable. What if you are using multiple devices and one of them is an IP Phone? You have one cable but you need to access two different services. Here, you need a solution.

 

For such a topology, to overcome this issue, multiple ports on the IP Phone are used beside a specific Voice VLANs configuration on the switch By using a separate Voice VLAN beside the Data VLAN, you can use both of these devices over a single link.

 

Here, a basic topology like below is used. As you can see, in this topology, IP Phone is connected to the switch and then PC is connected to that IP Phone.

 

voice-vlan-tagged-untagged-ipcisco

 

The PC sends untagged data to IP Phone. Only, untagged data is passed over this link. On the other hand, on the link which connects IP Phone to switch, passes both tagged voice and untagged data traffic.

 


 

Voice VLAN Configuration

Now, let’s do a Voice VLAN Configuration example. Below example is typically an office desk connection. Here, we use two separate VLANs for data and voice. Data is used over VLAN 20 and voice is used over VLAN 10.

 

voice-vlan-trunkipcisco

 

Below, you can find the configuration steps one by one.

 

Firstly, we will create VLAN 10 and VLAN 20. We will also give the names of the VLANs.

 

Switch(config)# vlan 10

Switch(config-vlan)# name VOICE

SSwitch(config-vlan)# vlan 20

Switch(config-vlan)# name DATA

 

Then, we will go to the interface which IP Phone is connected to the switch. We will configure this port as access port and two VLANs can be used under this port.

 

Switch(config)# interface fa0/1

Switch(config-if)# switchport mode access

Switch(config-if)# switchport access vlan 10

Switch(config-if)# switchport voice vlan 20

 

In this lesson, we have configured Voice VLAN basically. With this configuration, we will access both data and voice traffic over the same link. This configuration is especially widely used in offices which uses IP phones.

 

Back to: CCNA 200-301 > VLANs

Leave a Reply

Your email address will not be published.

IPCisco is the Winner of 2019 “Best Certification Study Journey” Category! We are also Finalist of 2020 & 2021 in Cisco IT Blog Awards!

Cisco-ITBlogAwards-2019-Winner-IPCisco-k
ITBlogAwards_2020_Badge-Finalist-BestCertStudy-ipcisco
ITBlogAwars-2021-ipcisco

CCNA 200-301

Collapse
Expand
IPCisco on Social Media!

Latest Blog Posts

global-mobile-data-traffic-2027-2026
14-Ways-To-Study-CCNA-Online
top-ten-network-certifications-ipcisco
metaverse-jobs-ipcisco.com
Wifi-6-vs-wifi-5-ipcisco.com