Configuring a port to operate in automatic voice
VLAN assignment mode
Configuration restrictions and guidelines
When you configure a port to operate in automatic voice VLAN assignment mode, follow these
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 processes only tagged incoming voice
traffic.
A protocol-based VLAN on a hybrid port processes only untagged incoming packets. For
more information about protocol-based VLANs, see
•
EVB is not supported on a port that is enabled with the voice VLAN feature. For more
information about EVB, see EVB Configuration Guide.
•
As a best practice, do not use this mode with MSTP. In MSTP mode, if a port is blocked in the
MSTI of the target voice VLAN, the port drops the received packets instead of delivering them to
the CPU. As a result, the port will not be dynamically assigned to the voice VLAN.
•
As a best practice, do not use this mode with PVST. In PVST mode, if the target voice VLAN is
not permitted on a port, the port is placed in blocked state. The port drops the received packets
instead of delivering them to the CPU. As a result, the port will not be dynamically assigned to
the voice VLAN.
•
As a best practice, do not configure both dynamic MAC-based VLAN assignment and automatic
voice VLAN assignment mode on a port. They can have a negative impact on each other.
Configuration procedure
To configure a port to operate in automatic voice VLAN assignment mode:
Step
Enter system view.
1.
(Optional.) Set the voice
2.
VLAN aging timer.
(Optional.) Enable the voice
3.
VLAN security mode.
(Optional.) Add an OUI
4.
address for voice packet
identification.
Enter Layer 2 Ethernet
5.
interface view.
Configure the link type of the
6.
port.
Configure the port to operate
7.
in automatic voice VLAN
assignment mode.
Command
system-view
voice-vlan aging minutes
voice-vlan security enable
voice-vlan mac-address oui
mask oui-mask [ description
text ]
interface interface-type
interface-number
•
port link-type trunk
•
port link-type hybrid
voice-vlan mode auto
164
"Configuring protocol-based
Remarks
N/A
By default, the aging timer of a
voice VLAN is 1440 minutes.
The voice VLAN aging timer takes
effect only on ports in automatic
voice VLAN assignment mode.
By default, the voice VLAN
security mode is enabled.
By default, system default OUI
addresses exist. For more
information, see
N/A
N/A
By default, the automatic voice
VLAN assignment mode is
enabled.
VLANs."
Table
10.