cisco Catalyst 9300 — Configuring the Priority of Incoming Data Frames

Configuring the Priority of Incoming Data Frames 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 device to send CDP packets to instruct 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 port from connected devices. Follow these steps to set the priority of data traffic received from the non-voice port on the Cisco IP Phone:

Procedure Configuring Voice VLANs Configuring the Priority of Incoming Data Frames Command or Action Purpose Device# copy running-config startup-config Command or Action Purpose Step 1 enable Example: Device> enable Enables privileged EXEC mode. Enter your password if prompted. Step 2 configure terminal Example: Device# configure terminal Enters global configuration mode. Step 3 interface interface-id Example: Device(config)# interface gigabitethernet1/0/1 Specifies the interface connected to the Cisco IP Phone, and enters interface configuration mode. Step 4 switchport priority extend {cos value | trust} Example:

Device(config-if)# switchport priority extend 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. VLAN Configuration Guide, Cisco IOS XE 17.16.x (Catalyst 9300 Switches) 42