Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

Voice VLAN

Direct answer

A voice VLAN lets one access port carry an IP phone's traffic tagged in a separate VLAN while the PC behind the phone stays untagged in the data VLAN. Configure it with switchport voice vlan <id>.

When to use this

Use it on ports with an IP phone and a PC daisy-chained behind it, or when phones end up in the data VLAN.

First 30 seconds

1. show interfaces <if> switchport — data VLAN and voice VLAN as intended?

2. show mac address-table interface <if> — phone MAC in the voice VLAN, PC MAC in the data VLAN?

3. Phone in the data VLAN → is CDP or LLDP enabled on the port? show cdp neighbors <if>.

4. show power inline <if> — phone powered?

5. Both VLANs present on the uplink trunk: show interfaces trunk.

Operational verification

voice VLAN configured → phone learns it via CDP/LLDP → phone tags voice traffic → phone MAC learned in the voice VLAN, PC MAC in the data VLAN → both VLANs carried upstream

Evidence · next step

Compare the peer port and then verify trunk/STP state for the affected VLAN.

Continue only after interpreting the current observation.
Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Cisco IOS / IOS XE
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformCisco IOS / IOS XE · Cisco IOS XE
Key commandswitchport voice vlan <id>
Scope / prerequisiteUse it on ports with an IP phone and a PC daisy-chained behind it, or when phones end up in the data VLAN.
Show · 1Reference · 1
What next?3 suggested next steps
Catalog command links2
Evidence2
On this pageJump to a specific section
Cisco IOS / IOS XE first

Primary Commands

Configuration and operational commands for this Topic.

Verification

Show Commands

Read-only Cisco show commands for confirming state, narrowing a fault and interpreting the current boundary.

How to read the output

show interfaces switchport

Look first: line/protocol state, errors/discards, rate, duplex/speed, last input/output

Healthy: State and counters align with expected traffic and physical conditions.

Warning: CRC/input errors, drops, resets, queue drops or unexpected negotiation.

Does not prove: An interface counter is a symptom until correlated with path/time/workload.

Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Verification and output interpretation Verify boundary

Check switchport output for the configured access and voice VLANs, then verify CDP/LLDP neighbor information identifies the phone where expected. Confirm the phone receives an address from the voice subnet and that the attached PC remains in the data subnet. MAC-table state can show different endpoint MACs learned through the same physical port but in different VLANs. If QoS is part of the design, inspect trust/classification policy and counters separately rather than inferring QoS from the voice VLAN configuration. Call registration or media success is an application-layer check beyond Layer-2 voice VLAN state.

Evidence references

Evidence · 2 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

other · 1command output · 1
Command lookup Jump straight to Cisco syntax
Key points

The phone learns the voice VLAN from CDP (or LLDP-MED) and tags its own traffic. If CDP/LLDP is off on the port, the phone sends untagged and lands in the data VLAN. Both VLANs must exist and be carried to the gateways.

Key checks
  • show interfaces <if> switchport — Access Mode VLAN and Voice VLAN.
  • show cdp neighbors <if> detail — the phone seen by CDP.
  • show lldp neighbors <if> detail — the phone seen by LLDP-MED.
  • show mac address-table interface <if> — the phone's MAC in the voice VLAN, the PC's in the data VLAN.
  • show power inline <if> — PoE delivered to the phone.
ReferenceImportant terms & boundaries5 sections · depth on demand

Key points

The access VLAN and voice VLAN are separate. Cisco IP phones commonly tag voice traffic for the voice VLAN while data traffic from the attached PC remains in the access VLAN. Discovery/signaling behavior depends on the endpoint/platform design.

In depth

Voice VLAN: separate VLANs for the phone and the PC behind it

Cisco's Catalyst 9000 VLAN guide describes a voice VLAN port as an access port attached to an IP phone, with one VLAN for voice and another for the data of the device connected to the phone. VTP has no effect on voice VLANs.

C9300(config)# vlan 120
C9300(config-vlan)# name VOICE
C9300(config)# interface GigabitEthernet1/0/10
C9300(config-if)# switchport mode access
C9300(config-if)# switchport access vlan 20
C9300(config-if)# switchport voice vlan 120
C9300(config-if)# switchport port-security maximum 3
C9300# show interfaces GigabitEthernet1/0/10 switchport | include VLAN
Access Mode VLAN: 20 (USERS)
Voice VLAN: 120 (VOICE)
C9300# show cdp neighbors GigabitEthernet1/0/10 detail | include Device|Platform
Device ID: SEP00A1B2C3D4E5
Platform: Cisco IP Phone 8865,  Capabilities: Host Phone

The phone learns the voice VLAN from the switch (usually by CDP or LLDP-MED) and tags its own voice traffic. The PC behind the phone sends untagged frames in the access VLAN.

Related behaviour in other Catalyst 9300 guides

FeatureDocumented interaction
PortFastEnabling a voice VLAN turns PortFast on; disabling the voice VLAN doesn't turn it off (optional STP features guide)
Port securitySet the maximum to at least two plus the access VLAN's maximum (port security guide)

Voice VLAN options

OptionPhone behaviour
switchport voice vlan <id>Voice tagged in the voice VLAN
switchport voice vlan dot1pVoice tagged with VLAN 0 and 802.1p priority, carried in the access VLAN
switchport voice vlan untaggedVoice untagged in the access VLAN

Why a separate voice VLAN

BenefitReason
QoSVoice traffic is easy to identify and mark
AddressingPhones get their own DHCP scope with voice options
SecurityData hosts can't reach call control directly without routing policy

Troubleshooting

If a phone boots into the data VLAN, the switch isn't advertising the voice VLAN to it. Check that CDP or LLDP-MED is enabled on the port, and that the voice VLAN exists on the switch and on the uplink trunk.

Documented example, not captured output.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Quick reference

A voice VLAN lets an access port carry phone traffic tagged in one VLAN and PC traffic untagged in the data VLAN, over one cable through the phone's built-in switch. The switch tells the phone which VLAN to use through CDP or LLDP-MED.

interface Gi1/0/10
 switchport mode access
 switchport access vlan 20
 switchport voice vlan 30
 trust device cisco-phone

Documented example, not captured output.

Separate voice VLANs make QoS trust and DHCP options for phones easier, and keep voice traffic out of the PC broadcast domain.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

State model and protocol mechanics

On a typical Cisco access edge, an IP phone connects to the switch and a PC may connect through the phone's internal switch. The switchport has an access VLAN for ordinary untagged data traffic and a voice VLAN that the phone uses with 802.1Q tagging. The phone learns or is told the voice VLAN through discovery mechanisms such as CDP/LLDP-MED depending on the environment. This creates two logical service classes on one physical edge link while retaining access-port semantics for the data device. The voice VLAN normally has its own IP subnet, DHCP scope and gateway, and may use DHCP options or other mechanisms to discover call-control services. QoS markings from the phone are a separate trust/policy decision; the presence of a voice VLAN does not automatically make all marked traffic trustworthy.

Limits and common misconceptions

A configured voice VLAN does not show the phone discovered it, obtained an address, registered with call control or receives correct QoS treatment. Likewise, a working phone does not show the data VLAN is healthy. The port can legitimately carry both untagged data and tagged voice frames, so seeing tags on an access edge is not automatically evidence that the port is operating as a normal trunk. VLAN separation also does not equal security isolation unless routing/firewall/identity policy enforces the intended boundaries. Treat edge classification, DHCP/addressing, discovery, QoS and voice application state independently.

ReferenceConfiguration & state1 section · depth on demand

Design and configuration model

Assign the user/data access VLAN and the voice VLAN explicitly on phone-facing ports. Ensure both VLANs exist and are carried to the appropriate Layer-3 gateways. Coordinate DHCP for the voice subnet, call-control discovery and any QoS trust boundary so the segmentation is operationally complete. Use discovery protocols deliberately; if phones rely on CDP or LLDP-MED for the voice VLAN, disabling that mechanism can change how endpoints classify traffic. Do not reuse the voice VLAN as a generic trunk shortcut for arbitrary devices. Security policy should consider that the physical jack can expose both data and voice service contexts unless additional authentication or access controls are deployed.

Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docCisco IOS / IOS XE Current documentation reviewed 2026-09-14

Authoritative/upstream documentation reviewed for bounded claims in Switching → VLAN → Voice VLAN. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://www.cisco.com/c/en/us/support/ios-nx-os-software/ios-xe-17/series.html · confidence 94%
Embedded reference data

Quick lookup tables

Voice VLAN · operational reference

Compact state and interpretation boundaries for fast lookup.

Traffic roleTypical wire formatDependency
Data PCUntaggedAccess VLAN
IP phone voice802.1Q taggedVoice VLAN
Voice discoveryCDP/LLDP-MEDEdge discovery policy
Voice serviceIP/applicationDHCP, gateway, call control
Confirmation

Confirm action

Continue?