143
to use the 802.1p priority in incoming packets for priority mapping. For more information about this
command, see the ACL and QoS Configuration Guide.
Configuring a port to operate in automatic voice VLAN
assignment mode
To set a port to operate in automatic voice VLAN assignment mode:
To do... Use the command... Remarks
1. Enter system view
system-view —
2. Set the voice VLAN aging
time
voice vlan aging minutes
Optional.
1440 minutes by default.
The voice VLAN aging time
configuration is only applicable
on ports in automatic voice VLAN
assignment mode.
3. Enable the voice VLAN
security mode
voice vlan security enable
Optional.
Enabled by default.
4. 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 the default OUI addresses of
different vendors, see Table 16.
5. Enter Ethernet interface view
interface interface-type interface-
number
—
6. Configure the port to operate
in automatic voice VLAN
assignment mode
voice vlan mode auto
Optional.
Automatic voice VLAN assignment
mode is enabled by default.
The voice VLAN assignment
modes on different ports are
independent of one another.
7. Enable voice VLAN on the
port
voice vlan vlan-id enable
Required.
Disabled by default.
A protocol-based VLAN on a hybrid port can process only untagged inbound packets, whereas the voice
VLAN in automatic mode on a hybrid port can process only tagged voice traffic. Do not configure a
VLAN as both a protocol-based VLAN and a voice VLAN. For more information, see the chapter “VLAN
configuration.”
Configuring a port to operate in manual voice VLAN
assignment mode
To set a port to operate in manual voice VLAN assignment mode:
To do... Use the command... Remarks
1. Enter system view
system-view —