voice-vlan qos

Use voice-vlan qos to configure a port to modify the CoS and DSCP values for incoming voice VLAN packets.

Use undo voice-vlan qos to restore the default.

Syntax

voice-vlan qos cos-value dscp-value

undo voice-vlan qos

Default

A port modifies the CoS and DSCP values for incoming voice VLAN packets to 6 and 46, respectively.

Views

Layer 2 Ethernet interface view

Predefined user roles

network-admin

Parameters

cos-value: Specifies a CoS value in the range of 0 to 7. The default value is 6.

dscp-value: Specifies a DSCP value in the range of 0 to 63. The default value is 46.

Usage guidelines

Before you execute this command on a port, make sure the voice VLAN feature is disabled on it.

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

Examples

# Configure Ten-GigabitEthernet 1/0/1 to modify the CoS and DSCP values for voice VLAN packets to 5 and 45, respectively.

<Sysname> system-view
[Sysname] interface ten-gigabitethernet 1/0/1
[Sysname-Ten-GigabitEthernet1/0/1] voice-vlan qos 5 45

Related commands

voice-vlan qos trust