Introduction to the difference between tagged ports and untagged ports
The difference between Tagged ports and Untagged ports
In Ethernet switches, ports can be divided into Tagged ports and Untagged ports, and there are differences in their data processing methods.
Tagged Port
- The transmitted data frame contains a tag (tag), which is used to identify the VLAN (virtual LAN) to which the data frame belongs.
- When the data frame enters the switch from the Tagged port, the switch routes the data frame to the corresponding VLAN based on the tag information.
- When the data frame leaves the switch from the Tagged port, the switch retains the tag information in the data frame so that subsequent switches can continue to route the data frame.
Untagged port
- The transmitted data frame does not contain tags, so it can only belong to one VLAN.
- When a data frame enters the switch from the Untagged port, the switch assigns the data frame to the VLAN to which the port belongs by default.
- When the data frame leaves the switch from the Untagged port, the switch removes the tag information from the data frame.
Main Differences
Features | Tagged Port | Untagged Port |
---|---|---|
Tag | Contains | Does not contain |
Can belong to multiple VLANs | Can only belong to one VLAN | |
Route to the specified VLAN | Default Route to the VLAN to which the port belongs | |
Keep tag | Delete tag | |
Need to support VLAN | No need to support VLAN |
- Tagged Port:
- Used to connect devices that support VLAN, such as routers, servers or other switches. Untagged Port:
- Used to connect devices that do not support VLAN, such as PCs, printers, or IP phones.
The above is the detailed content of Introduction to the difference between tagged ports and untagged ports. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)
