Switchport Voice Vlan - Cisco Catalyst 2950 Command Reference Manual

Hide thumbs Also See for Catalyst 2950:
Table of Contents

Advertisement

switchport voice vlan

switchport voice vlan
Use the switchport voice vlan interface configuration command to configure voice VLAN on the port.
Use the no form of this command to return to the default setting.
Syntax Description
vlan-id
dot1p
none
untagged
Defaults
The switch default is not to automatically configure the telephone (none).
The telephone default is not to tag frames.
Command Modes
Interface configuration
Command History
Release
12.1(9)EA1
Usage Guidelines
You should configure voice VLAN on access ports.
When you enable port security on an interface that is also configured with a voice VLAN, set the
maximum allowed secure addresses on the port to two. When the port is connected to a Cisco IP phone,
the IP phone requires one MAC address. The Cisco IP phone address is learned on the voice VLAN, but
is not learned on the access VLAN. If you connect a single PC to the Cisco IP phone, no additional MAC
addresses are required. If you connect more than one PC to the Cisco IP phone, you must configure
enough secure addresses to allow one for each PC and one for the phone.
If any type of port security is enabled on the access VLAN, dynamic port security is automatically
enabled on the voice VLAN.
You cannot configure static secure MAC addresses on the voice VLAN.
The Port Fast feature is automatically enabled when voice VLAN is configured. When you disable voice
VLAN, the Port Fast feature is not automatically disabled.
Catalyst 2950 and Catalyst 2955 Switch Command Reference
2-512
switchport voice vlan {vlan-id | dot1p | none | untagged}
no switchport voice vlan
VLAN used for voice traffic. The range is 1 to 4094.
The telephone uses priority tagging and uses VLAN 0 (the native VLAN). By
default, the Cisco IP phone forwards the voice traffic with an IEEE 802.1p priority
of 5.
The telephone is not instructed through the command-line interface (CLI) about
the voice VLAN. The telephone uses the configuration from the telephone key
pad.
The telephone does not tag frames and uses VLAN 4095. The default for the
telephone is untagged.
Modification
This command was introduced.
Chapter 2
Catalyst 2950 and 2955 Cisco IOS Commands
0L-10102-01

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 2955

Table of Contents