Pcornel
Browse topics
Options
Recent
Favorites
Command · Cisco IOS / IOS XE

switchport voice vlan <id>

switchport voice vlan <id>

Assign a voice VLAN to an access port for IP phones.

Execution context

Interface configuration

Use when

Separate IP phone voice traffic from the data access VLAN on a Cisco access edge.

Then verify

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

Operational impact: Changes Layer 2 classification for supported phone traffic.
Command detailsSafety model · family · platform · verification · bundle
PrivilegeNot recorded
Execution contextInterface configuration
State impactChanges state
Safe during productionUnknown
CategoryVoice VLAN
Evidence levelmixed
Primary DomainNetworking
Historical technical verificationNeeds verification dateCurrent command content requires review after a Git edit.
Family Oice
PlatformCisco IOS / IOS XE
PrerequisiteInterface configuration
Output fields

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.

Command → Topic semantics

Used in these Topics

Each relation carries both placement role and operational semantic: verifies, configures, troubleshoots, collects evidence, changes state or general.

DomainsNetworking

Find another Command

Reference enrichment

Evidence boundary

What this output can establish — and where you must not over-claim.

Proves

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.

Next check

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.

Depth when you need it

Command guidance

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.

Command Output Deep Dive

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 · 1Broken · 1Transitional · 1Observed · 0
1 · Observe the exact persisted fields/state.2 · Compare with authored known-good, broken or transitional samples.3 · Apply the Command evidence boundary; output is not end-to-end proof.4 · Run the next discriminating check and repeat the original workload/test when relevant.
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.
Expected state

healthy/terminal

Interpretation

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.

Evidence boundary

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.
Next check

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.
Expected state

in-progress

Interpretation

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.

Evidence boundary

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.
Next check

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.
Expected state

failed/degraded

Interpretation

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.

Evidence boundary

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.
Next check

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.

Confirmation

Confirm action

Continue?