15-6
Catalyst 2960 and 2960-S Switch Software Configuration Guide
OL-8603-09
Chapter 15 Configuring Voice VLAN
Configuring Voice VLAN
To return the port to its default setting, use the no switchport voice vlan interface configuration
command.
Configuring the Priority of Incoming Data Frames
Note To set priority of incoming data frames, the switch must be runnin g the LAN Base image.
You can connect a PC or other data device to a Cisco IP Phone port. To process tagged data traffic (in
IEEE 802.1Q or IEEE 802.1p frames), you can configure the switch to send CDP packets to i nstruct the
phone how to send data packets from the device attached to the access port on the Cisco IP Phone. The
PC can generate packets with an assigned CoS value. You can configure the phone to not change (trust)
or to override (not trust) the priority of frames arriving on the phone por t from connected devices.
Beginning in privileged EXEC mode, follow these steps to set the priority of data traffic received from
the nonvoice port on the Cisco IP Phone:
This example shows how to configure a port connected to a Cisco IP Phone to not change the priority of
frames received from the PC or the attached device:
Switch# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)# interface gigabitethernet0/1
Switch(config-if)# switchport priority extend trust
Switch(config-if)# end
To return the port to its default setting, use the no switchport priority extend interface configuration
command.
Command Purpose
Step 1 configure terminal Enter global configuration mode.
Step 2 interface interface-id Specify the interface connected to the Cisco IP Phone, and enter interface
configuration mode.
Step 3 switchport priority extend
{cos value | trust}
Set the priority of data traffic received from the Cisco IP Phone access port:
cos value—Configure 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—Configure the phone access port to trust the priority received from
the PC or the attached device.
Step 4 end Return to privileged EXEC mode.
Step 5 show interfaces interface-id
switchport
Verify your entries.
Step 6 copy running-config
startup-config
(Optional) Save your entries in the configuration file.