R3303-HP HSR6800 Routers Layer 2 - LAN Switching Configuration Guide

121
Ste
p
Command
Remarks
5. Enter Layer 2 Ethernet
interface view.
interface interface-type
interface-number
N/A
6. Configure the link type of
the interface.
Configure the link type as
trunk:
port link-type trunk
Configure the link type as
hybrid:
port link-type hybrid
N/A
7. Configure the port to
operate in automatic voice
VLAN assignment mode.
voice vlan mode auto
Optional.
By default, the automatic voice VLAN
assignment mode is enabled.
Voice VLAN assignment modes on
different ports are independent of one
another.
8. Enable the voice VLAN
feature.
voice vlan vlan-id enable
By default, the voice VLAN feature is
disabled.
Configuring a port to operate in manual voice
VLAN assignment mode
When you configure a port to operate in manual voice VLAN assignment mode, follow these guidelines:
You can configure different voice VLANs on different ports at the same time. However, you can
configure one port with only one voice VLAN, and this voice VLAN must be a static VLAN that
already exists on the device.
You cannot enable voice VLAN on the member ports of a link aggregation group. For more
information about the member ports, see "Configuring Ethernet link aggregation."
To make voice VLAN take effect on a port that is enabled with voice VLAN and operates in manual
voice VLAN assignment mode, you must assign the port to the voice VLAN manually.
To set a port to operate in manual voice VLAN assignment mode:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enable the voice VLAN
security mode.
voice vlan security enable
Optional.
By default, the voice VLAN security
mode is enabled.
3. 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 default OUI addresses of
different vendors, see Table 13.
4. Enter Layer 2 Ethernet
interface view.
interface interface-type
interface-number
N/A