script to turn off either 2.4 or 5Ghz?

  • 1
  • Question
  • Updated 1 month ago
I need to calibrate our network for spot, but in order to do so we need to disable each band while testing the other.
We are running on a vSZ and the only option I can see is to go in on each AP and disable WLAN under the specific radio.
I have tried to see if I could find a command on the ap to do it but just cant seem to find something that can help me. Anyone got any ideas on how to turn of one radio for alot of ap's at once?
Photo of Rasmus Thorslund

Rasmus Thorslund

  • 4 Posts
  • 0 Reply Likes

Posted 1 month ago

  • 1
Photo of Paul Van der Cruyssen

Paul Van der Cruyssen

  • 12 Posts
  • 2 Reply Likes
Create an AP group, put all the AP's in that group, and change the setting in the AP group, that should do the job I think
Photo of Paul Van der Cruyssen

Paul Van der Cruyssen

  • 12 Posts
  • 2 Reply Likes
if you select Override and only enable 2,4, is 5 still working then? (also if you select Override for the 5GHz, but not enable it?)
Photo of Rasmus Thorslund

Rasmus Thorslund

  • 4 Posts
  • 0 Reply Likes
Doesnt work. If i override and deselct all channel on one radio it just complains that minimum one channel have to be selected. And there isnt a dsiabling of WLAN for the entire radio on the ap group level, only directly on the ap.
Photo of Paul Van der Cruyssen

Paul Van der Cruyssen

  • 12 Posts
  • 2 Reply Likes
ok, good to know, never did test this, thanks
Photo of Rasmus Thorslund

Rasmus Thorslund

  • 4 Posts
  • 0 Reply Likes
Yeah, obviously its not something one would need everyday, but its good to know when you have to turn of the radio X number of access point for calibration :P Luckily the network we are testing on is not that big, but for some of our clients it is gonna be hell, turning for the radio manually on each AP times 100-150....
Photo of Abilash P R

Abilash P R, Employee

  • 51 Posts
  • 12 Reply Likes
Hi Rasmus,

Below is the command to disable WLAN on the AP.

set state <wlan name> {up|down}

Example:

rkscli: set state wlan0 up
OK

To disable WLANs from ZD's CLI on all APs below command  can be used.

ruckus(debug)#remote_ap_cli –A set state <wlan name> down.

To disable WLANS from vSZ's CLI, below command can be used.

remote ap-cli <AP-MAC Address> "AP CLI Command"

Example:

vSZE35GARNAMEST# remote ap-cli 8C:0C:90:26:0E:E0 "set state wlan0 up"
OK

The same can also be achieved using AP-CLI Script.

fw_version=3.5.1.0.419
model=all
set state wlan0 up

Please change the AP firmware version according to your setup and upload it under,
Diagnostics>>Scripts>>AP-CLI Script and execute it.

So you can create individual script to disable 2.Ghz wlans (wlan0-26) and 5Ghz (wlan32-58), then you can run any one at once on your AP Zone and calibrate Spot.

The below method can be used on the vSZ/SZ set-up.

Please create a WLAN Group without selecting any WLANs in it and assign it to AP-Group or particular AP, now on these radios the SSIDS should not show up.







In case of ZD there is an option to enable and disable WLAN Services in the AP Group, but the same is not available in vSZ/SZ AP Group settings.




The above are the available options to disable WLANs in ZD/vSZ/SZ. I hope this would be helpful.

Regards,
Abilash PR.
(Edited)