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

Reminder

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

upgrade

AR500, AR510, and AR530 V200R007 CLI-based Configuration Guide - Ethernet Switching

This document describes the configuration of Ethernet services, including configuring transparent bridge, MAC table, link aggregation, VLANs, STP/RSTP/MSTP, and so on.The document provides the configuration procedures and configuration examples to illustrate the service configuration methods and application scenario.
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).
Principles

Principles

Introduction to Voice VLAN

Voice data and non-voice data are often transmitted on a same network. Voice data requires a higher priority than non-voice data during transmission. This helps shorten the packet delay and reduce packet loss during the transmission.

A commonly used method to ensure preferred transmission of voice data is to configure an access control list (ACL) to identify voice data flow, and use quality of service (QoS) mechanisms to ensure high quality of voice services, but the configuration is complex. To simplify user configuration and manage the voice data transmission more conveniently, voice VLAN is introduced.

The interface enabled with voice VLAN determines whether the incoming data is voice data based on source MAC addresses of the data packets. If a source MAC address matches the Organizationally Unique Identifier (OUI), the data with the source MAC address is considered as voice data. Then the interface that receives voice data is automatically added to the voice VLAN. In this manner, voice data can be managed more conveniently.

As shown in Figure 7-1, PC and IP Phone are all transmitted to the Router. To differentiate voice data from other data, the IP Phone traffic is isolated through different VLANs and is assigned a higher priority to ensure voice quality. In this case, you can configure voice VLAN on the router. The router assigns a higher priority to voice packets tagged with the voice VLAN ID from IP phones so that the voice packets can be preferentially forwarded and voice quality is ensured.

Figure 7-1  Networking of the voice VLAN

On different interfaces of the router, you can specify different VLANs as voice VLANs. On an interface, however, you can specify only one VLAN as a voice VLAN.

Basic Concepts

  • OUI

    An OUI indicates a MAC address segment.

    You can perform the AND operation on a 48-bit MAC address and a mask to obtain the OUI. The length of all 1s in the mask determines the number of matched bits between the MAC address of a device and the OUI. For example, if the specified MAC address is 0001-0001-0001 and the mask is FFFF-FF00-0000, the OUI is 0001-0000-0000. In this example, if the first 24 bits of the MAC address of the device match the first 24 bits of the OUI, the interface enabled with voice VLAN considers the data from the access device as voice data, and the device as a voice device.

  • Mode in which an interface is added to a voice VLAN

    Table 7-1 describes the mode in which an interface is added to a voice VLAN.

    Table 7-1  Mode in which an interface is added to a voice VLAN

    Mode

    Description

    Automatic mode

    The interface enabled with voice VLAN determines whether the incoming data is voice data according to the source MAC addresses of the data packets. If a source MAC address matches the OUI of a voice device, the data with the source MAC address is considered as voice data. The interface that receives the voice data is automatically added to a voice VLAN.

    Manual mode

    When an interface is enabled with voice VLAN, you must manually add the interface that connects to the voice device to the voice VLAN or remove the interface from the voice VLAN. In this manner, voice VLAN enabled on the interface can take effect.

    You can add different interfaces to voice VLANs in different modes, which are independent of each other.

  • Working mode of a voice VLAN

    Table 7-2 shows the working mode of a voice VLAN.

    Table 7-2  Working mode of a voice VLAN

    Working Mode

    Scenario

    Packet Processing

    Configuration Note

    Secure

    The inbound interface enabled with the voice VLAN function allows only the voice packets in which the source MAC address matches the OUI address of the voice VLAN, and discards non-voice packets from the voice VLAN and forwards packets from other VLANs.

    If the source MAC address does not match the OUI, the interface does not change the priority of voice packets and prevents the voice packets from being forwarded in the voice VLAN.

    If the source MAC address matches the OUI, the interface changes the priority of voice packets and allows the voice packets to be forwarded in the voice VLAN.

    Transmitting voice and service data at the same time in a voice VLAN is not recommended. If a voice VLAN must transmit both voice and service data, ensure that the voice VLAN works in normal mode.

    Normal

    The inbound interface enabled with the voice VLAN function transmits both voice packets and non-voice packets. In normal mode, the interface is vulnerable to attacks from malicious data traffic.

    If the source MAC address does not match the OUI, the interface does not change the priority of voice packets and allows the voice packets to be forwarded in the voice VLAN.

    If the source MAC address matches the OUI, the interface changes the priority of voice packets and allows the voice packets to be forwarded in the voice VLAN.

Translation
Download
Updated: 2019-05-25

Document ID: EDOC1000097279

Views: 19803

Downloads: 64

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