Chapter 2 Cisco IOS Commands
switchport voice vlan
Use the switchport voice vlan interface configuration command to configure voice VLAN on the port.
Use the no form of this command to return to the default setting.
Syntax Description
vlan-id
dot1p
none
untagged
Defaults
The switch default is not to automatically configure the telephone (none).
The telephone default is not to tag frames.
Command Modes
Interface configuration
Command History
Release
12.1(9)EA1
Usage Guidelines
You should configure voice VLAN on access ports.
If you enable port security on a voice VLAN port and if there is a PC connected to the IP phone, you
should set the maximum allowed secure addresses on the port to more than 1.
You cannot configure static secure MAC addresses in the voice VLAN.
The Port Fast feature is automatically enabled when voice VLAN is configured. When you disable voice
VLAN, the Port Fast feature is not automatically disabled.
78-11381-05
switchport voice vlan {vlan-id | dot1p | none | untagged}
no switchport voice vlan
VLAN used for voice traffic. Valid IDs are from 1 to 4094 when the
enhanced software image (EI) is installed and 1 to 1001 when the standard
software image (SI) is installed. Do not enter leading zeros.
The telephone uses priority tagging and uses VLAN 0 (the native VLAN).
By default, the Cisco IP phone forwards the voice traffic with an 802.1P
priority of 5.
The telephone is not instructed through the CLI about the voice VLAN. The
telephone uses the configuration from the telephone key pad.
The telephone does not tag frames and uses VLAN 4095. The default for the
telephone is untagged.
Modification
This command was first introduced.
Catalyst 2950 Desktop Switch Command Reference
switchport voice vlan
2-307