tosend data packets from the device attached to the access port on the Cisco IP Phone. The PC can generate
packetswith 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 port fromconnected devices.
Followthese steps to set the priority of data traffic received from the non-voice port on the Cisco IP Phone:
SUMMARY STEPS
1. configureterminal
2. interfaceinterface-id
3. switchportpriority extend {cos value |trust}
4. end
5. showinterfaces interface-id switchport
6. copyrunning-config startup-config
DETAILED STEPS
PurposeCommand or Action
Entersthe global configurationmode.configureterminal
Example:
Switch# configure terminal
Step 1
Specifiesthe interface connected to the Cisco IP Phone, and enters
interfaceconfiguration mode.
interfaceinterface-id
Example:
Switch(config)# interface
Step 2
gigabitethernet1/0/1
Setsthe priority of data traffic received from the Cisco IP Phone
accessport:
switchportpriority extend {cos value |trust}
Example:
Switch(config-if)# switchport priority
Step 3
cosvalueConfigures the phone to override the priority
receivedfrom the PC or the attached device with the specified
CoSvalue. The value is a number from 0 to 7, with 7 as the
highestpriority. The default priority is cos 0.
extend trust
trustConfiguresthe phone access port to trust the priority
receivedfrom the PC or the attached device.
Toreturn the port to its default setting, use the no
switchportpriority extend interface configuration
command.
Note
Catalyst 2960-XR Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX1
156 OL-29440-01
Configuring Voice VLANs
Configuring the Priority of Incoming Data Frames