Interface configuration
switchport voice vlan <id>
switchport voice vlan <id>
Assign a voice VLAN to an access port for IP phones.
Separate IP phone voice traffic from the data access VLAN on a Cisco access edge.
Verify member flags and bundle consistency, VLAN admission and STP state, then confirm the source/destination MAC learns on the expected logical interface during the original flow. Repeat the original workload/request before closure.
Privilege Not recordedState impact Changes stateProduction Unknown
Field glossary
Important fields projected from persisted Command guidance.
Voice VLAN ID advertised/used for supported voice endpoint behavior.Important persisted output field; use surrounding guidance for interpretation.
Used in these Topics
Each relation carries both placement role and operational semantic: verifies, configures, troubleshoots, collects evidence, changes state or general.
Evidence boundary
What this output can establish — and where you must not over-claim.
Supports the state directly exposed by switchport voice vlan <id> for the selected object and execution context.
Does not by itself prove root cause, adjacent dependency health, effective end-to-end behavior, return-path health or workload recovery.
Verify member flags and bundle consistency, VLAN admission and STP state, then confirm the source/destination MAC learns on the expected logical interface during the original flow. Repeat the original workload/request before closure.
Command guidance
Execution context
Use when
Separate IP phone voice traffic from the data access VLAN on a Cisco access edge.
Important fields
Voice VLAN ID advertised/used for supported voice endpoint behavior.
Common problems
Voice VLAN absent/upstream not allowed; phone does not learn the VLAN; confusing voice VLAN with access VLAN.
Operational impact
Changes Layer 2 classification for supported phone traffic.
Runtime cautions
Can disrupt voice DHCP/call services if the VLAN path is not complete.
Technical context
Verify both Access Mode VLAN and Voice VLAN plus upstream trunk transport.
Variants · known-good and broken output
Read the stored sample against its authored expected state and interpretation, then return to the Command evidence boundary for what the observation can and cannot prove.
Known-good interpretationKnown-good · Cisco IOS / IOS XE first; platform channel limits, hashing and negotiation options vary.
Expected object/state present; identifiers and counters align with the controlled test.healthy/terminal
switchport voice vlan <id> — Known-good. Expected object/state present; identifiers and counters align with the controlled test. Verify member flags and bundle consistency, VLAN admission and STP state, then confirm the source/destination MAC learns on the expected logical interface during the original flow. Why it looks this way: the displayed fields belong to the Layer-2 membership and aggregation boundary, so interpret identifiers, state, timers/counters and error/result fields in that scope. What it proves: only the state directly exposed by this command for the selected object/context. What it does not prove: adjacent dependency health, root cause, effective end-to-end behavior or the return path. Next check: follow discriminating boundaries: physical member → negotiation/key compatibility → bundle/logical port → trunk/access mode → allowed/native VLAN → STP state → MAC table → original frame. and repeat the original workload/request.
Supports the state directly exposed by switchport voice vlan <id> for the selected object and execution context.
Does not prove: Does not by itself prove root cause, adjacent dependency health, effective end-to-end behavior, return-path health or workload recovery.Verify member flags and bundle consistency, VLAN admission and STP state, then confirm the source/destination MAC learns on the expected logical interface during the original flow. Repeat the original workload/request before closure.
Transitional interpretationTransitional · Cisco IOS / IOS XE first; platform channel limits, hashing and negotiation options vary.
State is pending/negotiating/reconciling/recovering; progress/timer/counter changes between samples.in-progress
switchport voice vlan <id> — Transitional. State is pending/negotiating/reconciling/recovering; progress/timer/counter changes between samples. Verify member flags and bundle consistency, VLAN admission and STP state, then confirm the source/destination MAC learns on the expected logical interface during the original flow. Why it looks this way: the displayed fields belong to the Layer-2 membership and aggregation boundary, so interpret identifiers, state, timers/counters and error/result fields in that scope. What it proves: only the state directly exposed by this command for the selected object/context. What it does not prove: adjacent dependency health, root cause, effective end-to-end behavior or the return path. Next check: follow discriminating boundaries: physical member → negotiation/key compatibility → bundle/logical port → trunk/access mode → allowed/native VLAN → STP state → MAC table → original frame. and repeat the original workload/request.
Supports the state directly exposed by switchport voice vlan <id> for the selected object and execution context.
Does not prove: Does not by itself prove root cause, adjacent dependency health, effective end-to-end behavior, return-path health or workload recovery.Verify member flags and bundle consistency, VLAN admission and STP state, then confirm the source/destination MAC learns on the expected logical interface during the original flow. Repeat the original workload/request before closure.
Broken interpretationBroken · Cisco IOS / IOS XE first; platform channel limits, hashing and negotiation options vary.
Expected object/state is absent, failed, denied, unresolved or diverges from the controlled test context.failed/degraded
switchport voice vlan <id> — Broken. Expected object/state is absent, failed, denied, unresolved or diverges from the controlled test context. Verify member flags and bundle consistency, VLAN admission and STP state, then confirm the source/destination MAC learns on the expected logical interface during the original flow. Why it looks this way: the displayed fields belong to the Layer-2 membership and aggregation boundary, so interpret identifiers, state, timers/counters and error/result fields in that scope. What it proves: only the state directly exposed by this command for the selected object/context. What it does not prove: adjacent dependency health, root cause, effective end-to-end behavior or the return path. Next check: follow discriminating boundaries: physical member → negotiation/key compatibility → bundle/logical port → trunk/access mode → allowed/native VLAN → STP state → MAC table → original frame. and repeat the original workload/request.
Supports the state directly exposed by switchport voice vlan <id> for the selected object and execution context.
Does not prove: Does not by itself prove root cause, adjacent dependency health, effective end-to-end behavior, return-path health or workload recovery.Verify member flags and bundle consistency, VLAN admission and STP state, then confirm the source/destination MAC learns on the expected logical interface during the original flow. Repeat the original workload/request before closure.