Community discussions

MikroTik App
 
SumTingWong
just joined
Topic Author
Posts: 14
Joined: Fri Aug 19, 2016 7:16 am

CAPsMAN optimisation

Thu Aug 16, 2018 11:36 am

Hello, trying to optimise CAPsMAN.

Currently running CAPsMAN on RB750Gr3 to manage;
Image

There is one more hAP AC lite, 4 cAP ACs and 6 wAPs to be added to network.

Currently CAPsMAN looks like this;
Image

It works but it is getting hard but unruly.

I need to add a number of additional SSIDs (hopefully with seperate vlans) I am sure that adding each SSID as a slave to each radio on each AP is not the sensible way to do things.

Fairly familiar with the CLI and winbox and would just like a hint on best practices.

Thanks.
 
nescafe2002
Forum Veteran
Forum Veteran
Posts: 915
Joined: Tue Aug 11, 2015 12:46 pm
Location: Netherlands

Re: CAPsMAN optimisation

Thu Aug 16, 2018 11:53 am

You should never have to create a CAPsMAN interface manually. Have you checked out the provisioning module? Here you can specify slave configurations.

https://wiki.mikrotik.com/wiki/Manual:C ... ovisioning
[admin@CM] /caps-man provisioning> print
Flags: X - disabled 
 0   radio-mac=00:00:00:00:00:00 action=create-enabled master-configuration=main-cfg 
     slave-configurations=virtual-ap-cfg name-prefix=""
 
SumTingWong
just joined
Topic Author
Posts: 14
Joined: Fri Aug 19, 2016 7:16 am

Re: CAPsMAN optimisation

Thu Aug 16, 2018 12:15 pm

 0   radio-mac=00:00:00:00:00:00 hw-supported-modes=ac identity-regexp="GP-AP-1.3" common-name-regexp="" ip-address-ranges=192.168.200.200-192.168.200.222 action=create-enabled 
     master-configuration=master-1-5Ghz slave-configurations="" name-format=identity name-prefix="" 

 1   radio-mac=00:00:00:00:00:00 hw-supported-modes=g,gn identity-regexp="GP-AP-1.3" common-name-regexp="" ip-address-ranges="" action=create-dynamic-enabled master-configuration=master-1-2GHz 
     slave-configurations="" name-format=cap name-prefix="" 
Thanks.
Have you checked out the provisioning module? Here you can specify slave configurations.
So I can just add additional SSIDs separated by ; in
slave-configurations
? Will try now. Thanks.

This CAPsMAN probably looks like total mess to you pros.
 
nescafe2002
Forum Veteran
Forum Veteran
Posts: 915
Joined: Tue Aug 11, 2015 12:46 pm
Location: Netherlands

Re: CAPsMAN optimisation

Thu Aug 16, 2018 1:21 pm

No a pro but enthusiast :)

Your provisioning rules look fine (not sure about ip ranges).

You may need to delete your interfaces and re-provision via remote cap for the changes to take effect.
 
SumTingWong
just joined
Topic Author
Posts: 14
Joined: Fri Aug 19, 2016 7:16 am

Re: CAPsMAN optimisation

Thu Aug 16, 2018 1:35 pm

You may need to delete your interfaces
If I delete the interfaces, will they automatically repopulate?

Have spent the last hour trying to edit the
slave-configurations=""
via the terminal.

Thanks.
 
nescafe2002
Forum Veteran
Forum Veteran
Posts: 915
Joined: Tue Aug 11, 2015 12:46 pm
Location: Netherlands

Re: CAPsMAN optimisation

Thu Aug 16, 2018 1:39 pm

[admin@MikroTik] /caps-man provisioning> set 0 slave-configurations=cfg2,cfg3,cfg4

Why don't you use WinBox if you struggle with CLI?

Interface will not re-appear after delete. You have to re-provision them via remote cap. Or reboot the device I guess..
 
SumTingWong
just joined
Topic Author
Posts: 14
Joined: Fri Aug 19, 2016 7:16 am

Re: CAPsMAN optimisation

Thu Aug 16, 2018 1:44 pm

Why don't you use WinBox
Thanks, I will.

Just a little concerned that if I delete the interfaces, they won't automatically repopulate. When originally setting CAPsMAN I manually entered the "CAP Interface" data.

OR dod you mean delete the "Interface" tab of the "Interface List"?
 
nescafe2002
Forum Veteran
Forum Veteran
Posts: 915
Joined: Tue Aug 11, 2015 12:46 pm
Location: Netherlands

Re: CAPsMAN optimisation

Thu Aug 16, 2018 2:00 pm

Just create an export of your configuration, delete a single intreface and click 'Provision' when the device is selected in the Remote CAP.

If the device is ac and within 192.168.200-200-192.168.200.222, and the identity of the device is GP-AP-1.3, a new static interface will be created with configuration master-1-5Ghz.
If the device is g/gn and has identity GP-AP-1.3, a dynamic interface will be created with same master configuration.
If the device has a different identity, nothing will happen.

(You may want to reconsider the "identity regexp" condition in your rule)

This is how provision works. You may want to test on a single device by removing and re-provisioning, alter the provision rule, delete & re-provision, et cetera. All of this is explained in the Wiki page mentioned earlier:

https://wiki.mikrotik.com/wiki/Manual:C ... ovisioning

If nothing works, use your previously exported configuration to restore manually created interfaces.
 
SumTingWong
just joined
Topic Author
Posts: 14
Joined: Fri Aug 19, 2016 7:16 am

Re: CAPsMAN optimisation

Thu Aug 16, 2018 2:28 pm

Thank you very much for your clear and patient responses.
 
SumTingWong
just joined
Topic Author
Posts: 14
Joined: Fri Aug 19, 2016 7:16 am

Re: CAPsMAN optimisation

Thu Aug 16, 2018 3:03 pm

Image

Looks much more ordered. Less human readable. This is 4 of the 14 APs.

Is there a way to present/sort this information more clearly?
 
nescafe2002
Forum Veteran
Forum Veteran
Posts: 915
Joined: Tue Aug 11, 2015 12:46 pm
Location: Netherlands

Re: CAPsMAN optimisation

Thu Aug 16, 2018 3:27 pm

You may want to try out the name/name prefix in the provision rule.

E.g.
hw-supported-modes=g,gn name-format=prefix-identity name-prefix="2GHz" 
hw-supported-modes=ac name-format=prefix-identity name-prefix="5Ghz"