Community discussions

MikroTik App
 
solarium14
newbie
Topic Author
Posts: 38
Joined: Wed Sep 08, 2021 10:17 am

Disable/enable SSIDs from CAPsMAN (with local forwarding mode)

Thu Oct 21, 2021 10:46 pm

I would like to be able to enabled and disable SSIDs that are provisioned by the CAPsMAN like this:
/caps-man interface disable \
 [/caps-man actual-interface-configuration find \
  mac-address="2C:C8:1A:42:2A:2B" configuration.ssid="myssid"]
However, I am getting this error message: "failure: interface managed by CAPsMAN". I am using the local forward mode. I also tried /caps-man interface.
 
solarium14
newbie
Topic Author
Posts: 38
Joined: Wed Sep 08, 2021 10:17 am

Re: Disable/enable SSIDs from CAPsMAN (with local forwarding mode)

Fri Oct 22, 2021 12:31 pm

I found a solution:

Disable with:
/caps-man interface remove \
 [/caps-man actual-interface-configuration find \
  mac-address="2C:C8:1A:42:2A:2B" configuration.ssid="myssid"]
Re-enable with:
/caps-man remote-cap provision [/caps-man remote-cap find base-mac="2C:C8:1A:42:2A:2B"]
Though this re-enables all interfaces on that CAP. In my case that is OK because I only want to switch one particular SSID.
 
holvoetn
Forum Guru
Forum Guru
Posts: 5321
Joined: Tue Apr 13, 2021 2:14 am
Location: Belgium

Re: Disable/enable SSIDs from CAPsMAN (with local forwarding mode)

Fri Oct 22, 2021 1:08 pm

Interface configuration can indeed not be enabled/disabled.
Provisioning rule however can be.
If you can make a separate provisioning rule for that specific need, it should be possible to toggle its status.

I am not a fan of deleting but that's me.
A disabled rule tells you a lot more then something which is not there anymore.
 
solarium14
newbie
Topic Author
Posts: 38
Joined: Wed Sep 08, 2021 10:17 am

Re: Disable/enable SSIDs from CAPsMAN (with local forwarding mode)

Fri Oct 22, 2021 6:00 pm

Provisioning rule however can be.
If you can make a separate provisioning rule for that specific need, it should be possible to toggle its status.
Good to know. But would that mean that I would have to make like 40 provisioning rules (5 Ghz and 2.4 Ghz for each of the 10 hotspots and for each of the two SSIDs)?
Currently, I only have two rules!

Also, wouldn't this turn off all SSIDs since multilple SSIDs are implemented using slave configurations. Or can I define multiple master provisioning rules to get multiple SSIDs on a each AP.
 
solarium14
newbie
Topic Author
Posts: 38
Joined: Wed Sep 08, 2021 10:17 am

Re: Disable/enable SSIDs from CAPsMAN (with local forwarding mode)

Thu Oct 28, 2021 8:10 pm

A major downside of disabling/enabling an SSID via interface deletion and re-provisioning is that re-provisioning briefly takes out all SSIDs. I may instead enabling/disabling switch rules.

One also needs to keep in mind that only slave configs can be deleted without deleting everything.
 
gotsprings
Forum Guru
Forum Guru
Posts: 2087
Joined: Mon May 14, 2012 9:30 pm

Re: Disable/enable SSIDs from CAPsMAN (with local forwarding mode)

Fri Oct 29, 2021 12:40 am

If you wanna turn off an SSID... call for the SSID.
 
solarium14
newbie
Topic Author
Posts: 38
Joined: Wed Sep 08, 2021 10:17 am

Re: Disable/enable SSIDs from CAPsMAN (with local forwarding mode)

Fri Oct 29, 2021 12:42 am

If you wanna turn off an SSID... call for the SSID.
I get an error that it is managed by CAPsMAN.
 
gotsprings
Forum Guru
Forum Guru
Posts: 2087
Joined: Mon May 14, 2012 9:30 pm

Re: Disable/enable SSIDs from CAPsMAN (with local forwarding mode)

Fri Oct 29, 2021 7:20 am

To keep it easy... Name the interface with the SSID.

Then use the find function with a ~. This will find BillsLVR and BillsMBR. ~"Bill" will apply to all interfaces with the word Bill in it.

Then disable find ~"Bill" in interfaces.

That would shut down the virtual APs that have that name in them.
 
solarium14
newbie
Topic Author
Posts: 38
Joined: Wed Sep 08, 2021 10:17 am

Re: Disable/enable SSIDs from CAPsMAN (with local forwarding mode)

Fri Oct 29, 2021 9:08 am

In which menu would I then disable one particular slave SSID?

It seems I might get more control by using static instead of dynamic interfaces in CAPsMAN, but then I would have to do my own naming scheme.
 
holvoetn
Forum Guru
Forum Guru
Posts: 5321
Joined: Tue Apr 13, 2021 2:14 am
Location: Belgium

Re: Disable/enable SSIDs from CAPsMAN (with local forwarding mode)

Fri Oct 29, 2021 9:13 am

Either you manage through capsman, only one place to be but then you can not manage anything locally.
Or you manage everything yourself but then it needs to be done on each device separately.

If you only have a limited number of APs, you could go for the second option.
I read somewhere the rule of thumb (not set in stone) is 3 to 5. Below, don't bother using capsman (unless for educational and WBIC-reasons :lol: )



*WBIC: Why ? Because I Can !
 
solarium14
newbie
Topic Author
Posts: 38
Joined: Wed Sep 08, 2021 10:17 am

Re: Disable/enable SSIDs from CAPsMAN (with local forwarding mode)

Fri Oct 29, 2021 10:40 am

For me N = 15, so CAPsMAN seems well worth it. And CAPsMAN appears to allow for either static or dynamic provisions. The static ones can then be reconfigured on each devices separately after they have been provisioned as they are actually stored on the CAP devices, whereas the dynamic ones only exist when connected to the CAPsMAN; but one does not get automatic naming with static provisioning, I think (actually not sure about that, but it was mentioned in some forum thread).

Who is online

Users browsing this forum: No registered users and 26 guests