MikroTik CAPsMAN Configuration

CAPsMAN Controller Config

Note: Make sure devices are running same version of Router OS.

/caps-man channel
add band=2ghz-b/g/n frequency=2412 name=CH1
add band=2ghz-b/g/n frequency=2417 name=CH2
add band=2ghz-b/g/n frequency=2422 name=CH3
add band=2ghz-b/g/n frequency=2427 name=CH4
add band=2ghz-b/g/n frequency=2432 name=CH5
add band=2ghz-b/g/n frequency=2437 name=CH6
add band=2ghz-b/g/n frequency=2442 name=CH7
add band=2ghz-b/g/n frequency=2447 name=CH8
add band=2ghz-b/g/n frequency=2452 name=CH9
add band=2ghz-b/g/n frequency=2457 name=CH10
add band=2ghz-b/g/n frequency=2462 name=CH11
add band=2ghz-b/g/n frequency=2467 name=CH12
add band=2ghz-b/g/n frequency=2472 name=CH13
add band=5ghz-a/n/ac frequency=5180 name=CH36
add band=5ghz-a/n/ac frequency=5200 name=CH40
add band=5ghz-a/n/ac frequency=5220 name=CH44
add band=5ghz-a/n/ac frequency=5240 name=CH48
add band=5ghz-a/n/ac frequency=5260 name=CH52
add band=5ghz-a/n/ac frequency=5280 name=CH56
add band=5ghz-a/n/ac frequency=5300 name=CH60
add band=5ghz-a/n/ac frequency=5320 name=CH64
add band=5ghz-a/n/ac frequency=5500 name=CH100
add band=5ghz-a/n/ac frequency=5520 name=CH104
add band=5ghz-a/n/ac frequency=5540 name=CH108
add band=5ghz-a/n/ac frequency=5560 name=CH112
add band=5ghz-a/n/ac frequency=5580 name=CH116
add band=5ghz-a/n/ac frequency=5600 name=CH120
add band=5ghz-a/n/ac frequency=5620 name=CH124
add band=5ghz-a/n/ac frequency=5640 name=CH128
add band=5ghz-a/n/ac frequency=5660 name=CH132
add band=5ghz-a/n/ac frequency=5680 name=CH136
add band=5ghz-a/n/ac frequency=5700 name=CH140
add band=5ghz-a/n/ac frequency=5745 name=CH149
add band=5ghz-a/n/ac frequency=5765 name=CH153
add band=5ghz-a/n/ac frequency=5785 name=CH157
add band=5ghz-a/n/ac frequency=5805 name=CH161
add band=5ghz-a/n/ac frequency=5825 name=CH165

/caps-man datapath
add bridge=bridge client-to-client-forwarding=yes name=wifi-24
add bridge=bridge client-to-client-forwarding=yes name=wifi-5

/caps-man security
add authentication-types=wpa-psk,wpa2-psk encryption=aes-ccm name=wifi passphrase=password

/caps-man configuration
add channel=CH1 channel.band=2ghz-g/n country=australia datapath=wifi-24 datapath.bridge=bridge datapath.client-to-client-forwarding=yes installation=indoor mode=ap multicast-helper=full name=AP1-24 security=wifi ssid=wifiname
add channel=CH36 channel.band=5ghz-n/ac country=australia datapath=wifi-5 datapath.bridge=bridge datapath.client-to-client-forwarding=yes installation=indoor mode=ap multicast-helper=full name=AP1-5 security=wifi ssid=wifiname
add channel=CH3 channel.band=2ghz-g/n country=australia datapath=wifi-24 datapath.bridge=bridge datapath.client-to-client-forwarding=yes installation=indoor mode=ap multicast-helper=full name=AP2-24 security=wifi ssid=wifiname

/caps-man interface
add channel=CH4 channel.frequency=2427 configuration=AP2-24 configuration.country=australia configuration.installation=indoor datapath=wifi-24 disabled=no l2mtu=1600 mac-address=00:00:00:00:00:00 master-interface=none name=2G-Device-1 radio-mac=00:00:00:00:00:00 radio-name=name security=wifi
add channel=CH3 configuration=AP1-24 configuration.country=australia configuration.installation=indoor configuration.multicast-helper=full datapath=wifi-24 disabled=no l2mtu=1600 mac-address=00:00:00:00:00:00 master-interface=none name=2G-Device-1 radio-mac=00:00:00:00:00:00 radio-name=name security=wifi
add channel.frequency=5180 configuration=AP1-5 configuration.country=australia configuration.installation=indoor configuration.multicast-helper=full datapath=wifi-5 disabled=no l2mtu=1600 mac-address=00:00:00:00:00:00 master-interface=none name=5G-Device-1 radio-mac=00:00:00:00:00:00 radio-name=name security=wifi

/caps-man manager
set enabled=yes

/caps-man manager interface
set [ find default=yes ] forbid=yes
add disabled=no interface=bridge

/caps-man provisioning
add action=create-enabled master-configuration=AP1-24 name-format=identity radio-mac=00:00:00:00:00:00
add action=create-enabled master-configuration=AP1-5 name-format=prefix-identity name-prefix=01 radio-mac=00:00:00:00:00:00
add action=create-enabled master-configuration=AP2-24 name-format=prefix-identity name-prefix=RB951 radio-mac=00:00:00:00:00:00

/interface wireless cap
set bridge=bridge caps-man-addresses=127.0.0.1 discovery-interfaces=bridge enabled=yes interfaces=wlan1

/ip firewall filter
add action=accept chain=input comment=CAPsMAN dst-address=127.0.0.1 dst-port=5246,5247 protocol=udp src-address=127.0.0.1
add action=accept chain=input comment=CAPsMAN dst-port=5246,5247 in-interface-list=LAN protocol=udp

CAPsMAN CAP Config (Access Point Device)

/interface wireless cap
set bridge=bridge1 caps-man-addresses=0.0.0.0 discovery-interfaces=bridge1 enabled=yes interfaces=wlan1,wlan2