voice vlan qos

Syntax

voice vlan qos cos-value dscp-value

undo voice vlan qos

View

Layer 2 Ethernet interface view

Default level

2: System level

Parameters

cos-value: Sets the CoS precedence value for voice VLAN traffic. The default value is 6.

dscp-value: Sets the DSCP value for voice VLAN traffic. The default value is 46.

Description

Use voice vlan qos to configure the interface to modify the CoS and DSCP values marked for incoming traffic of the voice VLAN into specified values.

Use undo voice vlan qos to restore the default.

By default, an interface modifies the CoS value and the DSCP value marked for voice VLAN traffic into 6 and 46, respectively.

Configure the QoS priority settings for voice VLAN traffic on an interface before you enable voice VLAN on the interface. If the configuration order is reversed, the priority settings will fail.

The voice vlan qos command and the voice vlan qos trust command can overwrite each other. When you execute the two commands on a port multiple times, the most recent one takes effect.

Related commands: voice vlan qos trust.

Examples

# Configure interface Ethernet 1/0/1 to modify the CoS value and the DSCP value marked for voice VLAN packets to 5 and 45, respectively.

<Sysname> system-view
[Sysname] interface ethernet 1/0/1
[Sysname-Ethernet1/0/1] voice vlan qos 5 45