129
Step Command
Remarks
3.
Configure QoS
priority settings for
incoming voice VLAN
packets.
•
Configure the port to trust
the QoS priority settings:
voice vlan qos
trust
•
Configure the port to
modify the CoS and DSCP
values:
voice vlan qos cos-value
dscp-value
By default, an interface modifies the CoS
value and the DSCP value marked for
voice VLAN traffic into 6 and 46,
respectively.
If a port trusts the QoS priority settings in
incoming voice VLAN packets, the port
does not modify their CoS and DSCP
values.
If you execute the
voice vlan qos
and
voice vlan qos trust
commands multiple
times, the most recent configuration takes
effect.
Configuring a port to operate in automatic voice
VLAN assignment mode
Configuration restrictions and guidelines
•
Do not configure a VLAN as both a voice VLAN and a protocol-based VLAN. A voice VLAN in
automatic mode on a hybrid port can process only tagged voice traffic. A protocol-based VLAN
on a hybrid port can process only untagged inbound packets. For more information about
protocol-based VLANs, see "
Configuring protocol-based VLANs (available only on the HPE
."
•
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.
•
Do not configure automatic voice VLAN assignment together with PVST, because the former is
mainly configured on the access side. With PVST enabled, if the target voice VLAN is not
permitted on a port, the port is placed in the blocked state and 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.
Configuration procedure
To set a port to operate in automatic voice VLAN assignment mode:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Set the voice VLAN aging
timer.
voice vlan aging
minutes
Optional.
By default, the aging timer of a
voice VLAN is 1440 minutes.
The voice VLAN aging timer
configuration is only applicable on
ports in automatic voice VLAN
assignment mode.