![HP 3100 v2 Series Скачать руководство пользователя страница 174](http://html.mh-extra.com/html/hp/3100-v2-series/3100-v2-series_command-reference-manual_165751174.webp)
167
Default level
2: System level
Parameters
None
Description
Use
voice vlan mode auto
to configure the port to operate in automatic voice VLAN assignment
mode.
Use
undo voice vlan mode auto
to configure the port to operate in manual voice VLAN assignment
mode.
By default, a port operates in automatic voice VLAN assignment mode.
For a port that is enabled with voice VLAN and operating in manual mode, you must manually assign
the port to the voice VLAN to make the voice VLAN take effect.
Examples
# Configure Ethernet 1/0/1 to operate in manual voice VLAN assignment mode.
<Sysname> system-view
[Sysname] interface ethernet 1/0/1
[Sysname-Ethernet1/0/1] undo voice vlan mode auto
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
.