Difference: 1. The data received by the port is different. The data received by the untagged port must be tagged with VLAN; while the data received by the tagged port will be tagged if it does not contain VLAN, and if it does, it will not be tagged. 2. The port sends The data is different. In untagged, the VLAN ID needs to be removed from the data packet, but in tagged, it is not.
The operating environment of this tutorial: Windows 7 system, Dell G3 computer.
The difference between tagged ports and untagged ports in switch Vlan
1. The ports receive data differently
If the port is tagged, when the data packet itself does not contain VLAN, the default vlan will be added to the input data packet; if the data packet itself already contains VLAN, then it will not be added.
If it is untagged mode, all input data packets must be added with the default vlan. It does not matter whether the incoming packet has a VLAN tag or not.
2. The port sends different data
If the port is in tagged mode, and if the default VLAN of the port is equal to the VLAN contained in the sent data packet, then the VLAN will be The tag is removed from the sent data packet; if they are not equal, the data packet will be sent out with the VLAN to achieve VLAN transparent transmission.
If it is untagged mode, no matter what the default VLAN of the port is and whether it is equal to the VLAN of the data packet to be output, the VLAN ID will be removed from the data packet.
For more related knowledge, please visit the FAQ column!
The above is the detailed content of What is the difference between tagged port and untagged port?. For more information, please follow other related articles on the PHP Chinese website!