authentication voice-vlan

Creates a voice VLAN ID for a port or for a group of ports.
Syntax
authentication voice-vlan num
no authentication voice-vlan num
Command Default

A local or port-level voice VLAN ID is not configured.

Parameters
num
Specifies a valid VLAN ID. Valid values range from 1 through 4095.
Modes

Interface configuration mode

Usage Guidelines

When a local voice VLAN is configured, it facilitates continuing operation of IP phones in the following scenarios:

  • The authentication process does not return a client VLAN.
  • The RADIUS server is not reachable.
  • Phone authentication fails.

The local voice VLAN configuration overrides the global voice VLAN configuration.

When a local voice VLAN is not configured or the local voice VLAN configuration is removed, the global VLAN configuration takes effect.

When you configure a voice VLAN ID on the port to which the VoIP phone is connected, the device automatically detects and reconfigures the VoIP phone when it is physically moved from one port to another within the same device.

When the ICX device receives the VoIP phone query, it sends the voice VLAN ID in a reply packet to the VoIP phone. The VoIP phone then configures itself within the voice VLAN.

As long as the port to which the VoIP phone is connected has a voice VLAN ID, the phone will configure itself into that voice VLAN. If you change the voice VLAN ID, the software will immediately send the new ID to the VoIP phone, and the VoIP phone will reconfigure itself with the new voice VLAN.

Some VoIP phones may require a reboot after configuring or reconfiguring a voice VLAN ID.

The no form of the command removes the voice VLAN ID from the port.

Examples

The following example creates a VLAN ID for a port.

device(config)# interface ethernet 2/1/1
device(config-if-e1000-2/1/1)# authentication voice-vlan 1001

The following example creates a VLAN ID for a group of ports.

device(config)# interface ethernet 1/1/2 to 1/1/10
device(config-if-e1000-1/1/2-1/1/10)# authentication voice-vlan 1005
History
Release version Command history
08.0.61 This command was introduced.