Got it

Basic principles of VLAN technology (6)

Latest reply: Nov 14, 2021 04:40:40 174 6 3 0 0



Hello, everyone!



Today, I will continue to write about the basic principle of VLAN technology. Now, I will explain the 802.1Q forwarding principles for hybrid port and packet forwarding mechanisms of switches.




802.1Q forwarding principles for hybrid port



The hybrid port receives a frame


In this situation, the switch checks to see if the frame has a VLAN tag. If there is no VLAN tag, then the switch checks the PVID of the hybrid VLAN is in the allowed VLAN ID list. If it is on the list, then the switch marks it with the PVID and can process it. If the PVID of the hybrid VLAN is not listed, then the switch discards the frame. If the frame has a VLAN tag, then the switch checks to see if it is allowed to pass to the hybrid port. If the frame is allowed to enter, the processing process starts, otherwise, the frame is discarded.



Hybrid


Figure 1. 802.1Q forwarding principles for hybrid port



The hybrid port sends a frame


The switch checks to see if a VLAN has been added to the interface in untagged or tagged mode. The switch will delete the VLAN then and send the frame when the interface is added to the VLAN in untagged mode. The switch will send the frame directly if a VLAN is added in tagged mode.




Packet forwarding mechanism of switches



MAC address tables can be divided into IVL (Independent VLAN Learning) and SVL (Shared VLAN Learning). I will write briefly about these tables.


IVL and SVL



Figure 2. IVL and SVL



IVL (Independent VLAN Learning)


Based on the destination MAC address, the switch finds the output port and sends the packet. In case the destination MAC address cannot be found in the table, then the switch forwards the packet to all ports.


In this mode, each VLAN has its own table. The destination MAC address can be located in several different tables (these are also different VLANs).



SVL (Shared VLAN Learning)


Switch checks the MAC address in the table. If the VLAN is on the interface is the same as the VLAN that has the packet, then the switch forwards the packet. Otherwise, it is discarded. If the switch cannot find the destination MAC address in the table, then it does the packet is sent in the VLAN to which the packet belongs.


In this mode, there is one large table and the mapping relationship is MAC-VLAN-port.




This is the end of this topic.



Thank you!


Good
View more
  • x
  • convention:

Basic principles of VLAN technology (6)-4291647-1
View more
  • x
  • convention:

Nabihazahid
Nabihazahid Created Nov 13, 2021 17:04:53 (0) (0)
 
Thanks for sharing
View more
  • x
  • convention:

Thank for sharing
View more
  • x
  • convention:

Sara_Obaid
Moderator Created Nov 14, 2021 04:40:40

A good explanation on the basic principles of VLAN technology...
View more
  • x
  • convention:

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.