7-15
Catalyst 2900 Series XL and Catalyst 3500 Series XL Software Configuration Guide
78-6511-08
Chapter 7 Configuring the Switch Ports
Configuring Inline Power on the Catalyst 3524-PWR Ports
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 this 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:
Configuring Inline Power on the Catalyst 3524-PWR Ports
The Catalyst 3524-PWR XL switch automatically supplies inline power to connected Cisco IP Phones
and Cisco access points if it senses no power on the circuit. If there is power on the circuit, the switch
does not supply it. You can also configure the Catalyst 3524-PWR XL switch to never supply power to
these devices and to disable the inline-power detection mechanism.
Cisco IP Phones and access points can also be connected to an AC power source and supply their own
power to the voice circuit.
For information about configuring a switch port to forward IP voice traffic to and from connected
Cisco IP Phones, see the “Configuring Voice Ports to Carry Voice and Data Traffic on Different VLANs”
section on page 7-15.
Beginning in privileged EXEC mode, follow these steps to disable the inline-power detection
mechanism on a switch port:
To enable inline-power detection mechanism on a switch port, use the power inline auto interface
configuration command.
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.
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
power inline never Permanently disable inline power on the port.
Step 4
end Return to privileged EXEC mode.
Step 5
show power inline interface
configured
Verify the change.