Chapter 7 Configuring the Switch Ports
Configuring Voice Ports
7-20
Catalyst 2900 Series XL and Catalyst 3500 Series XL Software Configuration Guide
78-6511-05
Configuring Voice Ports to Carry Voice and Data Traffic on
Different VLANs
The Cisco 7960 IP Phone has an integrated three-port 10/100 switch that can
connect to a PC or other device. You can configure a switch port to instruct the
phone to forward voice and data traffic on different virtual LANs (VLANs).
In the following configuration, VLAN 1 carries data traffic, and VLAN 2 carries
voice traffic. In this configuration, you must connect all Cisco IP Phones and
other voice-related devices to switch ports that belong to VLAN 2.
Beginning in privileged EXEC mode, follow these steps to configure a port to
receive voice and data from a Cisco IP Phone in different VLANs:
Command
Purpose
Step 1
configure terminal
Enter global configuration mode.
Step 2
interface interface
Enter interface configuration mode, and enter the port to be
configured.
Step 3
switchport priority default (0)
Assign an IEEE 802.1p priority to untagged traffic that is
received on the switch port. The Cisco IP Phone forwards
this traffic through the native VLAN, VLAN 1.
Step 4
switchport voice vlan (2)
Instruct the Cisco IP Phone to forward all voice traffic
through VLAN 2. The Cisco IP Phone forwards the traffic
with an 802.1p priority of 5.
Step 5
end
Return to privileged EXEC mode.
Step 6
show interface interface
switchport
Verify the configuration.