| VLAN Commands
C
35
HAPTER
Configuring Voice VLANs
switchport voice
vlan priority
vlan rule
command. When OUI is selected, be sure to configure the
MAC address ranges in the Telephony OUI list using the
mac-address
command.
All ports are set to VLAN hybrid mode by default. Prior to enabling VoIP
◆
for a port (by setting the VoIP mode to Auto or Manual as described
below), ensure that VLAN membership is not set to access mode using
the
switchport mode
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
form to restore the default priority on a port.
S
YNTAX
switchport voice vlan priority priority-value
no switchport voice vlan priority
priority-value - The CoS priority value. (Range: 0-6)
D
S
EFAULT
ETTING
6
C
M
OMMAND
ODE
Interface Configuration
C
U
OMMAND
SAGE
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)#
– 1154 –
command.
voice vlan