ECS4110-28P_Management Guide

Table Of Contents
C
HAPTER
37
| VLAN Commands
Configuring Voice VLANs
– 1190
switchport
voice vlan
This command specifies the Voice VLAN mode for ports. Use the no form to
disable the Voice VLAN feature on the port.
SYNTAX
switchport voice vlan {manual | auto}
no switchport voice vlan
manual - The Voice VLAN feature is enabled on the port, but the
port must be manually added to the Voice VLAN.
auto - The port will be added as a tagged member to the Voice
VLAN when VoIP traffic is detected on the port.
DEFAULT SETTING
Disabled
COMMAND MODE
Interface Configuration
COMMAND USAGE
When auto is selected, you must select the method to use for detecting
VoIP traffic, either OUI or 802.1AB (LLDP) using the switchport voice
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