Trunk and Access Ports

How to setup Trunk and Access Ports

Intro

How I configure trunk and access ports

Prerequisites

VLANs are already created and configured like below:

SSIDVLANSubnetPurpose
-1192.168.1.0/24Default (abandoned)
-1010.10.10.0/24Management
wifi4home2010.20.20.0/24Home
wifi4work3010.30.30.0/24Work
wifi4iot4010.40.40.0/24IoT
wifi4guest5010.50.50.0/24Guest
-6010.60.60.0/24Homelab

Trunk Ports

Trunk ports will be configured from:

  • router TO switch
  • switch TO switch
  • switch TO AP

Note! UniFi does not auto-sync port profiles. You must set both sides to a trunk port manually.

alt

Access Ports

Access Ports will be configured from:

  • switch TO camera device
  • switch TO IoT device
  • etc

Ethernet Ports

Create the following new Ethernet Ports profiles at /network/default/settings/profiles/.

Assign them to each port, this will also simplify future changes if needed

NameNative VLAN / NetworkTagged VLAN ManagementPoE
Management (Access Port)ManagementBlock Allyes
loT (Access Port)ManagementBlock Allyes
Home (Access Port)ManagementBlock Allyes
Work (Access Port)ManagementBlock Allyes
Homelab (Access Port)ManagementBlock Allyes
Guest (Access Port)ManagementBlock Allyes
Trunk PortDefaultAllow Allyes

Apply Ethernet Ports profile by selecting a port then clicking Advanced -> Manual then toggle on Ethernet Port profile and finaly select a Ethernet Ports profile.