When a managed Ethernet switch serves an office, CCTV system or business Wi-Fi network, one configuration decision can determine how traffic moves: access port vs trunk port. Both are Layer 2 switch-port modes, but they have different jobs. An access port normally connects one end device to one data VLAN; a trunk port carries traffic from multiple VLANs across a shared physical link.
This guide explains VLAN tagging, IEEE 802.1Q, native VLANs, practical network designs and common troubleshooting steps. It also shows where cabling and patch panels fit into a reliable structured cabling installation.

Access Port vs Trunk Port: Quick Comparison
| Feature | Access port | Trunk port |
|---|---|---|
| Main purpose | Connect an endpoint | Carry several VLANs across one link |
| Data VLANs | Normally one | Multiple allowed VLANs |
| Frame tagging | Normally untagged | Usually IEEE 802.1Q tagged; native VLAN can be untagged |
| Typical connection | PC, printer, basic IP camera | Switch, router, firewall, VLAN-aware wireless AP |
| Traffic separation | Endpoint mapped to its assigned VLAN | VLAN identity preserved over shared uplink |
| Important caveat | Voice VLAN may add tagged phone traffic | Native VLAN and allowed VLAN lists must match the design |
What Is an Access Port?
An access port is a switch interface assigned to a particular access VLAN. A standard PC or printer usually sends ordinary untagged Ethernet frames. The switch associates those incoming frames with the port’s configured VLAN; when frames leave an ordinary access port, they are normally untagged.
For example, a workstation attached to access VLAN 10 belongs to VLAN 10 even though its Ethernet adapter does not add an 802.1Q tag. VLAN membership comes from the managed switch configuration—not the color of the patch cable or a special type of RJ45 plug.
Access port example: an office workstation
- Switch port 1 connects to a PC and is configured as access VLAN 10.
- Switch port 2 connects to a printer and is also configured as access VLAN 10.
- Those two devices can share the same Layer 2 broadcast domain, subject to other network controls.
- A device on VLAN 20 is on a different Layer 2 VLAN. Communication between the VLANs requires routing or another explicitly configured mechanism.
Important exception: Some switches support a separate voice VLAN on an access port for an IP phone. In that design, phone voice frames can be tagged while an attached PC uses untagged data traffic. So “an access port can only ever carry one VLAN” is an oversimplification.
What Is a Trunk Port?
A trunk port carries traffic for multiple VLANs over one physical Ethernet link. It is often used between managed switches, but it can also connect a VLAN-aware router, firewall, hypervisor or wireless access point that needs several logical networks.
IEEE 802.1Q tagging lets the connected devices identify which VLAN each tagged Ethernet frame belongs to. Rather than installing a separate uplink cable for VLAN 10, VLAN 20 and VLAN 30, an appropriately configured trunk can transport all three across one link.
How 802.1Q VLAN tagging works
- A frame arrives on a switch access port assigned to VLAN 20.
- The switch forwards traffic for VLAN 20 toward the trunk when that VLAN is permitted and the forwarding state allows it.
- The trunk normally sends the frame with an 802.1Q VLAN identifier indicating VLAN 20.
- The receiving switch uses the VLAN identifier to forward the frame within the correct VLAN.
- When the frame exits a standard access port for the destination device, the VLAN tag is normally removed.
802.1Q is a tagging mechanism; it does not automatically encrypt traffic, enforce firewall rules or guarantee secure isolation. Routing policy, switch security features and access controls are still required where appropriate.
Tagged vs Untagged Frames and the Native VLAN
The key to understanding trunk operation is the difference between tagged and untagged Ethernet frames. Tagged frames explicitly carry a VLAN identifier. Untagged frames do not. On many 802.1Q implementations, one designated native VLAN carries untagged traffic across the trunk unless native-VLAN tagging is explicitly enabled.
That means the phrase “all trunk packets are tagged” is not universally correct. Some switches tag the native VLAN with an additional setting; others use different terminology, such as PVID, tagged membership and untagged membership. Review the documentation for the actual switch model.
Best practice: Check the native VLAN configuration at both ends of a trunk. A mismatch can cause unexpected forwarding or security issues. Restrict the trunk’s allowed VLAN list to what the network actually needs, where the equipment supports it.
Practical VLAN Example: Office, CCTV and Wi-Fi
Imagine two managed switches installed on different floors of a commercial building. Three logical networks need to remain distinguishable on both floors:
- VLAN 10 — Office: employee workstations and office resources.
- VLAN 20 — Wi-Fi: wireless infrastructure or a selected wireless SSID, depending on the design.
- VLAN 30 — CCTV: IP cameras and related surveillance devices.
Each ordinary endpoint attaches to an appropriately assigned access port. The uplink between the switches operates as an 802.1Q trunk carrying the required VLANs. If a VLAN-aware wireless access point maps multiple SSIDs to different VLANs, its switch connection may itself need to be a trunk rather than a basic access port.
The VLANs are logically separate at Layer 2, but a router or Layer 3 switch may be configured to permit traffic between them. Use firewall policies or ACLs where access between office, guest, camera and management networks must be restricted.
Access and Trunk Port Configuration: Cisco IOS Example
The following illustrative commands show the concept on many Cisco IOS or IOS XE switches. Interface names, supported features, negotiation behavior and exact syntax vary by platform and software release; always check your model’s configuration guide before applying changes.
! Example endpoint port: access VLAN 10
interface GigabitEthernet1/0/1
switchport mode access
switchport access vlan 10
! Example uplink: trunk allows VLANs 10,20,30
interface GigabitEthernet1/0/24
switchport mode trunk
switchport trunk allowed vlan 10,20,30
! Check operational trunk status
show interfaces trunk
show interfaces GigabitEthernet1/0/24 switchportBefore configuring the ports, create the required VLANs and plan how those VLANs will be routed, secured and managed. Confirm that both sides of the uplink agree on trunk mode, allowed VLANs and native VLAN behavior. Avoid assuming a vendor-neutral interface will accept Cisco-specific commands.
How to Choose: Access or Trunk?
- Single-VLAN PC or printer: normally an access port.
- Ordinary camera on a CCTV VLAN: normally an access port.
- Managed switch-to-switch uplink carrying multiple VLANs: a trunk port.
- Access point serving multiple VLAN-mapped SSIDs: often a trunk, if the AP and switch are configured to use VLAN tags.
- IP phone with a daisy-chained PC: often an access port with voice VLAN capability; check the device and switch configuration.
- Router-on-a-stick or VLAN-aware firewall: commonly a tagged trunk connection, using the relevant platform features.
Common VLAN and Trunk Troubleshooting Mistakes
- Trunk not formed: check the operational interface mode on both devices and avoid depending on automatic negotiation between different vendors.
- VLAN missing from the allowed list: a trunk can be up while traffic for a particular VLAN remains blocked.
- Native VLAN mismatch: untagged traffic may be classified into different VLANs on either side.
- Incorrect endpoint VLAN: verify the configured access VLAN, port membership and the expected DHCP subnet.
- VLAN not created or inactive: both devices must recognize the VLAN and be in an appropriate forwarding state.
- No inter-VLAN routing: a VLAN may work locally while access to resources in another VLAN requires a router, Layer 3 switch and suitable security rules.
- Cabling or transceiver faults: diagnose physical link speed, errors, connector quality and uplink compatibility separately from VLAN settings.
Structured Cabling Still Matters
Configuring VLANs is a logical-network task; cabling determines whether the physical Ethernet link performs reliably. A properly designed copper cabling channel, tested connections and clear patch-panel labeling simplify fault isolation when a trunk or access port appears unreliable.
For network installation and distribution projects, see QGreenLink’s network patch cords, patch panels and related structured cabling accessories. For transmission-distance planning, our Cat6 vs Cat6A comparison explains when higher-grade cabling makes sense.
For systems integrators, contractors and resellers planning an office, data-center or security installation, QGreenLink can support inquiries for compatible cabling and network connectivity accessories. Provide the required cable category, connector type, length, quantity and application when requesting a quotation.
Frequently Asked Questions
Can an access port carry multiple VLANs?
A conventional data access port normally carries one untagged access VLAN. However, voice VLAN configurations can allow a phone to send tagged voice traffic alongside untagged data traffic. Behavior depends on the switch and endpoint.
Is a trunk port faster than an access port?
No. Port mode does not itself increase the link speed. Both modes depend on the interface’s supported Ethernet rate, cabling quality and physical-link conditions. A trunk can aggregate traffic from multiple VLANs on one shared-speed link.
Do trunk ports always use VLAN tags?
Not necessarily. IEEE 802.1Q trunks commonly tag non-native VLAN traffic, while native VLAN traffic may be untagged by default. Some devices support tagging the native VLAN as well.
Can a trunk port connect to a wireless access point?
Yes. A VLAN-aware AP serving multiple SSIDs mapped to different VLANs often uses a trunk uplink. A simple AP serving a single untagged network may use an access port instead.
Do VLANs automatically prevent one department from accessing another?
VLANs separate Layer 2 broadcast domains. A router or Layer 3 switch can still route between them. Use ACLs, firewalls and appropriate authentication for access policy enforcement.
What is the difference between access VLAN and native VLAN?
The access VLAN classifies traffic on an ordinary access port. The native VLAN is the VLAN associated with untagged traffic on an 802.1Q trunk, subject to the device’s native-VLAN tagging settings.
Key Takeaway
Access ports normally connect individual devices to one untagged data VLAN. Trunk ports transport traffic for multiple VLANs over a single physical link using IEEE 802.1Q. Get the allowed VLANs, native VLAN behavior and routing policies right first—then verify the cabling and endpoint configuration.
Need copper patch cords, patch panels, RJ45 connectivity or other installation accessories for your next project? Explore QGreenLink structured cabling products and contact the team with your specifications and quantities.
Technical References
- Cisco — Interface Characteristics Configuration Guide (access and trunk port behavior, voice VLANs)
- Cisco — Configure VLAN Trunking (allowed VLANs, native VLAN and verification commands)