VLAN membership and tagging
The following are basic principles of VLAN membership and tagging:
- Each port can be a member of an unlimited number of VLANs, but traffic on that port will be slow if it is a member of several busy VLANs. If you plan to make a port a member of multiple VLANs, consider setting up a link aggregation group (LAG) for increased bandwidth and throughput over that connection.
- Each port can be an untagged member of a single VLAN only. If a port is already an untagged member of a VLAN, you cannot add it as an untagged member of any other VLANs.
- All untagged traffic that enters the switch is assigned to the default or native VLAN, which is VLAN 1. VLAN 1 is also the management VLAN on switches that support management VLANs.
- If a port is a member of a LAG or you plan to add it to a LAG, do not add it to a VLAN or tag it individually. You must add the LAG to the VLAN as a single unit.
- We recommend that you classify each port as either an access port or a trunk port. An access port is a member of a single VLAN and connects to a computer, printer, or other device on the edge of a network. A trunk port connects the switch to a router, to other switches, or to access points. A trunk port must participate in multiple VLANs because all traffic that passes between the switch and the rest of the network must go through that port.
- Some networked devices recognize 802.1Q tagging, and some do not. If a device does not recognize tags, it rejects any tagged traffic that it receives, so it can be only an untagged member of a VLAN.
- If you are not sure whether a device supports 802.1Q tagging, see the device’s documentation. The following list contains general guidelines that are not applicable in all cases:
- Most printers do not recognize 802.1Q tags.
- If a computer must be a tagged member of a VLAN, you must configure a VLAN ID on the network interface controller (NIC) of the computer. All other computers must be untagged.
- Most network attached storage (NAS) devices either support 802.1Q tagging, support multiple NICs with multiple Ethernet ports (which can be added to different VLANs), or both.
- Most Voice over Internet Protocol (VoIP) phones recognize 802.1Q tags.
- Most WiFi access points recognize 802.1Q tags.
- Unmanaged switches and some switches with limited management functions do not recognize 802.1Q tags.
- Most business routers recognize 802.1Q tags. Most home routers do not.