Chapter 19
| VLAN Commands
Configuring Voice VLANs
– 486 –
Default Setting
6
Command Mode
Interface Configuration
Command Usage
Specifies a CoS priority to apply to the port VoIP traffic on the Voice VLAN. The
priority of any received VoIP packet is overwritten with the new priority when the
Voice VLAN feature is active for the port.
Example
The following example sets the CoS priority to 5 on port 1.
Console(config)#interface ethernet 1/1
Console(config-if)#switchport voice vlan priority 5
Console(config-if)#
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 605 for more information on LLDP.