15-4
Catalyst2950 Desktop Switch Software Configuration Guide
78-11380-05
Chapter15 Configuring Voice VLAN
Configuring Voice VLAN
Configuring Ports to Carry Voice Traffic in 802.1Q Frames
Beginning in privileged EXEC mode, follow these steps to configure a port to carry voice traffic in
802.1Q frames for a specific VLAN:
To remove voice VLAN, use th e no switchport voice vlan interface configuration command or the
switchport voice vlan none interface configuration command.
Configuring Ports to Carry Voice Traffic in 802.1P Priority Tagged Frames
Beginning in privileged EXEC mode, follow these steps to configure a port to instruct the IP phone to
give voice traffic a higher priority and to forward all traffic through the native VLAN.
To return the port to its default setting, use the no switchport voice vlan interface configuration
command.
Command Purpose
Step1 configure terminal Enter global configuration mode.
Step2 interface interface-id Specify the interface connected to the IP phone, and enter interface
configuration mode.
Step3 switchport voice vlan vlan-id Instruct the Cisco IP phone to forward all voice traffic through the specified
VLAN. By default, the Cisco IP phone forwards the voice tr affic with an
802.1Q priority of 5.
Valid VLAN IDs are from 1 to 4094 when the enhanced software image (EI)
is installed and 1 to 1001 when the standard software image is installed. Do
not enter leading zeros.
Step4 end Return to privileged EXEC mode.
Step5 show interfaces interface-id
switchport Verify your voice VLAN entries.
Step6 copy running-config startup-config (Optional) Save your entries in the configuration file.
Command Purpose
Step1 configure terminal Enter global configuration mode.
Step2 interface interface-id Specify the interface connected to the IP phone, and enter interface
configuration mode.
Step3 switchport voice vlan dot1p Instruct the switch port to use 802.1P priority tagging for voice traffic and to
use the default native VLAN (VLAN 0) to carry all traffic. By default, the
Cisco IP phone forwards the voice traffic with an 802.1P priority of 5.
Step4 end Return to privileged EXEC mode.
Step5 show interfaces interface-id
switchport Verify your voice VLAN entries.
Step6 copy running-config startup-config (Optional) Save your entries in the configuration file.