Code: Select all
/interface bridge
add admin-mac=48:A9:8A:xx:xx:xx auto-mac=no comment=defconf name=bridge
/interface list
add comment=defconf name=WAN
add comment=defconf name=LAN
/interface wifi datapath
add bridge=bridge disabled=no name=capdp
/interface wifi
# managed by CAPsMAN
# mode: AP, SSID: yyyy, channel: 5500/ax/Ceee
set [ find default-name=wifi1 ] configuration.manager=capsman datapath=capdp disabled=no
# managed by CAPsMAN
# mode: AP, SSID: yyyy, channel: 2412/ax
set [ find default-name=wifi2 ] configuration.manager=capsman datapath=capdp disabled=no
/interface bridge port
add bridge=bridge interface=ether2 pvid=100
add bridge=bridge interface=wifi1
add bridge=bridge interface=wifi2
add bridge=bridge interface=ether1
/interface bridge vlan
add bridge=bridge tagged=ether1 untagged=ether2 vlan-ids=100
/interface list member
add comment=defconf interface=bridge list=LAN
add comment=defconf interface=ether1 list=WAN
/interface wifi cap
set caps-man-addresses=192.168.10.1 enabled=yes
Code: Select all
/interface/bridge/port:
add bridge=bridge comment="AP3" ingress-filtering=no interface=ether20 internal-path-cost=10 path-cost=10 pvid=10
/interface/bridge/vlan:
add bridge=bridge comment="Trusted VLAN" tagged=ether3,ether4,ether5,ether24,sfp-sfpplus1,bridge,ether23,ether20 untagged=ether6,sfp-sfpplus2,sfp-sfpplus4,sfp-sfpplus3 vlan-ids=100
add bridge=bridge comment="Management VLAN" tagged=bridge,sfp-sfpplus1,ether22 untagged=ether1,ether8,ether24,ether2,ether3,ether4,ether5 vlan-ids=10