150
Parameters
None
Description
Use the
voice vlan mode auto
command to configure the current port to operate in automatic voice VLAN
assignment mode.
Use the
undo voice vlan mode auto
command to configure the current port to operate in manual voice
VLAN assignment mode.
By default, a port operates in automatic voice VLAN assignment mode.
The voice VLAN modes of different ports are independent of one another.
To make voice VLAN take effect on a port which is enabled with voice VLAN and operates in manual
voice VLAN assignment mode, you need to assign the port to the voice VLAN manually.
Examples
# Configure GigabitEthernet 1/0/1 to operate in manual voice VLAN assignment mode.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] undo voice vlan mode auto
voice vlan qos
Syntax
voice vlan qos
cos-value
dscp-value
undo voice vlan qos
View
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 the
voice vlan qos
command to configure the interface to modify the CoS and DSCP values marked
for incoming traffic of the voice VLAN into specified values.
Use the
undo voice vlan qos
command 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.
Related commands:
voice vlan qos trust
.