I. RELATED definitions
1. Trunk
A packet on a trunk port that can transmit multiple VLANs at the same time, typically for links between switches.
2, Hybrid
Packets that can transmit multiple VLANs at the hybrid port are typically used for interconnection between switches or for connections between switches and hosts.
3. Access
An access port can only belong to 1 VLANs and is typically used to connect to a host's port.
4, tag and untag tag
Refers to the VLAN tag, which is the VLAN ID, used to refer to the packet belonging to the Vlan,untag refers to the packet does not belong to any VLAN, no VLAN tag.
5, Pvid
Port VLAN ID number, when a non-tagged packet enters the switch, the switch checks the VLAN settings and decides whether to forward. When an IP packet enters the switch port, if there is no tag header and the Pvid is configured on the port, the packet will be tagged with the corresponding tag header! If the incoming IP packet already has the tag header (VLAN data), then the switch generally does not increase the tag header.
Second, the processing of the data packets on different ports
Huawei &H3C understanding of Trunk, Hybrid, access