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. A bigger CoS value represents a higher priority.
dscp-value: Specifies a DSCP value in the range of 0 to 63. A bigger DSCP value represents a higher priority.
Usage guidelines
You cannot execute this command on a voice VLAN-enabled port. Before you execute this command on a port, you must disable the voice VLAN feature 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 to modify the CoS and DSCP values for voice VLAN packets to 5 and 45, respectively.
<Sysname> system-view [Sysname] interface [Sysname-] voice-vlan qos 5 45
Related commands
voice-vlan qos trust