Cisco: sh DHCP lease alternative in Ruckus

  • 1
  • Question
  • Updated 1 year ago
  • Answered
Hey guys, I am trying to find the DHCP lease of a particualr AP via CLI. In cisco the command is sh DHCP lease. Any idea what's the equivalent command on Ruckus?
Photo of Praveen_v

Praveen_v

  • 2 Posts
  • 0 Reply Likes

Posted 1 year ago

  • 1
Photo of Demetris Demetriou

Demetris Demetriou

  • 14 Posts
  • 3 Reply Likes
where are you connected? i suppose you are connected to a zonedirector. this can be done if you press
enable (enter) -> show ap mac (where mac is the mac address of the specific ap) or "show ap all"to see all aps
Photo of Michael Brado

Michael Brado, Official Rep

  • 2167 Posts
  • 299 Reply Likes
Is the AP using ZoneDirector's DHCP?

Under ZD's Configure/System, DHCP Server, if it's enabled there will be a line at the bottom of the section
that reads "To view all IP addresses that have been assigned by the DHCP server, click here" to produce a
table of current leased IPs and MAC addresses, and I believe Lease time remaining. 

Note: Reset/clear DHCP on a ZD by disabling and re-enabling the DHCP service.

From a ZD's CLI and enable mode, 'show dhcp all' will display the same table details.

AP's CLI has 'get ipaddr wan' to show IP address (static or dynamic), netmask, def-gw, but not lease remaining.

From my old Cisco days, I think some switch/routers used "show ip dhcp binding"...?
(Edited)
Photo of Praveen_v

Praveen_v

  • 2 Posts
  • 0 Reply Likes
The AP is getting it's IP from a stand alone DHCP and not the ZD DHCP. We want to see the IP being leased to the AP. I believe through the ZD CLI we can access the remote AP using command remote_ap_cli -a ap_mac . However after accessing the AP we need to know the Command to view the DHCP leased to the AP. I have attached a screenshot taken of a CiSco device..
Photo of Sean

Sean

  • 346 Posts
  • 88 Reply Likes
rksap_cli -a <mac-address> "get ipaddr wan"

Although you could just as easy log on to the controller and look up the MAC address via the monitor AP tab, and filter by its MAC to see the IP.
(Edited)