No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


Configuration Guide - Ethernet Switching

S1720, S2700, S5700, and S6720 V200R012(C00 and C20)

This document describes the configuration of Ethernet services, including configuring MAC address table, link aggregation, VLANs, VLAN aggregation, MUX VLAN, VLAN termination, Voice VLAN, VLAN mapping, QinQ, GVRP, VCMP, STP/RSTP/MSTP, VBST, SEP, RRPP, ERPS, LBDT, and Layer 2 protocol transparent transmission.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring a Mode in Which an Interface Is Added to a Voice VLAN

Configuring a Mode in Which an Interface Is Added to a Voice VLAN


Based on MAC addresses, an interface can be added to a voice VLAN in auto or manual mode. You can configure a mode in which an interface is added to a voice VLAN according to data flows on the interface.
  • Auto

    The system adds the interface connected to a voice device to the voice VLAN if the source MAC address of packets sent from the voice device matches the OUI.

  • Manual

    In manual mode, the interface connected to a voice device must be added to the voice VLAN manually after the voice VLAN function is enabled on the interface. Otherwise, the voice VLAN does not take effect on the interface.


  1. Run system-view

    The system view is displayed.

  2. Run interface interface-type interface-number

    The interface view is displayed.

  3. Run port link-type hybrid

    The interface is configured as the hybrid interface.

  4. Run voice-vlan mode { auto | manual }

    A mode in which an interface is added to a voice VLAN is configured.

    By default, an interface is added to a voice VLAN in manual mode.

    • The S5720HI, S5730HI, and S6720HI do not support this configuration.

    • In auto mode, access, negotiation-auto, or negotiation-desirable interfaces cannot be added to a voice VLAN. To add the interface to the voice VLAN, run the port link-type command to change the link type of the interface to trunk or hybrid.
    • The automatic mode takes effect only when the voice-vlan remark-mode mac-address command is configured to increase the priority of voice packets based on MAC addresses and the voice-vlan enable command without include-untagged specified is configured to enable voice VLAN on the interface and add voice VLAN IDs to only tagged packets.

  5. (Optional) Add an interface to a voice VLAN in manual mode according to Configuring Interface-based VLAN Assignment (Statically Configured Interface Type).
Updated: 2018-12-24

Document ID: EDOC1100038339

Views: 166143

Downloads: 695

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Previous Next