Hard Reset all APs

  • 1
  • Question
  • Updated 2 years ago
  • Answered
Hi, is there a way I can hard reset or factory default all AP s from the ZD with one click ?
Photo of Mostafa Elbalouhi

Mostafa Elbalouhi

  • 1 Post
  • 0 Reply Likes

Posted 2 years ago

  • 1
Photo of John D

John D, AlphaDog

  • 497 Posts
  • 137 Reply Likes
You might be able to do a remote_ap_cli -A "factory", where "factory" I believe is the command to factory reset the AP. I've never tried it myself... I've only used this method to reboot all my AP's.

Of course, be careful if you have mesh AP's, because mesh AP's won't auto-provision themselves after a factory reset without being wired in.
Photo of Michael Brado

Michael Brado, Official Rep

  • 2167 Posts
  • 299 Reply Likes
Yes, you can issue a command from the ZoneDirector CLI, that will tell all connected APs to do a factory default.

Warning: Be sure this is what you want to do!

1.  SSH to your ZoneDirector, and login with admin credentials.

2.  Type 'enable', Enter, to get from > to # prompt.

3.  Type 'debug', Enter, to get into Debug mode.

4.  Type:       remote_ap_cli  -A  "set factory"

< you will see all APs respond >



5. Type 'quit' to exit Debug mode, and 'quit' to exit SSH session.



Photo of Sean

Sean

  • 346 Posts
  • 88 Reply Likes
pay attention to the output once you run the command as you may see that certain AP's fail when issuing the remote AP commands.

to rectify any AP's that did not take the command just replace the -A with -a:
rksap_cli -a <mac address> "set factory"
Note: it is advisable that you enable the DHCP server on the ZD before issuing the "set factory" command or all AP's will be on the default IP address
(Edited)