Got it

Understanding of VLAN - Voice VLAN

Latest reply: Jun 17, 2021 16:02:24 387 13 19 0 0

OBJECTIVE


The purpose of this post is to present an introduction to Voice VLAN.


Introduction of Voice VLAN


Voice data and non-voice data are often transmitted on the same network, but voice data requires a higher priority than other service data during transmission to shorten the packet delay and reduce packet loss during transmission.


In the voice VLAN system, voice data is differentiated from other data through Access Control Lists (ACLs) to ensure preferential transmission, and transmission quality is ensured through Quality of Service (QoS).


An interface enabled with voice VLAN determines whether incoming data is voice data by examining the data packet's source MAC addresses. If the source MAC address matches the Organizationally Unique Identifier (OUI), data with that source MAC address is considered voice data. The interface receiving voice data is then automatically added to the voice VLAN, effectively simplifying configurations and allowing users to manage voice data more conveniently.


As shown in Figure 1, High Speed Internet (HSI) services, Voice over IP (VoIP) services, and Internet Protocol Television (IPTV) services are all transmitted to Device. To differentiate voice data from other data, VoIP traffic is isolated through different VLANs and is assigned a higher priority to ensure voice quality. Therefore, when voice VLAN is configured on the Device, the Device adds a pre-configured VLAN ID and assigns a higher priority to VoIP traffic.


01

Figure 1 - Typical voice VLAN networking diagram


On different interfaces of a Device, you can specify multiple VLANs as voice VLANs. However, you can specify only one VLAN as a voice VLAN on an interface.


OUI Address of Voice VLAN


The OUI indicates a MAC address segment.


You can perform an AND operation between 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 a device's MAC address and the OUI. For example, if the specified MAC address is 1-1-1 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 Used to Add an Interface to a Voice VLAN


An interface can be added to the voice VLAN in manual mode or auto mode.


  • Auto mode


An interface enabled with voice VLAN identifies voice data flows according to the source MAC address of the received data packets. If the source MAC address of a flow matches the OUI of the voice VLAN, the flow is considered as a voice data flow.


The system automatically adds the interface receiving voice data flows to the voice VLAN and maintains the number of interfaces within the voice VLAN using the aging mechanism.


Before the aging timer expires:


  • If the interface does not receive any voice data packet from a voice device, the interface is automatically deleted from the voice VLAN.


  • If the interface receives voice data packets from the voice device again, the interface is automatically added to the voice VLAN.


In auto mode, the interface enabled with voice VLAN forwards both voice data packets and service data packets. Figure 2 shows a voice VLAN in auto mode.


02


Figure 2 - Networking diagram of a voice VLAN in auto mode


  • Manual mode


In manual mode, the interface connected to an IP phone is manually added to the voice VLAN. The device checks whether the source MAC address of each packet matches the OUI. If the source MAC address of a packet matches the OUI, the device delivers ACL rules and changes the priority of the packet. The administrator adds an interface to or deletes it from the voice VLAN manually.


In manual mode, the interface enabled with voice VLAN forwards only voice data packets. Figure 3 shows a voice VLAN in manual mode.


03

Figure 3 - Networking diagram of a voice VLAN in manual mode


Different interfaces can be added to voice VLANs in different modes, each of which are independent of each other.


Working Mode of a Voice VLAN


Mode Description Application Scenario 
Security mode

An interface enabled with voice VLAN checks whether the source MAC address of each packet entering the voice VLAN matches the OUI.


  • If the source MAC address matches the OUI, the packet enters the voice VLAN and is forwarded.


  • If the source MAC address does not match the OUI:


  • The packet is forwarded through a specified VLAN if the interface enabled with voice VLAN allows other common VLAN packets to pass through.


  • The packet is discarded if the interface enabled with voice VLAN does not allow other common VLAN packets to pass through.

Security mode is used when multiple services (HSI, VoIP, and IPTV) are accessed on a Layer 2 network through a single interface, and the interface transmits only voice data. 


The security mode can protect the voice VLAN against the attacks by invalid packets, but checking packets occupies certain system resources.

Normal modeThe interface enabled with voice VLAN can transmit both voice data and service data, and is vulnerable to attacks by invalid packets.The normal mode is used when multiple services (HSI, VOIP, and IPTV) are transmitted to a Layer 2 network through one interface, and the interface transmits both voice data and service data.

Table 1 - Working Mode of a Voice VLAN


Aging Time of a Voice VLAN


In automatic mode, the device configured with voice VLAN automatically adds the interface that connects to a voice device to the voice VLAN after learning the source MAC address of the voice data sent from the voice device, and controls the number of the interfaces in the voice VLAN through the aging mechanism.


When the aging time expires, if the interface enabled with voice VLAN does not receive any voice data from the voice device, the interface that connects to the voice device will be deleted from the voice VLAN. If the interface enabled with voice VLAN receives voice dataagain from the voice device, the interface that connects to the voice device will be automatically added to the voice VLAN again.


In manual mode, the voice VLAN is not affected by the aging time




--- End

Thanks for sharing
View more
  • x
  • convention:

Nice
View more
  • x
  • convention:

Vlada85
MVE Author Created Jun 14, 2021 19:27:59

Thank you for sharing
View more
  • x
  • convention:

zaheernew
MVE Author Created Jun 15, 2021 00:13:50

Understanding of VLAN - Voice VLAN-3971299-1
View more
  • x
  • convention:

Cool
View more
  • x
  • convention:

Well done friend
View more
  • x
  • convention:

IndianKid
Moderator Author Created Jun 15, 2021 05:56:30

Thank you for sharing
View more
  • x
  • convention:

good to know
View more
  • x
  • convention:

Thanks for sharing
View more
  • x
  • convention:

12
Back to list

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.