[MIKROTI] SETUP CRS TRUNK VLAN - fourslickz/notes GitHub Wiki
Step 1: Create a Bridge
/interface vlan
add interface=bridge1 name=vlan10 vlan-id=10
add interface=bridge1 name=vlan20 vlan-id=20
Step 2: Add Ports to the Bridge
/interface bridge vlan
add bridge=bridge1 tagged=ether1 untagged=ether2 vlan-ids=10
add bridge=bridge1 tagged=ether1 untagged=ether3 vlan-ids=20
Step 3: Define VLANs
/interface bridge port
set [find interface=ether2] pvid=10
set [find interface=ether3] pvid=20
Step 4: Assign VLANs to Ports
/interface bridge
set bridge1 vlan-filtering=yes
Step 5: Set PVIDs for Access Ports
/ip address
add address=192.168.10.1/24 interface=vlan10
Step 6: Enable VLAN Filtering
/interface bridge
set bridge1 vlan-filtering=yes