2-794Cisco Catalyst Blade Switch 3120 for HP Command ReferenceOL-12248-03Chapter 2 Cisco Catalyst Blade Switch 3120 for HP Cisco IOS Commandsswitchport priority extendswitchport priority extendUse the switchport priority extend interface configuration command on the switch stack or on astandalone switch to set a port priority for the incoming untagged frames or the priority of framesreceived by the IP phone connected to the specified port. Use the no form of this command to return tothe default setting.switchport priority extend {cos value | trust}no switchport priority extendSyntax DescriptionDefaults The default port priority is set to a CoS value of 0 for untagged frames received on the port.Command Modes Interface configurationCommand HistoryUsage Guidelines When voice VLAN is enabled, you can configure the switch to send the Cisco Discovery Protocol (CDP)packets to instruct the IP phone how to send data packets from the device attached to the access port onthe Cisco IP Phone. You must enable CDP on the switch port connected to the Cisco IP Phone to sendthe configuration to the Cisco IP Phone. (CDP is enabled by default globally and on all switchinterfaces.)You should configure voice VLAN on switch access ports. You can configure a voice VLAN only onLayer 2 ports.Before you enable voice VLAN, we recommend that you enable quality of service (QoS) on the switchby entering the mls qos global configuration command and configure the port trust state to trust byentering the mls qos trust cos interface configuration command.Examples This example shows how to configure the IP phone connected to the specified port to trust the receivedIEEE 802.1p priority:Switch(config)# interface gigabitethernet1/0/2Switch(config-if)# switchport priority extend trustYou can verify your settings by entering the show interfaces interface-id switchport privileged EXECcommand.cos value Set the IP phone port to override the IEEE 802.1p priority received from the PC orthe attached device with the specified class of service (CoS) value. The range is 0 to7. Seven is the highest priority. The default is 0.trust Set the IP phone port to trust the IEEE 802.1p priority received from the PC or theattached device.Release Modification12.2(40)EX1 This command was introduced.