Configuring Voice VLAN
Voice VLAN Configuration
Configuration Guide
469
Step 5
voice vlan
aging
time
Set the aging time for ports in automatic voice VLAN mode.
time:
Specify the length of time that a port remains in the voice VLAN after the port receives a
voice packet. Aging time works only for ports in automatic voice VLAN mode. The range is 1 to
43200 minutes; the default is 1440 minutes.
Step 6
voice vlan
vid
Specify an existing VLAN as the voice VLAN.
vid :
Enter the VLAN ID that you have created for the voice VLAN.
Step 7
interface {
fastEthernet
port
| range fastEthernet
port-list
| gigabitEthernet
port
| range
gigabitEthernet
port-list
| port-channel
lag-id
| range port-channel
lag-list
}
Enter interface configuration mode.
port |port-list
: The number or the list of the Ethernet port that you want to configure.
lag-id |lag-list:
The ID or the list of the LAG that you want to configure.
Step 8
switchport voice vlan mode
{
auto | manual }
Choose the way of adding the specified ports to the voice VLAN.
auto:
The switch automatically adds the specified ports to the voice VLAN when the ports
receive voice packets. If you choose the auto mode for the specified ports, make sure traffic
from your voice device is tagged.
manual:
You need to manually add the specified ports to the voice VLAN.
Step 9
switchport voice vlan security
Enable the security feature.
For packets to the voice VLAN, the selected ports forward only voice packets whose source
MAC addresses match OUI addresses to the voice VLAN, and discard others. For packets to
other VLANs, how the switch processes the packets is determined by whether the selected
ports permit the VLAN or not, independent of voice VLAN security mode.
We recommend that you do not mix voice traffic with data traffic in the voice VLAN. If
necessary, make sure the security mode is disabled.
Step 10
switchport general allowed vlan
vid
{ tagged | untagged }
(
For ports in manual voice VLAN mode) Add the specified ports to the voice VLAN.
vid:
Enter the voice VLAN ID to add the specified ports to the voice VLAN.
tagged | untagged:
Set the egress rule as tagged or untagged for the specified ports.
Step 11
show voice vlan
Verify the global configuration of voice VLAN.
Step 12
show voice vlan switchport
Verify the voice VLAN configuration of the ports.