voice-vlan

Creates a voice VLAN at the global level.
Syntax
voice-vlan vlan-id
no voice-vlan vlan-id
Command Default

A global voice VLAN is not configured.

Parameters
vlan-id
Specifies the VLAN identifier. The range is from 1 through 4095 (excluding all reserved VLANs).
Modes

Authentication configuration mode

Usage Guidelines

The global voice VLAN is the default VLAN for voice traffic and is used:

  • When the RADIUS server does not return VLAN information after authentication success.
  • When the RADIUS server is not reachable for first authentication and auth-timeout-action is set to success.
  • Any time that the RADIUS server is not reachable, auth-timeout-action is set to critical vlan, and voice-vlan is configured for critical action.
  • When authentication fails, auth-fail-action is set to restricted and voice-vlan is configured for restricted action.

The no form of the command removes the global voice VLAN configuration.

Examples

The following example shows how to configure VLAN 4 as the global voice VLAN.

device# configure terminal
device(config)# authentication
device(config-authen)# voice-vlan 4
History
Release version Command history
08.0.61 This command was introduced.