Secure Network Best Practices Library · Network design and VLANs
Voice VLAN configuration guide for business networks
A voice VLAN puts desk phones on their own network while the computer plugged into each phone stays on the staff network, all over one cable. This guide shows how the mechanism works, how to configure the ports on four vendors, what to set for call quality, and how to check that phones landed in the right place.
Prefer to have it done for you? IT Perfection provides router, switch and VLAN management for companies in Irvine, Orange County and Los Angeles County.
Written by Ali Hassani, CISSP and C|CISO · 25+ years designing, securing and supporting business networks · Updated November 2026



Secure Network Best Practices Library › Network design and VLANs › Voice VLAN configuration
Why it matters
Separate voice traffic so call quality and security are easier to manage
A phone call is a steady stream of small packets that must arrive on time. A file download is the opposite: large bursts that can wait a moment without anyone noticing. When both share one network with no way to tell them apart, a large download can make a call break up.
A voice VLAN solves two problems at once. It gives the network a simple way to recognise voice traffic and move it first. And it keeps phones, which are small computers with their own web pages and software, away from laptops, guest devices and anything else that has no reason to talk to them.
It is not only a switch setting. A voice VLAN works when the VLAN, its addresses, the port configuration, the quality of service settings and the firewall rules for the phone platform are designed together and written down. When they are not, call problems become very hard to trace.
The National Security Agency's Network Infrastructure Security Guide recommends separating telecommunication systems from workstations and other devices in their own subnets or VLANs, and allowing only the traffic needed between the groups.
Source: NSA, Network Infrastructure Security Guide, section 2.2. Read Nov 22, 2026.
The situations
Which situation are you in
| Situation | What it looks like | What to do |
|---|---|---|
| Desk phone and computer on one socket | The computer plugs into the back of the phone | A staff VLAN and a voice VLAN on the same port, as shown on this page. |
| Phone on its own socket | Reception phones, meeting rooms, wall phones | An access port in the voice VLAN only. |
| Softphone users | Teams, Zoom Phone or similar on a laptop, no desk phone | A voice VLAN does not apply. Call quality depends on Wi-Fi, the internet line and marking on the laptop. |
| Phones registered to a cloud service | Phones reach a provider over the internet | Voice VLAN plus firewall rules for the provider, and priority for voice on the internet line. |
| Branch office | Calls cross a link between sites | Voice VLAN at each site and quality of service on the link between them. |
Most offices have the first two situations together. The rest of this page configures them, then covers the settings they share with the others.
Before you start
What to have ready
- The voice VLAN, subnet and DHCP scope. In this library it is VLAN 20, 10.10.20.0/24. Many phone systems need extra DHCP options so phones can find their provisioning server; your phone vendor lists them.
- The requirements of your phone platform. The addresses and ports phones must reach, and the markings the platform uses for audio. These come from the vendor, not from the switch.
- The PoE budget of each switch. Add up the power the phones need and compare it with what the switch can supply. A switch that runs out of power drops phones at random.
- A list of desk ports. Which ports have a phone and a computer, which have a phone only, and which have neither.
If you have not yet planned your VLANs, start with the VLAN design guide; the voice VLAN is one line in that plan.
Step by step
Configure the voice VLAN in six steps
Create the VLAN, gateway and DHCP scope
Create VLAN 20 on every switch that has phones, give it a gateway, and create the DHCP scope with the options your phone platform needs.
Carry the voice VLAN on the uplinks
Add VLAN 20 to the allowed list on every link between switches and to the firewall. The trunk guide covers the allowed list.
Set the desk ports
Each desk port gets the staff VLAN for untagged traffic and the voice VLAN for the phone. On Cisco that is
switchport access vlan 10andswitchport voice vlan 20. Use one standard port configuration for every desk.Let the switch tell the phone its VLAN
Phones learn the voice VLAN from the switch through LLDP-MED, or CDP for Cisco phones. Make sure the protocol your phones use is enabled. A phone that never hears the announcement stays in the staff VLAN.
Set quality of service
Mark voice so it is forwarded first when a link is busy, and trust that marking only where it comes from a phone. The next section gives the values.
Write the firewall rules for the voice VLAN
Phones need their call platform, DNS, time and provisioning, and little else. Block the voice VLAN from the staff, guest and IoT VLANs. The guide to routing between VLANs shows how to write the rules.
! Let the switch tell non-Cisco phones their VLAN (CDP covers Cisco phones) lldp run ! ! A desk port: computer in STAFF, phone in VOICE interface GigabitEthernet1/0/5 description Desk 5, phone and computer switchport mode access switchport access vlan 10 switchport voice vlan 20 spanning-tree portfast
- Tick the desk ports, then choose Edit.
- Set Type to Access.
- Enter the data VLAN 10 and the voice VLAN 20, then choose Update.
- The switch advertises the voice VLAN to the phone with LLDP and CDP.
- Set the quality of service rule for the voice VLAN under Switching › Configure › Switch settings, in the Quality of service section.
! Mark VLAN 20 as the voice VLAN so it is advertised to phones vlan 20 name VOICE voice ! ! A desk port: untagged staff VLAN, tagged voice VLAN interface 1/1/5 description Desk 5, phone and computer no shutdown no routing ! only where ports start as routed vlan trunk native 10 vlan trunk allowed 10,20
- Create the voice network with VLAN ID 20 under Settings › Networks.
- On the Ports tab, select the desk port.
- Set Native VLAN / Network to the staff network.
- Under Tagged VLAN Management choose Custom and select only the voice network.
- If a phone does not pick up the voice VLAN by itself, set the VLAN ID on the phone or through the provisioning of your phone platform.
Example values. Replace names, ports, addresses and VLAN numbers with your own. Each command and menu name was checked against the vendor's documentation on Nov 22, 2026; menus can move between software versions.
Recommended values
The settings at a glance
| Setting | Recommended value | Why |
|---|---|---|
| Desk port | Staff VLAN untagged, voice VLAN for the phone | One cable serves the phone and the computer without mixing them. |
| How phones learn the VLAN | LLDP-MED, or CDP for Cisco phones | No VLAN has to be typed into each phone. |
| Marking for call audio | Expedited Forwarding, DSCP 46, unless your platform says otherwise | The widely used marking for voice; switches and routers place it in the priority queue. |
| Where markings are trusted | From phones and from other switches, not from computers | A computer cannot mark its own traffic as urgent and crowd out calls. |
| Internet and site links | Voice given priority on the way out | The link out of the building is where congestion usually happens. |
| Voice VLAN to other VLANs | Blocked, except what the phone platform needs | Phones are kept away from computers and guests. |
| Power | PoE budget checked with headroom | Phones do not drop when another device is added. |
| Records | Phone location and emergency calling details kept current in your phone platform | A phone moved to another desk or site is still recorded in the right place. |
Quality of service commands differ between switch models. The values above are the same everywhere, but the commands that apply them are not. Follow the quality of service guide for your switch model and software version, and test with real calls on a busy link.
Check that it works
Confirm phones are where they should be
! Illustration, shortened to the lines that matter Name: Gi1/0/5 Switchport: Enabled Administrative Mode: static access Operational Mode: static access Access Mode VLAN: 10 (STAFF) Voice VLAN: 20 (VOICE)
- Phones have a voice VLAN address. The network menu on the phone shows a 10.10.20 address, and the computer behind it shows a 10.10.10 address.
- The switch sees the phone. On Cisco,
show lldp neighborsorshow cdp neighborslists the phone on the desk port. - Phones register and calls connect. Make an internal call and an outside call from a phone at each switch.
- Calls hold up under load. Run a large file copy from the computer behind a phone during a call. The call should not break up.
- The voice VLAN is closed. From a computer in the staff VLAN, try to open the web page of a phone. It should fail unless you allowed it for IT.
Mistakes and rollback
Common mistakes, and how to undo the change
| What you see | Likely cause | Fix |
|---|---|---|
| A phone gets a staff VLAN address | It never learned the voice VLAN | Enable LLDP on the switch, or set the VLAN on the phone. |
| Phones get an address but do not register | DHCP options or firewall rules for the phone platform are missing | Add the options and rules the vendor lists. |
| Phones at one switch fail | VLAN 20 is not allowed on that uplink | Add it to the trunk on both ends. |
| Calls break up when the network is busy | Voice is not prioritised, or markings are removed along the path | Check the marking at each hop, including the internet link. |
| Phones restart at random | The switch has run out of PoE power | Check the budget; move phones or add power. |
| Everything is marked urgent | Markings are trusted from computers | Trust markings only from phones and switches. |
Rollback
Removing the voice VLAN line from a desk port returns the phone to the staff VLAN the next time it restarts. Change one switch at a time, and keep the previous DHCP scope for phones until every switch has been moved and tested.
interface GigabitEthernet1/0/5 no switchport voice vlan
Vendor sources read Nov 22, 2026: Cisco Catalyst command references; Meraki, Configuring the MS Access Switch for Standard VoIP Deployments and LLDP Support on Cisco Meraki Products; HPE Aruba AOS-CX VLAN commands; UniFi, switch port VLAN configuration.
Have us do it
Prefer to hand this off?
Voice VLAN setup is part of our router, switch and VLAN management work. We design the voice VLAN with your phone platform requirements, configure every desk port the same way, set call quality priorities, test with real calls and hand you the port list and settings. You receive a written scope and a written quote before any work starts.
Next in the library
Related guides
For a formal written audit of switch and router settings, OC Security Audit, our related cybersecurity brand also led by Ali Hassani, reviews configurations against a written checklist. This guide is for education and planning. IT Perfection is not affiliated with the vendors named on this page.

Who does the work
Written by Ali Hassani, CISSP, C|CISO
Ali Hassani has 25+ years of hands-on experience in IT operations, cybersecurity, Microsoft infrastructure, network security and Azure, and works with businesses in Irvine, Orange County and Los Angeles County. Design, implementation and troubleshooting work is planned and reviewed by Ali personally.
This guide is for education and planning. It does not replace a professional audit, compliance assessment or vendor engineering review. Updated November 2026.








FAQ
Voice VLAN configuration: common questions
What is a voice VLAN?
It is a VLAN used only by phones. On a desk port it sits beside the normal staff VLAN, so a phone and the computer plugged into it share one cable but are on different networks.
How does a phone know which VLAN to use?
The switch tells it. Most phones learn the voice VLAN through LLDP-MED, and Cisco phones can also use CDP. If a phone supports neither, the VLAN is set on the phone or through its provisioning.
Do softphones need a voice VLAN?
No. A softphone runs on a laptop that is already in the staff VLAN. For softphones, call quality depends on Wi-Fi, the internet line and how the laptop marks voice traffic.
Does a voice VLAN improve call quality by itself?
It makes voice traffic easy to identify, but quality improves only when quality of service is set so that voice is forwarded first on busy links, especially the link to the internet.
Which DSCP value is used for voice?
Call audio is commonly marked Expedited Forwarding, which is DSCP 46. Follow the values your phone platform documents if they differ.
Can IT Perfection set up our voice VLAN?
Yes. It is part of our router, switch and VLAN management service for companies in Irvine, Orange County and Los Angeles County. Call 949-777-5567 or use the contact page to request a quote.
Need this done for your business?
IT Perfection plans, installs and supports this for companies in Irvine and Orange County
The guides explain the steps. If you would rather have it done, planned and documented by an experienced engineer, these are the services that cover it. Design, implementation and troubleshooting work is planned and reviewed by Ali Hassani personally.
Network design and installation
Firewall, switches, VLANs and Wi-Fi planned, installed and documented.
View serviceNetwork troubleshooting
Slow network, drops, Wi-Fi, VPN, DNS and DHCP problems traced and fixed.
View service