CLI Reference Guide-R07

Table Of Contents
Chapter 20
| VLAN Commands
Configuring Voice VLANs
– 499 –
VoIP traffic can be detected on switch ports by using the source MAC address of
packets, or by using LLDP (IEEE 802.1AB) to discover connected VoIP devices.
When VoIP traffic is detected on a configured port, the switch automatically
assigns the port as a tagged member of the Voice VLAN.
Only one Voice VLAN is supported and it must already be created on the switch
before it can be specified as the Voice VLAN.
The Voice VLAN ID cannot be modified when the global auto-detection status
is enabled (see the switchport voice vlan command.
Example
The following example enables VoIP traffic detection and specifies the Voice VLAN
ID as 1234.
Console(config)#voice vlan 1234
Console(config)#
voice vlan aging This command sets the Voice VLAN ID time out. Use the no form to restore the
default.
Syntax
voice vlan aging minutes
no voice vlan
minutes - Specifies the port Voice VLAN membership time out.
(Range: 5-43200 minutes)
Default Setting
1440 minutes
Command Mode
Global Configuration
Command Usage
The Voice VLAN aging time is the time after which a port is removed from the Voice
VLAN when VoIP traffic is no longer received on the port.
The VoIP aging time starts to count down when the OUI’s MAC address expires from
the MAC address table. Therefore, the MAC address aging time should be added to
the overall aging time. For example, if you configure the MAC address table aging
time to 30 seconds, and voice VLAN aging time to 5 minutes, then after 5.5 minutes,
a port will be removed from the voice VLAN when VoIP traffic is no longer received
on the port. Alternatively, if you clear the MAC address table manually, then the
switch will also start counting down the voice VLAN aging time.