163
Step Command
Remarks
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 the default OUI addresses of
different vendors, see
4.
Enter interface view.
interface
interface-type
interface-number
N/A
5.
Configure the port to operate
in manual voice VLAN
assignment mode.
undo voice vlan mode auto
By default, the manual voice VLAN
assignment mode is disabled.
6.
Assign the access, trunk, or
hybrid port in manual voice
VLAN assignment mode to the
voice VLAN.
For the configuration procedure,
see "
After you assign an access port to
the voice VLAN, the voice VLAN
becomes the PVID of the port
automatically.
7.
Configure the voice VLAN as
the PVID of the trunk or hybrid
port.
For the configuration procedure,
see "
Optional.
This operation is required for
untagged inbound voice traffic
and prohibited for tagged inbound
voice traffic.
8.
Enable voice VLAN on the
port.
voice vlan
vlan-id
enable
Disabled by default.
Enabling LLDP to automatically discover IP phones
In a traditional voice VLAN network, the switch maps the source MAC addresses of IP phones to a limited
number of OUI addresses to allow them to access the network. This method restricts the types of IP
phones on the network, if the IP phones with the source MAC addresses match the same OUI address are
categorized as a type.
To break the restriction, you can enable the switch to automatically discover IP phones through LLDP. With
this function, the switch can automatically discover the peer, and exchange LLDP TLVs with the peer. If the
LLDP System Capabilities TLV received on a port shows that the peer is phone capable, the switch
determines that the peer is an IP phone and sends an LLDP TLV carrying the voice VLAN configuration to
the peer.
When the IP phone discovery process is complete, the port will automatically join the voice VLAN and
improve the transmission priority of the voice traffic for the IP phone. To ensure that the IP phone can pass
authentication, the switch will add the MAC address of the IP phone to the MAC address table.
Configuration prerequisites
Before you enable the switch to automatically discover IP phones through LLDP, complete the following
tasks:
•
Enable LLDP globally and on ports.
•
Configure voice VLANs.