Is there a way to reboot ALL R710's at once?

  • 2
  • Question
  • Updated 2 months ago
  • Answered
We have approximately 150 R710's deployed. The complex I work at has some power related issues. When this happens AP's come back up and can be communicated with via the webconsole but clients cannot get out to the internet. Typically I just reboot the AP that I see the client connected to and off we go.

What I would like to be able to do, instead of spending most of the day randomly rebooting AP's is just reset all of them at once when I see that we've had a power outage or interruption without having to click 150 blue arrows.

Is there a plan to have this ability implemented or another method to do this that anyone is aware of?
Photo of Daniel Saldana

Daniel Saldana

  • 7 Posts
  • 0 Reply Likes

Posted 4 years ago

  • 2
Photo of Sean

Sean

  • 349 Posts
  • 94 Reply Likes
You can accomplish this by using the remote ap cli commands.

If you are using a ZD the cli command from within the debug menu is as follows:
rksap_cli -A "reboot now"
Photo of Daniel Saldana

Daniel Saldana

  • 7 Posts
  • 0 Reply Likes
I appear to have misclicked the products. I'm using a Smartzone 100, not a ZoneDIrector, and on the debug menu there doesn't seem to be a rksap_cli command to run. Thanks for the attempt, sorry for the confusion.
Photo of Sean

Sean

  • 349 Posts
  • 94 Reply Likes
providing all the AP's are in the same Zone you can accomplish this using a KSP script:
fw_version=3.1.1.0.474
model=all

reboot now
Just save the above script to a file with a file extension of .ksp

Then go to the Administration >> Diagnostics >> AP CLI Script:


Other than that you can extract all the MAC addresses to a csv file and then add the following line to a column infront of the MAC address and then copy, paste, right click in the CLI of the SZ:
Welcome to the Ruckus SmartCell Gateway 200 Command Line Interface
Version: 3.1.1.0.474

SZ> en

Password: *************

SZ# remote ap-cli

<mac>     AP MAC address
(Edited)
Photo of Max O'Driscoll

Max O'Driscoll, AlphaDog

  • 349 Posts
  • 95 Reply Likes
Photo of Daniel Saldana

Daniel Saldana

  • 7 Posts
  • 0 Reply Likes
I can't see a way to edit the original post but the command that this script is calling doesn't seem to exist on the SmartZone 100 controller's cli that I am using. Sorry for the confusion.
Photo of Dionis

Dionis, AlphaDog

  • 80 Posts
  • 48 Reply Likes

Copy this into a notepad.  Save it as .sh extension.  then, upload it under the administration, diagnostic as shown above by Daniel.


#AP CLI script Example

#define Zone's AP FW version
fw_version=3.2.1.0.642

#define Model class, only all is supported now.
model=all

#CLI commands
reboot now

Then execute it.  You don't have zone, so in your case, it will apply to all APs in the SZ-100.

Hope it helps.

  Oh, and make sure the version of software is correct.
(Edited)
Photo of The Do

The Do

  • 10 Posts
  • 0 Reply Likes
Hello gentlemen. Sorry for digging this again. The script posted above was working fine. However I would like to schedule running it weekly. This feature wasn't supported in below 5.0 smartzone firmware.Then I upgraded my SZ100 to version 5.1. Unfortunately, this version support schedule script but doesn't allow command "reboot". Is there any other command to reboot access point on 5.x ap firmware?
(Edited)
Photo of EightOhTwoEleven

EightOhTwoEleven

  • 159 Posts
  • 38 Reply Likes
It does work to schedule it. You don't get the checkbox but it does work, we use it every morning to reboot our APs until the patch comes out.
Photo of The Do

The Do

  • 10 Posts
  • 0 Reply Likes
Thanks for your all response. Could you tell me which version you are using? Because in my case, when I try uploading a script contain reboot command, SZ prevented me immediately. A pop up comes up and say that I cannot upload that script. 
Photo of EightOhTwoEleven

EightOhTwoEleven

  • 159 Posts
  • 38 Reply Likes
5.2.0.0.699. Create a new txt file, only put the word reboot in it, no more commands. Will that upload?
Photo of The Do

The Do

  • 10 Posts
  • 0 Reply Likes
I'm using 5.1.0.0.496, so that could be the reason I cannot upload my script. 
Photo of EightOhTwoEleven

EightOhTwoEleven

  • 159 Posts
  • 38 Reply Likes
It must be, thought I could do it in that version, but I believe it works in 5.1.2