< Home

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

Context

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.

Procedure

  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 S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-HI, S6730-H, S6730S-H, S6730-S, and S6730S-S 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).
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >