19-5
Cisco IE 2000 Switch Software Configuration Guide
OL-25866-01
Chapter 19 Configuring Voice VLAN
How to Configure VTP
How to Configure VTP

Configuring Cisco IP Phone for Voice Traffic

Configuring the Priority of Incoming Data Frames

Command Purpose
Step 1 configure terminal Enters global configuration mode.
Step 2 interface interface-id Specifies the interface connected to the phone, and enters interface
configuration mode.
Step 3 mls qos trust cos Configures the interface to classify incoming traffic packets by using the
packet CoS value. For untagged packets, the port default CoS value is used.
Note Before configuring the port trust state, you must first globally enable
QoS by using the mls qos global configuration command.
Step 4 switchport voice vlan {vlan-id |
dot1p | none | untagged}}
Configures how the Cisco IP phone carries voice traffic:
vlan-id—Configures the phone to forward all voice traffic through the
specified VLAN. By default, the Cisco IP phone forwards the voice
traffic with an IEEE 802.1Q priority of 5. Valid VLAN IDs are 1 to
4096.
dot1p—Configures the phone to use IEEE 802.1p priority tagging f or
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
IEEE 802.1p priority of 5.
none—Allows the phone to use its own configuration to send untagged
voice traffic.
untagged—Configures the phone to send untagged voice traffic.
Step 5 end Returns to privileged EXEC mode.
Command Purpose
Step 1 configure terminal Enters global configuration mode.
Step 2 interface interface-id Specifies the interface connected to the Cisco IP phone, and enters interface
configuration mode.
Step 3 switchport priority extend
{cos value | trust}
Sets the priority of data traffic received from the Cisco IP phone access port:
cos value—Configures the phone to override the priority received from
the PC or the attached device with the specified CoS value. The value is
a number from 0 to 7, with 7 as the highest priority. The default priority
is cos 0.
trust—Configures the phone access port to trust the priority received
from the PC or the attached device.
Step 4 end Returns to privileged EXEC mode.