199
Step Command Remarks
6. Configure the link type of
the port.
• port link-type trunk
• port link-type hybrid
N/A
7. Configure the port to
operate in automatic voice
VLAN assignment mode.
voice-vlan mode auto
By default, the automatic
voice VLAN assignment mode
is enabled.
8. Enable the voice VLAN
feature on the port.
voice-vlan
vlan-id
enable
By default, the voice VLAN
feature is disabled.
Before you execute this
command, make sure the
specified VLAN already
exists.
Configuring a port to operate in manual voice
VLAN assignment mode
Configuration restrictions and guidelines
When you configure a port to operate in manual voice VLAN assignment mode, follow these
restrictions and guidelines:
• You can configure different voice VLANs for different ports on the same device. Make sure the
following requirements are met:
{ One port can be configured with only one voice VLAN.
{ Voice VLANs must be existing static VLANs.
• Do not enable voice VLAN on the member ports of a link aggregation group. For more
information about link aggregation, see "Configuring Ethernet link aggregation."
• To make a voice VLAN take effect on a port operating in manual mode, you must manually
assign the port to the voice VLAN.
Configuration procedure
To configure a port to operate in manual voice VLAN assignment mode:
Step Command Remarks
1. Enter system view.
system-view
N/A
2. (Optional.) Enable the
voice VLAN security
mode.
voice-vlan security enable
By default, the voice VLAN
security mode is enabled.
3. (Optional.) Add an OUI
address for voice packet
identification.
voice-vlan mac-address
oui
mask
oui-mask
[
description
text
]
By default, system default OUI
addresses exist. For more
information, see Table 14.
4. Enter interface view.
• Enter Layer 2 Ethernet interface
view:
interface interface-type
interface-number
• Enter Layer 2 aggregate interface
view:
interface bridge-aggregation
interface-number
N/A