Centralised access points deployment and management are very common nowadays. The most common implementation in SoHo is UniFi where we host the controller in VM or Cloud Key. Recently I was working on a project where I needed to deploy a few access points and was looking for centralised deployment and management features for Mikrotik Access Points. Come to know about CAPsMAN. Controlled Access Point system Manager (CAPsMAN) allows applying wireless settings to multiple MikroTik AP devices from a central configuration interface. It was a pretty cool technique with lots of features.
For details please check: https://help.mikrotik.com/docs/pages/viewpage.action?pageId=1409149
The following configurations to configure CAPsMAN and how can we hook the Mikrotik AP with that.
A. Configure CAPsMAN in Router:
First create datapath and security:
/caps-man datapath add bridge=bridge1 local-forwarding=no name=datapath /caps-man security add authentication-types=wpa-psk,wpa2-psk encryption=aes-ccm name=security \ passphrase="RandomPa$$word"
Next create configuration for SSID. I am creating two different SSID. One for 2.4GHz and one for 5GHz
/caps-man configuration add country=australia datapath=datapath datapath.bridge=bridge1 mode=ap name=\ configuration2GHZ security=security ssid="MY WiFi-2" add channel="5Ghz-a/n/ac 5180/20" country=australia datapath=datapath \ datapath.bridge=bridge1 mode=ap name=configuration5GHZ security=security \ ssid="MY WiFi-5"
Create the provisioning profile
/caps-man provisioning add action=create-dynamic-enabled hw-supported-modes=gn master-configuration=\ configuration2GHZ name-format=prefix-identity name-prefix=2.4g add action=create-dynamic-enabled hw-supported-modes=an master-configuration=\ configuration5GHZ name-format=prefix-identity name-prefix=5g