Use it on ports with an IP phone and a PC daisy-chained behind it, or when phones end up in the data VLAN.
Voice VLAN
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>.
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.
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
Operational reference
Fast context before you go deeper.
switchport voice vlan <id>Primary Commands
Configuration and operational commands for this Topic.
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 switchportLook 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.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
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 · 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.
The official Cisco source documents this command in a bounded Cisco product/release or feature context.
command output · Evidence referenceVoice VLAN configured locally but phone has no voice serviceThe access port shows the intended Voice VLAN in local switchport state.
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
| Feature | Documented interaction |
|---|---|
| PortFast | Enabling a voice VLAN turns PortFast on; disabling the voice VLAN doesn't turn it off (optional STP features guide) |
| Port security | Set the maximum to at least two plus the access VLAN's maximum (port security guide) |
Voice VLAN options
| Option | Phone behaviour |
|---|---|
switchport voice vlan <id> | Voice tagged in the voice VLAN |
switchport voice vlan dot1p | Voice tagged with VLAN 0 and 802.1p priority, carried in the access VLAN |
switchport voice vlan untagged | Voice untagged in the access VLAN |
Why a separate voice VLAN
| Benefit | Reason |
|---|---|
| QoS | Voice traffic is easy to identify and mark |
| Addressing | Phones get their own DHCP scope with voice options |
| Security | Data 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.
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.
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
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
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%Quick lookup tables
Voice VLAN · operational reference
Compact state and interpretation boundaries for fast lookup.
| Traffic role | Typical wire format | Dependency |
|---|---|---|
| Data PC | Untagged | Access VLAN |
| IP phone voice | 802.1Q tagged | Voice VLAN |
| Voice discovery | CDP/LLDP-MED | Edge discovery policy |
| Voice service | IP/application | DHCP, gateway, call control |