Access & amp; trunk & amp; hybrid port handling Summary

Source: Internet
Author: User
Today, we will summarize the Packet Handling process for the three ports in a vlan. An Access port is generally used to connect to the Access layer and can only belong to one vlan. In general, directly connect to the Acess port of the PC. Receive a packet and check whether there is VLAN information. If no VLAN information exists, append the PVID of the port and perform exchange and forwarding. If yes, directly discard the packet (default) send a message to the Acess Port:

Today, we will summarize the Packet Handling process for the three ports in a vlan. An Access port is generally used to connect to the Access layer and can only belong to one vlan. In general, directly connect to the Acess port of the PC. Receive a packet and check whether there is VLAN information. If no VLAN information exists, append the PVID of the port and perform exchange and forwarding. If yes, directly discard the packet (default) send a message to the Acess Port:


Today, we will summarize the Packet Handling process for the three ports in a vlan.

AccessA port is generally used to connect to the access layer and can only belong to one vlan. General direct connection to PC

Acess port receipt:

When a packet is received, determine whether there is VLAN information: If there is no VLAN information, add the PVID of the port and perform exchange and forwarding. If yes, discard the packet directly (default)
Acess port sends messages:
Remove the VLAN information of the packets and send them directly.


TrunkPorts are generally used for links between switches and can belong to multiple VLANs.

Trunk port receipt:

When a packet is received, determine whether there is VLAN information: If there is no VLAN information, add the PVID of the port and perform exchange and forwarding. If so, determine whether the trunk port allows the data of the VLAN to enter:

If yes, it will be forwarded; otherwise, it will be discarded.

Trunk port sends messages:

Compare the PVID of the port with the VLAN information of the packet to be sent. If the two are the same, the VLAN information is stripped and then sent. If the two are not the same, the packets are directly sent.



1. Determine the attributes of the VLAN on the current port (The disp interface can see which VLANs are untags and which VLANs are tags)
2. If it is an untag, the VLAN information is stripped and then sent. If it is a tag, it is directly sent.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.