CÔNG TY TNHH CÔNG NGHỆ VIỆT THÁI DƯƠNG
Logo CNTTShop.vn

NTT03, Line 1, Thống Nhất Complex, Thanh Xuân, Hà Nội.
Danh mục sản phẩm

Configure the Voice-VLAN Working Mode on the Port

The voice-VLAN of a port can work in automatic mode or manual mode. The ports working in different voice-VLAN modes recognize voice packets in different ways.

  • Automatic mode: If the packets received by the port are Untag packets or the Tag packet with the Voice-VLAN ID and the source MAC address of the packets matches an OUI address, the packets are regarded as voice packets.
  • Manual mode: The packets received by the port are all regarded as voice packets.

Configuration Condition

Before configuring the voice-VLAN working mode of a port, ensure that:

  • The voice-VLAN function has been globally enabled.
  • The voice-VLAN function of the port has been enabled.

Configure a Voice-VLAN to Automatic Mode

Table 7-5 Configuring a Voice-VLAN to Automatic Mode

Step

Command

Description

Enter the global configuration mode.

configure terminal

-

Enter the L2 Ethernet interface configuration mode.

interface interface-name

Either

After entering the L2 Ethernet interface configuration mode, the subsequent configuration takes effect only on the current port. After entering the aggregation group configuration mode, the subsequent configuration takes effect only on the aggregation group.

Enter the aggregation group configuration mode.

link-aggregation link-aggregation-id

Configure the port to work in voice-VLAN automatic mode.

voice vlan mode auto

Mandatory.

By default, the port works in the voice-VLAN automatic mode.

Configure a Voice-VLAN to Manual Mode

Table 7-6 Configuring a Voice-VLAN to Manual Mode

Step

Command

Description

Enter the global configuration mode.

configure terminal

-

Enter the L2 Ethernet interface configuration mode.

interface interface-name

Either

After entering the L2 Ethernet interface configuration mode, the subsequent configuration takes effect only on the current port. After entering the aggregation group configuration mode, the subsequent configuration takes effect only on the aggregation group.

Enter the aggregation group configuration mode.

link-aggregation link-aggregation-id

Configure the port to work in voice-VLAN manual mode.

no voice vlan mode auto

Mandatory.

By default, the port works in the voice-VLAN automatic mode.

note


  • If the port is used to transmit the Tagged voice data, the port type can only be configured as Trunk or Hybrid, and PVID cannot be Voice-VLAN.
  • If the port works in the Voice-VLAN manual mode, and is used to transmit the untagged voice data, PVID should be Voice-VLAN.
  • The lldp-med authentication mode of Voice-VLAN does not support the manual mode of ports, that is, when the devices enable the lldp-med authentication mode of Voice-VLAN, the ports cannot be configured as the manual mode of Voice-VLAN; or when there is one port configured as the manual mode of Voice-VLAN, the lldp-med authentication mode of Voice-VLAN cannot be enabled.