Configuring the QoS priority settings for voice traffic

The QoS priority settings carried in voice traffic include the CoS and DSCP values. You can configure the device to modify the QoS priority settings for voice traffic.

Before you configure the QoS priority settings for voice traffic on a port, make sure the voice VLAN feature is disabled on it.

To configure the QoS priority settings for voice traffic:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter Layer 2 Ethernet interface view.

interface interface-type interface-number

N/A

3. Configure QoS priority settings for incoming voice VLAN packets.

  • Configure the port to trust and retain the QoS priority settings:

    1. Use the 802.1p priority in incoming packets for priority mapping:qos trust dot1p

    2. Configure the port to trust and retain the QoS priority settings:voice-vlan qos trust

  • Configure the port to modify the CoS and DSCP values:voice-vlan qos cos-value dscp-value

By default, a port modifies the CoS and DSCP values for voice VLAN packets to 6 and 46, respectively.

If you execute the voice-vlan qos and voice-vlan qos trust commands multiple times, the most recent configuration takes effect.

For more information about the qos trust dot1p command, see ACL and QoS Command Reference.