R3303-HP HSR6800 Routers Layer 2 - LAN Switching Configuration Guide
120
Ste
p
Command
Remarks
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.
3. Enable the voice VLAN
security mode.
voice vlan security enable
Optional.
By default, the voice VLAN security
mode is enabled.
4. Add a recognizable OUI
address.
voice vlan mac-address oui mask
oui-mask [ description text ]
Optional.
By default, each voice VLAN has
default OUI addresses configured. For
the default OUI addresses of different
vendors, see Table 13.