How to make ap router mode with cli?

  • 1
  • Question
  • Updated 6 days ago
  • Answered
  • (Edited)
Hi.

We want to make ap router mode using only cli.

We configured everything setting, but don't found how to configure local-subnet at wlanX.

How does it configure?

We have completed making localsubnet and ssid.
(ex. set subnet local-subnet1 enable ipaddr 192.168.100.1 mask 255.255.255.0 untag 100
set subnet local-subnet1 dhcps enable starting-ipaddr 192.168.100.11 user-number 240)

Only We don't find just configuration.

I tried "set interface wlan0 forward local-subnet type access untag 100 vlans 100".

But it faild.




Plz let me know.
Photo of Jeronimo

Jeronimo

  • 327 Posts
  • 38 Reply Likes

Posted 3 years ago

  • 1
Photo of Michael Brado

Michael Brado, Official Rep

  • 2923 Posts
  • 407 Reply Likes
Hi Jeronimo,

   Ruckus Product Line Management has "generally" not supported ZD/SZ or AP CLI

and would attempt to incorporate any CLI-only available settings into WebUI.  If you

have a strong business case need to configure Solo AP mode APs via CLI and can't

configure these settings, please contact your Ruckus SE or our Tech Support team to

ask for a Field Request (FR) so the PLMs can consider it?  This may be a reasonable

request.  Thanks and best regards.
Photo of Stephen Hall

Stephen Hall

  • 33 Posts
  • 2 Reply Likes
same issue here.  we have figured out every part except this one option (how to set wlanX to use "local Subnet X")  .   and just like OP we had to reverse engineer all of this as ruckus offers no documentation on the cli/ssh.

Can you all answer if this is even possible?  (or will we need to use webgui for ~ 300 aps , just to set this one single option).
tks
Photo of Jeronimo

Jeronimo

  • 326 Posts
  • 37 Reply Likes
Hi Stephen.

I had finally figured out a command you want and already applied it in site long ago.

That's it.
-> set rpmkey ifs/wlan0/subnet-idx 1

I have attached whole commands below to refer.

----------------------whole command---------------------
<create local subnet(for dhcp) and scope>
set subnet local-subnet1 enable ipaddr 192.168.40.1 mask 255.255.255.0 untag 40
set subnet local-subnet1 dhcps enable starting-ipaddr 192.168.40.11 user-number 200
set dhcps leasetime 3600

<applying a subnet to wlanX>
set interface wlan0 forward local-subnet type access untag 40 vlans 40

<this is a core>
set rpmkey ifs/wlan0/subnet-idx 1

-> idx numbers are from 1 to 4.
-> that is , local-subnet 1 is 1 and local-subnet 3 is 3.
-> wlanX is number of wlan(ex. wlan0 ~ wlan7 are for 2.4Ghz and wlan8 ~ wlan15 are for 5Ghz.

If this reply has problem for a security, forum admin can delete.

Bye.
(Edited)