Chapter 19
| VLAN Commands
Configuring Voice VLANs
– 502 –
switchport
voice vlan rule
This command selects a method for detecting VoIP traffic on a port. Use the no
form to disable the detection method on the port.
Syntax
[no] switchport voice vlan rule {oui | lldp}
oui - Traffic from VoIP devices is detected by the Organizationally Unique
Identifier (OUI) of the source MAC address.
lldp - Uses LLDP to discover VoIP devices attached to the port.
Default Setting
OUI: Enabled
LLDP: Disabled
Command Mode
Interface Configuration
Command Usage
◆ When OUI is selected, be sure to configure the MAC address ranges in the
Telephony OUI list (see the voice vlan mac-address command. MAC address OUI
numbers must be configured in the Telephony OUI list so that the switch
recognizes the traffic as being from a VoIP device.
◆ LLDP checks that the “telephone bit” in the system capability TLV is turned on.
See “LLDP Commands” on page 599 for more information on LLDP.
Example
The following example enables the OUI method on port 1 for detecting VoIP traffic.
Console(config)#interface ethernet 1/1
Console(config-if)#switchport voice vlan rule oui
Console(config-if)#
switchport
voice vlan security
This command enables security filtering for VoIP traffic on a port. Use the no form
to disable filtering on a port.
Syntax
[no] switchport voice vlan security
Default Setting
Disabled
Command Mode
Interface Configuration