VLAN Basics [All About Switches 13] Highlighted

Latest reply: Nov 29, 2019 16:38:11 7471 9 5 2

 557fe443734af.gifWhat is VLAN technology?

Virtual Local Area Network (VLAN) technology divides a physical LAN into multiple broadcast domains (VLANs).

At March 1996, IEEE802.1 Internetworking Committee completed the initial VLAN standard revision. The new standard further enhances VLAN architecture, uniformly defines the tag format of different vendors in Frame-Tagging mode of suppliers in tag format, and stipulates the VLAN standard development trend within a period of time in the future. 802.1Q has been widely promoted in the industry. Later, IEEE issued 802.1Q in 1999 to standardize the VLAN implementation. 802.1Q promotes fast VLAN development because virtual networks do not depend on the sole vendor.

557fe443734af.gifWhat is the difference between the VLAN data frame and the traditional Ethernet data frame?

557fe443993e5.png

IEEE 802.1Q adds the 4-byte 802.1Q tag between the Source address field and the Length/Type field.

The VID field (VLAN ID) in a data frame identifies the VLAN that the data frame belongs to. The data frame can be only transmitted in the VLAN that the data frame belongs to.

557fe443734af.gifWhat are the functions of VLAN technology?

The following figure shows the functions of VLAN technology.

557fe443e330e.png

Through VLAN assignment, hosts in a VLAN can communicate with each other, while hosts in different VLANs cannot communicate with each other. In this manner, broadcast packets are limited in a VLAN.

VLAN technology has the following advantages:

1.       Limits broadcast domains: Broadcast domains are restricted in a VLAN, saving the bandwidth and improving the network processing capability.

2.       Enhances LAN security: Packets in different VLANs are isolated. That is, users in a VLAN cannot communicate with users in another VLAN.

3.       Improves network robustness: Faults are restricted in a VLAN, that is, faults in a VLAN do not affect other VLANs.

4.       Flexibly creates virtual work groups: VLAN technology can assign different users to different work groups. Users in the same work group can be not restricted in a fixed physical position. Network construction and maintenance are convenient and flexible.

557fe443734af.gifHow is a VLAN data frame processed by different types of ports?

Which types of ports exist on the device?

557fe44436459.png

Access port: connects to a host. It can connect to only the access link.

Trunk port: connects to another switch. It can connect to only the trunk link.

Hybrid port: connects to either a host or another switch. A hybrid port can connect to either an access link or a trunk link.

Note: Hybrid and trunk ports process the received data in the same manner. The hybrid port allows outgoing packets from multiple VLANs to be untagged, while the trunk port allows only outgoing packets from the default VLAN to be untagged.

Different switch ports process VLAN data frames in different manners.

1.       Access port

557fe4446df87.png

2.       Trunk port

557fe444afc72.png

3.       Hybrid port

557fe444ebafc.png

The following table describes packets processed by different ports.

Port Type

Untagged Incoming Frame Processing

Tagged Incoming Frame Processing

Outgoing Frame Processing

Access port

Receives the frame and adds the default VLAN ID.

l  Receives the frame when the frame's VLAN ID is the same as the default VLAN ID.

l  Discards the frame when the frame's VLAN ID is different from the default VLAN ID.

Removes the PVID and sends it out.

Trunk port

l  Receives the frame when the default VLAN ID is allowed by the port.

l  Discards the frame when the default VLAN ID is not allowed by the port.

l  Receives the frame when the frame's VLAN ID is allowed by the port.

l  Discards the frame when the frame's VLAN ID is not allowed by the port.

l  Removes the tag when the frame's VLAN ID is the same as the default VLAN ID and allowed by the port, and sends the frame out.

l  Retains the original tag when the frame's VLAN ID is different from the default VLAN ID and allowed by the port, and sends the frame out.

Hybrid port

Sends the frame out when the frame's VLAN ID is allowed by the port. You can use commands to configure whether the device sends tagged frames.

 

This issue describes the VLAN basics. For more information about VLAN technology, see the next issue.

To be continued...

Issue

Name

Description

First issue

[All About Switches - Beginner] 

VLAN Basics

This issue describes the definition and purpose of VLAN technology and modes in which interfaces are added to VLANs.

Second issue

[All About Switches - Beginner] 

VLAN Assignment

This issue describes VLAN assignment modes and applicable scenarios, and mainly describes the configuration and scenario of interface-based assignment.

Third issue

[All About Switches - Beginner]

VLAN Communication

This issue describes main technologies and applicable scenarios of inter-VLAN communication, including the VLANIF interface, sub-interface, and super-VLAN. This issue also describes common VLANIF interface configuration.

Fourth issue

[All About Switches - Beginner] VLAN Isolation

This issue describes main technologies and applicable scenarios of VLAN isolation, such as MUX VLAN and ACL.


★★★Summary★★★ All About Huawei Switch Features and Configurations

This article contains more resources

You need to log in to download or view. No account?Register

x
  • x
  • convention:

user_230335
Created Aug 10, 2015 09:23:35 Helpful(0) Helpful(0)

good,studying
  • x
  • convention:

user_2790689
Created Jun 17, 2015 05:57:35 Helpful(0) Helpful(0)

Thank you.
  • x
  • convention:

Hillas
Created Jun 25, 2015 13:19:30 Helpful(0) Helpful(0)

Great summary. will be helpfull in also understanding the flow of vlans through which interfaces it should be allowed or not.
  • x
  • convention:

oshubeykin
Created Sep 23, 2015 12:48:26 Helpful(0) Helpful(0)

Thank You

  • x
  • convention:

oshubeykin
Created Sep 23, 2015 12:48:47 Helpful(0) Helpful(0)

Thank You

  • x
  • convention:

faysalji
Created Sep 23, 2015 14:49:10 Helpful(0) Helpful(0)

This is helpful. 

  • x
  • convention:

dm
Created Oct 23, 2017 08:50:08 Helpful(0) Helpful(0)

easy to understand.thanks
  • x
  • convention:

nabiuddin
Created Nov 26, 2019 17:18:58 Helpful(0) Helpful(0)

3xcellent like .much helpful
  • x
  • convention:

lucian2003
Created Nov 29, 2019 16:38:11 Helpful(0) Helpful(0)

It's good to study.
  • x
  • convention:

Hello%20friends%2C%20I%20am%20a%20Telecommunications%20and%20electronics%20engineer%20and%20I%20just%20graduated%20as%20a%20master%20in%20telecommunications%20systems.%20I%20work%20in%20the%20telecommunications%20company%20of%20Cuba%2C%20ETECSA.%20I%20am%2036%20years%20old%20and%20I%20attend%20the%20transport%20network%20in%20my%20province%2C%20which%20is%20mainly%20Huawei.

Comment

Reply
You need to log in to reply to the post Login | Register

Notice 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 " Privacy."
If the attachment button is not available, update the Adobe Flash Player to the latest version!
Login and enjoy all the member benefits

Login and enjoy all the member benefits

Login