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.


S12700 V200R010C00 Configuration Guide - Ethernet Switching

This document describes the configuration of Ethernet services, including configuring link aggregation, VLANs, Voice VLAN, VLAN mapping, QinQ, GVRP, MAC table, STP/RSTP/MSTP, SEP, and so on.
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:


    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 X series cards do not support automatic mode of the voice VLAN.

    • 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: 2019-08-21

Document ID: EDOC1000142081

Views: 270780

Downloads: 420

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