CLI Reference Guide-R05

Table Of Contents
Chapter 19
| VLAN Commands
Configuring Voice VLANs
– 561 –
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.
Note that when the switchport voice vlan command is set to auto mode, the
remaining aging time displayed by the show voice vlan command will be
displayed. Otherwise, if the switchport voice vlan command is disabled or set to
manual mode, the remaining aging time will display “NA.
Example
The following example configures the Voice VLAN aging time as 3000 minutes.
Console(config)#voice vlan aging 3000
Console(config)#
voice vlan
mac-address
This command specifies MAC address ranges to add to the OUI Telephony list. Use
the no form to remove an entry from the list.
Syntax
voice vlan mac-address mac-address mask mask-address
[description description]
no voice vlan mac-address mac-address mask mask-address
mac-address - Defines a MAC address OUI that identifies VoIP devices in the
network. (Format: xx-xx-xx-xx-xx-xx or xxxxxxxxxxxx; for example,
01-23-45-00-00-00)
mask-address - Identifies a range of MAC addresses. (Range: 80-00-00-00-
00-00 to FF-FF-FF-FF-FF-FF)
description - User-defined text that identifies the VoIP devices. (Range: 1-32
characters)
Default Setting
None
Command Mode
Global Configuration
Command Usage
VoIP devices attached to the switch can be identified by the manufacturers
Organizational Unique Identifier (OUI) in the source MAC address of received
packets. OUI numbers are assigned to manufacturers and form the first three
octets of device MAC addresses. The MAC OUI numbers for VoIP equipment can