C
HAPTER
35
| VLAN Commands
Configuring Voice VLANs
– 1154 –
vlan rule command. When OUI is selected, be sure to configure the
MAC address ranges in the Telephony OUI list using the voice vlan
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 command.
EXAMPLE
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)#
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)#