E
XAMPLE
The following example sets port 1 to Voice VLAN auto mode.
Console(config)#interface ethernet 1/1
Console(config-if)#switchport voice vlan auto
Console(config-if)#
This command specifies a CoS priority for VoIP traffic on a port. Use the no
switchport voice
form to restore the default priority on a port.
vlan priority
S
YNTAX
D
EFAULT
6
C
OMMAND
Interface Configuration
C
OMMAND
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.
E
XAMPLE
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)#
This command selects a method for detecting VoIP traffic on a port. Use
switchport voice
the no form to disable the detection method on the port.
vlan rule
S
YNTAX
switchport voice vlan priority priority-value
no switchport voice vlan priority
priority-value - The CoS priority value. (Range: 0-6)
S
ETTING
M
ODE
U
SAGE
[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.
– 813 –
| VLAN Commands
C
34
HAPTER
Configuring Voice VLANs