15-5
Catalyst 2940 Switch Software Configuration Guide
78-15507-02
Chapter15 Configuring Voice VLAN Configuring Voice VLAN
Overriding the CoS Priority of Incoming Data FramesYou can connect a PC or other data device to a Cisco 7960 IP Phone port. The PC can generate packets
with an assigned CoS value. You can configure the switch to override the priority of frames arriving on
the IP phone port from connected devices.
Beginning in privileged EXEC mode, follow these steps to override the CoS priority received from the
nonvoice port on the Cisco 7960 IP Phone:
Use the no switchport priority extend interface configuration command or the switchport priority
extend cos 0 interface configuration command to return the port to its default setting.
Configuring the IP Phone to Trust the CoS Priority of Incoming Data FramesYou can connect a PC or other data device to a Cisco 7960 IP Phone port. The PC can generate packets
with an assigned CoS value. You can configure the switch to trust the priority of frames arriving on the
IP phone port from connected devices.
Beginning in privileged EXEC mode, follow these steps to trust the CoS priority received from the
nonvoice port on the Cisco 7960 IP Phone:
Command Purpose
Step1 configure terminal Enter global configuration mode.
Step2 interface interface-id Enter interface configuration mode, and specify the interface connected to
the IP phone.
Step3 switchport priority extend
cos value Set the IP phone access port to override the priority received fro m t he PC or
the attached device.
The CoS value is a number from 0 to 7. Seven is the highest priority. The
default is 0.
Step4 end Return to privileged EXEC mode.
Step5 show interfaces interface-id
switchport Verify your 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 Enter interface configuration mode, and specify the interface connected to
the IP phone.
Step3 switchport priority extend trust Set the IP phone access port to trust the priority received from the PC or the
attached device.
Step4 end Return to privileged EXEC mode.
Step5 show interfaces interface-id
switchport Verify your entries.
Step6 copy running-config startup-config (Optional) Save your entries in the configuration file.