A SERVICE OF

logo

1-6
Voice VLAN Configuration
Configuration Prerequisites
z Create the corresponding VLAN before configuring a voice VLAN.
z VLAN 1 (the default VLAN) cannot be configured as a voice VLAN.
Configuring a Voice VLAN to Operate in Automatic Mode
Follow these steps to configure a voice VLAN to operate in automatic mode:
To do… Use the command… Remarks
Enter system view
system-view
Set an OUI address that can
be identified by the voice
VLAN
voice vlan mac-address
oui mask oui-mask
[ description text ]
Optional
By default, the device determines
the voice traffic according to the
default OUI address.
Enable the voice VLAN
security mode
voice vlan security enable
Optional
By default, the voice VLAN security
mode is enabled.
Set the aging time for the
voice VLAN
voice vlan aging minutes
Optional
The default aging time is 1,440
minutes.
Enable the voice VLAN
function globally
voice vlan vlan-id enable
Required
Enter Ethernet port view
interface interface-type
interface-number
Required
Enable the voice VLAN
function on a port
voice vlan enable
Required
By default, voice VLAN is disabled.
Enable the voice VLAN
legacy function on the port
voice vlan legacy
Optional
By default, voice VLAN legacy is
disabled.
Set the voice VLAN
operation mode on a port to
automatic.
voice vlan mode auto
Optional
The default voice VLAN operation
mode on a port is automatic.
z For a voice VLAN operating in automatic mode, it does not support the adding of an Access port,
and thus a voice VLAN cannot function when configuring with the VLAN VPN function.
z For a voice VLAN operating in automatic mode, it only supports that the Hybrid port to process the
tagged voice traffic. However, the protocol VLAN feature requires the Hybrid port to remove tags
from the packets, see the VLAN part of this manual for details. Therefore, a VLAN cannot be
configured as a voice VLAN and a protocol VLAN simultaneously.
z For a port operating in automatic mode, a default VLAN cannot be configured as a voice VLAN;
otherwise the system prompts you for unsuccessful configuration.