cancel
Showing results for 
Search instead for 
Did you mean: 

ZD - Run CLI commands from the controller to multiple APs at the same time.

Orlando_Elias
RUCKUS Team Member

Maximize efficiency by running CLI commands on multiple APs simultaneously. RUCKUS ZD's 'remote_ap_cli' command in debug mode empowers you to take command effortlessly:

1. Access debug mode:

ruckus> ena
ruckus# debug
You have all rights in this mode.
ruckus(debug)# remote_ap_cli

usage: remote_ap_cli [-q] {-a ap_mac | -A } "cmd arg1 arg2 .."
excute AP CLI command in remote AP
-A ; all connected AP's
-q ; do not show result
cmd ; Ruckus CLI, e.g. "get station wlan0 list"
remote_ap_cli
ruckus(debug)#

For instance, retrieve uptime for all APs:

ruckus(debug)# remote_ap_cli -A "get uptime"

2. Enclose the standard AP CLI command you would typically use directly on the AP's CLI within double quotes. For instance, in this case, use 'get uptime'.

Here is an example from the Command Reference:

ruckus(debug)# remote_ap_cli -A "get director"
---- Command 'rkscli -c "get director "' executed at c0:c5:20:3b:91:f0
------ ZoneDirector Info ------
Primary Controller   : n/a
Secondary Controller : n/a
DHCP Opt43 Code      : 3

The information of the most recent Zone Director:
  [1] 192.168.40.100

  AP is under management of ZoneDirector: 192.168.40.100 / c0:c5:20:18:97:c1,
  Currently AP is in state: RUN
OK
---- Command 'rkscli -c "get director "' executed at c4:10:8a:1f:d1:f0
------ ZoneDirector Info ------
Primary Controller   : n/a
Secondary Controller : n/a
DHCP Opt43 Code      : 3

The information of the most recent Zone Director:
  [1] 192.168.40.100

  AP is under management of ZoneDirector: 192.168.40.100 / c0:c5:20:18:97:c1,
  Currently AP is in state: RUN
OK
---- Command Execution Summary:
         success: 2
         failure: 0
           total: 2
ruckus(debug)#

 

With regards,
--
Orlando Elias
Technical Support
0 REPLIES 0