R3102-R3103-HP 6600/HSR6600 Routers Layer 2 - LAN Switching Configuration Guide
123
Configure the QoS priority settings for voice traffic on an interface before you enable voice VLAN on the
interface. If the configuration order is reversed, your priority trust setting will fail.
To configure QoS priority settings for voice traffic:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter Layer 2 Ethernet interface view.
interface
interface-type
interface-number
N/A
3. Configure the interface to trust the QoS
priority settings in incoming voice
traffic, but not to modify the CoS and
DSCP values marked for incoming
traffic of the voice VLAN.
voice vlan qos trust
Use one of the commands.
By default, an interface modifies the
CoS value and the DSCP value
marked for voice VLAN traffic into 6
and 46, respectively.
The voice vlan qos command and the
voice vlan qos trust command can
overwrite each other, whichever is
configured last.
4. Configure the interface to modify the
CoS and DSCP values marked for
incoming traffic of the voice VLAN into
specified values.
voice vlan qos
cos-value dscp-value
Configuring a port to operate in automatic voice
VLAN assignment mode
The following guidelines apply for automatic voice VLAN assignment configuration:
• Do not configure a VLAN as both a protocol-based VLAN and a voice VLAN. When automatic
voice VLAN assignment mode is configured on a port, the received voice traffic triggers assigning
the port to the voice VLAN. To configure a protocol-based VLAN on a port, make sure the port is a
hybrid port and the port has been assigned to the protocol-based VLAN. For more information, see
"Configuring VLANs."
• Do not configure automatic voice VLAN assignment together with MSTP, because the former is
mainly configured on the access side. With MSTP enabled, if a port is blocked in the MST instance
(MSTI) of the target voice VLAN, the port drops the received packets, instead of delivering them to
the CPU. As a result, the receiving port will not be dynamically assigned to the corresponding
VLAN.
To set a port to operate in automatic voice VLAN assignment mode:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Set the voice VLAN aging
time.
voice vlan aging minutes
Optional.
By default, the aging time of a voice
VLAN is 1440 minutes.
The voice VLAN aging time
configuration is only applicable on
ports in automatic voice VLAN
assignment mode.










