CLI Reference Guide-R04

Table Of Contents
Chapter 22
| VLAN Commands
Configuring Voice VLANs
– 623 –
switchport voice vlan
priority
This command specifies a CoS priority for VoIP traffic on a port. Use the no form to
restore the default priority on a port.
Syntax
switchport voice vlan priority priority-value
no switchport voice vlan priority
priority-value - The CoS priority value. (Range: 0-6)
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