Installation guide

VLAN Commands
4-273
4
Selecting a mask of FF-FF-FF-00-00-00 identifies all devices with the same
OUI (the first three octets). Other masks restrict the MAC address range.
Selecting FF-FF-FF-FF-FF-FF specifies a single MAC address.
Example
The following example adds a MAC OUI to the OUI Telephony list.
switchport voice vlan
This command specifies the Voice VLAN mode for ports. Use the no form to disable
the Voice VLAN feature on the port.
Syntax
switchport voice vlan {manual | auto}
no switchport voice vlan
manual - The Voice VLAN feature is enabled on the port, but the port must
be manually added to the Voice VLAN.
auto - The port will be added as a tagged member to the Voice VLAN when
VoIP traffic is detected on the port.
Default Setting
Disabled
Command Mode
Interface Configuration
Command Usage
When auto is selected, you must select the method to use for detecting VoIP
traffic, either OUI or 802.1ab (LLDP)
using the switchport voice vlan rule
command (page 4-274)
. When OUI is selected, be sure to configure the MAC
address ranges in the Telephony OUI list using the voice vlan mac-address
command (page 4-272).
Example
The following example sets port 1 to Voice VLAN auto mode.
Console(config)#voice vlan mac-address 00-12-34-56-78-90 mask
ff-ff-ff-00-00-00 description A new phone
Console(config)#
Console(config)#interface ethernet 1/1
Console(config-if)#switchport voice vlan auto
Console(config-if)#