cancel
Showing results for 
Search instead for 
Did you mean: 

How to set static IPs instead of DHCP on APs using script on SmartZone

bart_p_izj2rmjl
New Contributor III
Hi, I have SmartZone with 490 APs, I need to set static IP addresses, at the moment APs are operating via IP from DHCP. Is there any possibility to configure each AP via SZ's cli, like I did in ZD's case?

I need a script example, please advise
12 REPLIES 12

bart_p_izj2rmjl
New Contributor III
5.2.1.0.515 fw

syamantakomer
Moderator
Moderator
Hi Bart,

You can use vSZ remote AP CLI command to update the AP IP (similar to ZD remote AP CLI).

Here is the example.

login as: admin
################################
#       Welcome to vSZ         #
################################
admin@xx.xx.xx.xx's password:
Please wait. CLI initializing...
 
Welcome to the Ruckus Virtual SmartZone - Essentials Command Line Interface
Version: 5.2.1.0.xxx
 
vSZ> en
Password: ***************
 
vSZ#
vSZ#
vSZ# remote ap-cli
       AP MAC address
 
vSZ# remote ap-cli 2c:c5:d3:09:ab:c0 "set ipaddr wan xxx.xxx.xxx.xxx yyy.yyy.yyy.yyy zzz.zzz.zzz.zzz"

In the above, x=AP IP, y=subnet, z gateway.


Regards,
Syamantak Omer
Regards,
Syamantak Omer
Official Rep | Staff TSE | CWNA | CCNA | RASZA | RICXI

bart_p_izj2rmjl
New Contributor III
Hi Syamantak,

Many thanks for your answer! 

Do you know how to change internal IP instead of external?


Is it related to this:

set ipmode : set ipmode {wan|lan|video|mgmt} {ipv4|ipv6|dual}
                ipv6-only cannot be set when hotspot or router mode is enabled -- Modify IP Mode
set ipaddr : set ipaddr {wan|video|mgmt} [vlan ] {options}
                 -> "static IP case"
                 -> dynamic                      "DHCP case     "
                 -- Modify IP address
set dvlan  : set dvlan {enable|disable}
                 -- Modify AP WLAN's dynamic VLAN mode