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.

Ali Hassani, CISSP and Certified CISO, IT PerfectionWritten by Ali Hassani, CISSP and C|CISO · 25+ years designing, securing and supporting business networks · Updated November 2026

Two colleagues at a desk with a laptop and a phone
1 · DesignWe document the voice VLAN, its addresses, the port profile and the rules.

Secure Network Best Practices Library › Network design and VLANs › Voice VLAN configuration

What it isA voice VLAN is a second VLAN on a desk port, used only by the phone. The switch tells the phone which VLAN to use, the phone tags its traffic with it, and the computer connected through the phone stays in the normal staff VLAN.
Where it livesOn each access switch port that has a phone, and in the DHCP and firewall settings for the voice VLAN
Works onManaged switches and desk phones that support LLDP-MED or CDP. Steps shown for Cisco, Meraki, Aruba and UniFi
Cost and timeNo licence needed. Check the PoE budget of each switch before adding phones
Risk if missingMixed trafficPhones share a network with every computer, so call quality and phone security are harder to control

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.

What the reference guidance says

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

SituationWhat it looks likeWhat to do
Desk phone and computer on one socketThe computer plugs into the back of the phoneA staff VLAN and a voice VLAN on the same port, as shown on this page.
Phone on its own socketReception phones, meeting rooms, wall phonesAn access port in the voice VLAN only.
Softphone usersTeams, Zoom Phone or similar on a laptop, no desk phoneA voice VLAN does not apply. Call quality depends on Wi-Fi, the internet line and marking on the laptop.
Phones registered to a cloud servicePhones reach a provider over the internetVoice VLAN plus firewall rules for the provider, and priority for voice on the internet line.
Branch officeCalls cross a link between sitesVoice 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

  1. 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.

  2. 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.

  3. 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 10 and switchport voice vlan 20. Use one standard port configuration for every desk.

  4. 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.

  5. 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.

  6. 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

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

SettingRecommended valueWhy
Desk portStaff VLAN untagged, voice VLAN for the phoneOne cable serves the phone and the computer without mixing them.
How phones learn the VLANLLDP-MED, or CDP for Cisco phonesNo VLAN has to be typed into each phone.
Marking for call audioExpedited Forwarding, DSCP 46, unless your platform says otherwiseThe widely used marking for voice; switches and routers place it in the priority queue.
Where markings are trustedFrom phones and from other switches, not from computersA computer cannot mark its own traffic as urgent and crowd out calls.
Internet and site linksVoice given priority on the way outThe link out of the building is where congestion usually happens.
Voice VLAN to other VLANsBlocked, except what the phone platform needsPhones are kept away from computers and guests.
PowerPoE budget checked with headroomPhones do not drop when another device is added.
RecordsPhone location and emergency calling details kept current in your phone platformA 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 neighbors or show cdp neighbors lists 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 seeLikely causeFix
A phone gets a staff VLAN addressIt never learned the voice VLANEnable LLDP on the switch, or set the VLAN on the phone.
Phones get an address but do not registerDHCP options or firewall rules for the phone platform are missingAdd the options and rules the vendor lists.
Phones at one switch failVLAN 20 is not allowed on that uplinkAdd it to the trunk on both ends.
Calls break up when the network is busyVoice is not prioritised, or markings are removed along the pathCheck the marking at each hop, including the internet link.
Phones restart at randomThe switch has run out of PoE powerCheck the budget; move phones or add power.
Everything is marked urgentMarkings are trusted from computersTrust 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.

Ali Hassani, CISSP and Certified CISO, IT Perfection

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.

ISC2 CISSP badgeEC-Council Certified CISO (C|CISO) badgeCisco CCNP Routing and Switching badgeMCSE: Server Infrastructure badgeMicrosoft MCSE badgeMCSA: Security badgeCisco CCNA Cybersecurity badgeMCITP badge

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 service

Firewall installation

New or replacement firewalls with clean rules and VPN with MFA.

View service

Network troubleshooting

Slow network, drops, Wi-Fi, VPN, DNS and DHCP problems traced and fixed.

View service