Needed Ports 1,4,5 to be Trunks
ether2 VLAN 20
ether3 VLAN 234
Am I even close here?
Code: Select all
# model = RB960PGS-PB
/interface bridge
add name=bridge
/interface ethernet switch port
set 0 default-vlan-id=1 vlan-mode=secure
set 1 default-vlan-id=20 vlan-mode=secure
set 2 default-vlan-id=234 vlan-mode=secure
set 3 default-vlan-id=1 vlan-mode=secure
set 4 default-vlan-id=1 vlan-mode=secure
set 5 default-vlan-id=1 vlan-mode=secure
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip hotspot profile
set [ find default=yes ] html-directory=hotspot
/interface bridge port
add bridge=bridge interface=ether1
add bridge=bridge interface=ether2
add bridge=bridge interface=ether3
add bridge=bridge interface=ether4
add bridge=bridge interface=ether5
add bridge=bridge disabled=yes interface=sfp1
/interface ethernet switch vlan
add independent-learning=no ports=\
ether1,ether2,ether3,ether4,ether5,switch1-cpu switch=switch1 vlan-id=1
add independent-learning=no ports=\
ether1,ether2,ether3,ether4,ether5,switch1-cpu switch=switch1 vlan-id=20
add independent-learning=no ports=\
ether1,ether2,ether3,ether4,ether5,switch1-cpu switch=switch1 vlan-id=234
/ip dhcp-client
add interface=bridge
/system clock
set time-zone-name=America/New_York
/system note
set show-at-login=no
/tool romon
set enabled=yes