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

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).
Principles

Principles

Some IP phones (for example, Cisco 7960) send tagged voice packets, and others (for example, Huawei MC850) send untagged voice packets. This section discusses how MAC address-based voice VLAN and VLAN ID-based voice VLAN transmit tagged and untagged voice packets.

A switch configured with voice VLAN can:
  • Identify voice data.
  • Increase the priority of voice data.
  • Forward the voice data based on the increased priority.

The switch identifies voice data based on:

  • Source MAC addresses of the received packets

    The switch identifies data packets as voice data when the source MAC address matches the organizationally unique identifier (OUI). The OUI must be preconfigured and is used in scenarios where IP phones send untagged voice packets.

  • Source VLAN tags of the received packets

    The switch identifies data packets as voice data when the VLAN ID matches the configured VLAN ID. This simplifies configurations when many IP phones connect to the switch. IP phones must be able to obtain voice VLAN information from the switch to use this mode.

The switch can identify voice data flows based on MAC addresses and VLAN IDs regardless of whether the packets carry VLAN tags. However, OUIs must be configured in order for the switch to differentiate untagged voice packets from data packets. If the voice packets are tagged, configuring VLAN ID-based voice VLAN simplifies configuration when many IP phones connect to the switch.

MAC Address-based Voice VLAN

  • OUI

    An OUI is the first 24 bits of a 48-bit MAC address assigned to each vendor by the Institute of Electrical and Electronics Engineers (IEEE). Voice packets sent by IP phones can be identified by the MAC address ranges requested by IP phone vendors.

    In voice VLAN, the OUI is user-defined and not necessarily 24 bits long. The OUI is the result of the AND operation between the MAC address and mask in the voice-vlan mac-address command.

  • Implementation
    In Figure 9-3, after receiving an untagged packet from the PC and IP phone, the switch processes the packet as follows:
    • If the source MAC address matches the configured OUI, the switch adds the voice VLAN tag to the packet and increases the packet priority. (If the result of the AND operation between the MAC address and mask is the OUI, the source MAC address matches the OUI.)
    • If the source MAC address does not match the configured OUI, the switch adds the VLAN tag with the PVID to the packet so that voice packets are preferentially sent.
    Figure 9-3  MAC address-based voice VLAN

VLAN ID-based Voice VLAN

After receiving packets from the PC and IP phone, the switch determines whether the VLAN IDs in the packets match the configured voice VLAN ID. If they match, the switch considers data as voice data and increases the priority. The switch adds the VLAN tag of the PVID to untagged packets from the PC. When VLAN ID-based voice VLAN is configured, the IP phone must be able to obtain voice VLAN information from the switch.

LLDP is one of multiple methods in which an IP phone can obtain voice VLAN information from a switch.

Figure 9-4  VLAN ID-based voice VLAN

Figure 9-4 shows a PC and an IP phone connecting to a switch. The IP phone obtains voice VLAN information from the switch through LLDP as follows:

  1. After the IP phone goes online, it sends an LLDPDU to the switch.
  2. After receiving the LLDPDU, the switch encapsulates voice VLAN information in the LLDPDU and sends it to the IP phone.
  3. After receiving the LLDPDU, the IP phone sends tagged voice packets.
  4. The switch receives tagged voice packets. If the tag matches the voice VLAN ID on the switch, the switch increases the priority of the packets and forwards them.

When receiving untagged packets, the switch still sends them in the VLAN specified by the PVID. When congestion occurs, the switch preferentially sends voice packets.

Translation
Download
Updated: 2019-08-21

Document ID: EDOC1000142081

Views: 273788

Downloads: 420

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