3.26.1 Voice VLAN Global and Port Configuration

Voice VLAN feature enables voice traffic forwarding on the Voice VLAN, then the switch can classify and schedule network traffic.

Command Syntax:

voice vlan 
voice vlan vid <vid>
voice vlan aging-time <aging_time>
voice vlan class <traffic_class>
switchport voice vlan mode { auto | force | disable }
switchport voice vlan security 
switchport voice vlan discovery-protocol { oui | lldp | both }
Table 3-106. Command Description

Argument

Description

Parameter

<vid>

Voice VLAN ID. The valid range is 1–4095.

<aging_time>

Voice VLAN secure learning aging time. The allowed range is 10 to 10000000 seconds.

<traffic_class>

Voice VLAN traffic class 0–7

Default

N.A

Mode

Global Configuration mode and Port List Interface mode (for mode, security and discovery protocol)

Usage

Enable and configure Voice VLAN ID. To disable, use the ‘no’ version of the command.

Example

Example:

Enable Voice VLAN, assign VLAN ID 1000 with traffic class 5 and enable auto mode on port 2.

(config)# voice vlan
(config)# voice vlan vid 1000
(config)# voice vlan class 5
(config)# interface GigabitEthernet1/2
(config-if)# switchport voice vlan mode auto