Debugging

Q: RUCKUS Support asked me to turn on debug logging and re-create my problem for diagnosis. How do I enable the logs, and how do I know which logs must be enabled?

A: Select Tools > Diagnostics > Debug Info to enable debug logs on the web interface.

Selecting Debug Components to Include in Debug Logs

If you are not sure which logs to enable, the recommendation is to enable all of them except for the Web Pages component, which generates many log messages. Unless you are analyzing a web interface issue, do not select the Web Pages component.

Note: Generating debug log messages impacts AP performance. Remember to disable debug logs after the logs have been collected.

Q: How do I save debug information?

A: From the web interface, select Tools > Diagnostics, then click Save Debug Info. Save the package to your local computer and send it to RUCKUS Customer Support.

Saving Debug Information

Q: After SSH into my Master AP, I noticed a different CLI prompt which is not the RUCKUS AP CLI. It doesn't take any AP CLI commands either. What's wrong?

A: The Master AP provides a Master-style CLI, closer to the ZoneDirector controller CLI. You can use the ap-mode command to enter AP CLI mode, and enter quit to exit back to Master CLI mode.

Using the ap mode Command

Q: I suspect that my Master AP may mysteriously crash or reboot at times but I do not have anything to provide for RUCKUS Support for analysis. What can I do?

A: You can help to collect the debugging information if you know that an AP in the Master role may potentially experience a mysterious crash or reboot. Enable the log reporting mechanism in advance, and, if the AP indeed experiences a problem, it may be able to send its log files out to a preconfigured server before it reboots.

To enable this debug logging feature, select Tools > Diagnostics > Upload Debug Logs and select the Enable upload debug logs to remote server checkbox. Select the protocol as TFTP or FTP, enter the host IP address, and click Apply to save your changes.

Uploading Debug Logs

Once you have the logs, you can report the issue following the reporting method described at the beginning of this guide.

Q: One of my member APs has crashed or rebooted. RUCKUS Support asked for the support information of the AP for analysis. How do I collect this information?

A: There are two ways to retrieve the support information for an AP:

  • Save the AP support information from the web interface: Select Wi-Fi > Access Points > AP List and click on an AP. In the Overview page, select More Actions > Download Logs and click Show AP Info to save the information to your administrative PC.

    Saving AP Logs

  • Through the AP CLI: Use SSH to connect to the AP, log in to the AP CLI, and run the following commands before saving the output to a file:
    • support
    • support show

Q: How do I capture packets on an Unleashed AP?

A: Unleashed APs support remote packet capture using the same methods as a ZoneDirector controller.

You can SSH to the Unleashed AP, and run the following CLI command to enable remote packet capture:

set capture wlan100 stream

Using the set capture wlan100 stream Command

And replace "stream" with idle" to stop streaming:

set capture wlan100 idle

Note: The above command works in a Member AP. On a Master AP running 200.3 or later image, you need to go to the AP CLI mode in SSH session using the ap-mode CLI command:

Using the set capture wlan100 idle Command

If the Master AP is running 200.2 or earlier, you can enter the CLI debug mode and use the following remote_ap_cli command with the Master AP's MAC address:

Using the remote_ap_cli Command to Execute a Command on a Remote AP

You may also need to use the following AP CLI command to learn the AP's IP address:

get ipaddr wan

Start Wireshark on a PC, type the AP's IP address to capture the packets:

Configuring Remote Interface in Wireshark User Interface