< Home

Enabling the Voice VLAN Function

Context

To implement the voice VLAN function, configure the VLAN used to forward voice packets on the switch as a voice VLAN and enable the voice VLAN function. You are advised to configure different VLANs for voice and data services to facilitate management.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run interface interface-type interface-number

    The interface view is displayed.

  3. Run voice-vlan vlan-id enable [ include-untagged | include-tag0 ]*

    A voice VLAN is configured and the voice VLAN function is enabled on the interface.

    By default, the voice VLAN function is disabled on an interface.

    • VLAN 1 cannot be configured as a voice VLAN.

    • To transmit different services, ensure that the voice VLAN and default VLAN on an interface are different.

    • Only one VLAN on an interface can be configured as a voice VLAN at a time.

    • After the voice VLAN function is enabled on an interface, VLAN mapping, VLAN stacking, or traffic policies cannot be configured on the interface.

    • When an IP phone sends packets tagged with VLAN 0, include-tag0 must be specified on the S5720-EI, S6720-EI, and S6720S-EI. On other models, include-untagged takes effect for untagged packets and packets tagged with VLAN 0.
    • On the S5720-EI, S6720-EI, and S6720S-EI, after a VLAN is associated with a BD or VSI and is specified as a voice VLAN, the VXLAN or MPLS function may not take effect.
    • On the S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-HI, S6730-H, S6730S-H, S6730-S, or S6730S-S, after a VLAN is associated with a BD or VSI, if this VLAN needs to be specified as a voice VLAN, you need to run the lldp tlv-enable med-tlv network-policy voice-vlan vlan vlan-id [ cos cvalue | dscp dvalue ]* command to configure the voice VLAN capability of LLDP on an interface.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >