Ruckus Wireless Zoneflex Access Point Command Line Interface Reference Guide
Ruckus Wireless Zoneflex Access Point Command Line Interface Reference Guide
Reference Guide
www.ruckuswireless.com
Contents
2 Debugging Commands
Debug Group Commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10
4 System Commands
System Group Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .23
5 Radio Commands
Radio Group Commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .45
6 Miscellaneous Commands
Misc Group Commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .75
i
ACL Group Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .76
Traffic Shaping Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .77
VLAN Group Commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .78
Index
ii
About This Guide
This Ruckus Wireless ZoneFlex Access Point Command Line Interface Reference
Guide contains the syntax and commands for configuring and managing ZoneFlex
Access Points from a command line interface.
This guide is written for service operators and system administrators who are respon-
sible for managing, configuring, and troubleshooting Ruckus Wireless devices.
Consequently, it assumes a basic working knowledge of local area networks, wireless
networking, and wireless devices.
NOTE: If a release note is shipped with your Ruckus Wireless product and the
information there differs from the information in this guide, follow the instructions in
the release note.
Most user guides and release notes are available in Adobe Acrobat Reader Portable
Document Format (PDF) or HTML on the Ruckus Wireless Support Web site at:
http://support.ruckuswireless.com/
Conventions
Table 1 and Table 2 list the text and notice conventions that are used throughout this
guide.
default font bold Keyboard keys, software On the Start menu, click All
buttons, and field names Programs.
1
About This Guide
Documentation Comments
Ruckus Wireless is interested in improving its documentation and welcomes your
comments and suggestions. You can email your comments to Ruckus Wireless at:
[email protected]
When contacting us, please include the following information:
■ Document title
■ Document part number (on the cover page)
■ Page number (if appropriate)
For example:
■ Ruckus Wireless ZoneFlex Access Point Command Line Interface Reference Guide
■ Part number: 800-70264-001
■ Page 88
Please note that we can only respond to comments and questions about Ruckus
Wireless product documentation at this email address. Questions related to technical
support or sales should be directed in the first instance to your network supplier.
2
About This Guide
3
1
Understanding the ZoneFlex
Access Point Command Line
Interface
In This Chapter
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Accessing the Command Line Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Using the Help Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Viewing Command Groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Preface
This guide contains Command-Line Interface (CLI) commands to configure and
maintain Ruckus Wireless access points in standalone mode.
CAUTION: If you are using ZoneDirector or FlexMaster to manage your access points,
any configuration changes made through the access point CLI may conflict with
ZoneDirector or FlexMaster settings.
4
Understanding the ZoneFlex Access Point Command Line Interface
Accessing the Command Line Interface
Requirements
To access the ZoneFlex Access Point CLI, you will need the following:
■ A computer that you want to designate as administrative computer (“admin PC”)
■ An Ethernet cable
■ A Telnet or SSH (secure shell) client program
NOTE: Before continuing, make sure that both the administrative computer and the
ZoneFlex Access Point are both powered on.
1. On your Windows XP, Vista or Windows 7 PC, open the Network Connections
control panel:
• On Windows XP, go to Start > Settings > Control Panel > Network
Connections.
• On Windws 7, go to Open Network and Sharing Center > Change Adapter
Settings.
2. Right-click the icon for Local Area Connection, and select Properties.
3. In the Local Area Connection Properties window:
• On Windows XP, select Internet Protocol (TCP/IP), and then click Properties.
• On Windows 7, click Internet Protocol Version 4 (TCP/IPv4), then click
Properties.
5
Understanding the ZoneFlex Access Point Command Line Interface
Accessing the Command Line Interface
4. Write down all of the currently active network settings. You will need this informa-
tion later when you restore your computer to its current network configuration.
5. Select Use the following IP address, and then configure the IP address settings
with the values below:
• IP Address: 192.168.0.22 (or any address in the 192.168.0.x range, with the
exception of 192.168.0.1, which is in use by the AP).
• Subnet Mask: 255.255.255.0.
• Default Gateway: 192.168.0.1
6. 7. Click OK to exit the Local Area Connection Properties window.
NOTE: The following procedure uses PuTTY, a free and open source Telnet/SSH
client, for accessing the ZoneFlex Access Point CLI. If you are using a different Telnet/
SSH client, the procedure may be slightly different (although the connection settings
should be the same). For more information on PuTTY, visit www.putty.org.
6
Understanding the ZoneFlex Access Point Command Line Interface
Accessing the Command Line Interface
4. Click Open. The PuTTY console appears and displays the login prompt.
You have completed using the Telnet/SSH client to login to the ZoneFlex Access Point.
7
Understanding the ZoneFlex Access Point Command Line Interface
Accessing the Command Line Interface
You are now logged into the ZoneFlex Access Point CLI. To view a list of commands
that are available at the root level, enter help or ?.
8
Understanding the ZoneFlex Access Point Command Line Interface
Using the Help Command
9
Debugging Commands
Debug Group Commands
2
Debugging Commands
In This Chapter
Debug Group Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
10
Debugging Commands
Debug Group Commands
ping
Use the ping command to attempt to ping another station.
rpmkey
Show or change RPM key values.
Description
get rpmkey [key] Display the value of an RPM key
set rpmkey key [value] Modify the value of an RPM key
restore allrpmkeys Restore allrpmkeys -- Restore all defined keys with values
[filename] from a file
save allrpmkeys Save all defined keys and their values to a file
[filename]
show allrpmkeys Show all defined keys and their values
11
Debugging Commands
Debug Group Commands
support
Generate or show support log information.
sysinfo
Get CPU and memory utilization information.
Syntax sysinfo
traceroute
Conduct a traceroute test.
12
Quality of Service Commands
QoS Group Commands
3
Quality of Service Commands
In This Chapter
QoS Group Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
get qos
Use get qos to display the state and attributes of Ruckus SmartQoS processing on
a global or per-interface basis.
13
Quality of Service Commands
QoS Group Commands
14
Quality of Service Commands
QoS Group Commands
IGMP/MLD Clone1/2/3
Errors 0/0/0
set qos
Use set qos to configure QoS settings for a specified interface. Refer to Table 1 for
a list of QoS arguments.
Command Description
qos aging Sets the state of the IGMP/MLD aging mechanism
qos classification Sets the QoS classification for the specified interface to
enabled or disabled
qos directed multicast Sets the state of egress packet processing for the specified
interface
qos igmp Sets the state of IGMP Snooping for the specified interface
qos igmp_query Sets IGMP General Query version for IGMP General Query
Mechanism
qos mld Sets the state of MLD Snooping for the specified interface
qos mld_query Sets MLD General Query version for MLD General Query
Mechanism
qos QueryInterval Sets the periodical interval for issuing IGMP/MLD General
Query messages
qos txFailThreshold Sets the periodical interval for issuing IGMP/MLD General
Query messages
15
Quality of Service Commands
QoS Group Commands
qos aging
Use set qos aging to set the state of the IGMP/MLD aging mechanism.
qos classification
Use set qos classification to enable QoS processing on a specified interface.
qos dot1p
Use set qos dot1p to configure values for dot1p-based classification (classify) or
to set dot1p values for each type of traffic (mark).
Options classify
mark
16
Quality of Service Commands
QoS Group Commands
qos heuristics
Use set qos heuristics to configure heuristics-based classification.
17
Quality of Service Commands
QoS Group Commands
OK
qos igmp
Use set qos igmp to configure the state of IGMP Snooping for a specified interface.
qos igmp_query
Use set qos igmp_query to set IGMP General Query version for IGMP General
Query Mechanism
qos ip
Use set qos ip to set L3 IP Filters on the specified interface.
Example rkscli: set qos wlan0 ip add ucast dest 192.168.11.111 drop voice
Unicast IP(UDP/TCP) Filter is added on interface wlan0
OK
qos known_multicast
Use set qos known_multicast to enable the forwarding of well-known multicast
traffic, such as UPnP, for a specified interface. Use unknown_mcast to enable the
dropping of unknown multicast traffic for a specified interface.
18
Quality of Service Commands
QoS Group Commands
qos mac
Use set qos mac to set L2 MAC Filters on the specified interface.
Example rkscli: set qos wlan0 mac add ucast dest 01:ab:02:bc:03:cd drop voice
Unicast IP(UDP/TCP) Filter is added on interface wlan0
OK
qos mld
Use set qos mld to set the state of MLD Snooping for the specified interface.
qos mld_query
Use set qos mld_query to set the MLD General Query version for the MLD General
Query Mechanism.
qos port
Use set qos port to set L4 Port Filters on the specified interface.
19
Quality of Service Commands
QoS Group Commands
Example rkscli: set qos wlan0 port add ucast tcp dest 25 drop
Unicast IP(UDP/TCP) Filter is added on interface wlan0
OK
qos QueryInterval
Use set qos QueryInterval to set the periodical interval for issuing IGMP/MLD
General Query messages. Setting <new interval> to zero disables the periodic
IGMP/MLD General Query mechanism.
qos tos
Use set qos tos to configure values for TOS-based classification.
Options classify
mark
20
Quality of Service Commands
QoS Group Commands
qos txFailThreshold
Use set qos txFailThreshold to configure the number of consecutive TX failures
before STA is considered dead.
21
Quality of Service Commands
QoS Group Commands
22
System Commands
System Group Commands
4
System Commands
In This Chapter
System Group Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
aerosct
Use aerosct to turn On/Off AeroScout support and configure settings. Only appli-
cable to 11g radio.
ap-mode
Use get ap-mode to display AP operation mode.
boarddata
Use get boarddata to display hardware version and system board information.
23
System Commands
System Group Commands
24
System Commands
System Group Commands
device-gps
Use device-gps to set or get GPS coordinates for the device.
device-location
Use device-location to set or get a location for the device.
Description Enter a location for the device, using a single string of alphanumeric characters.
device-name
Use device-name to set or get a name for the device.
25
System Commands
System Group Commands
dhcpc
Use dhcpc to get or set the Vendor Class identifier (option 60) for DHCP requests.
Syntax get dhcpc -- Returns the value set for DHCP option 60 for the device
set dhcpc option60 <identifier> -- Enter a new option 60 vendor class
identifier
dhcps
Use dhcps to display or configure DHCP server status.
director
Use get director to show ZoneDirector information. Use set director to set
ZoneDirector options. Reboot is required for changes to take effect.
26
System Commands
System Group Commands
dns
Use dns to set or get Domain Names Service (DNS) information.
eth
Use get eth to display the Ethernet physical link status.
An interface eth0 (usually associated with LAN) may be tied to more than one physical
Ethernet port. In this situation, this command does not elaborate on such details and
will show “Up” status as long as one physical port is up.
Syntax get eth [<ifname>|<port num>] -- Display Physical Ethernet Link State of the
interface name or the port number
set eth [<ifname>|<port num>] [enable|disable] -- Configure Ethernet
State of the interface name or the port number
27
System Commands
System Group Commands
eth-mon
Use eth-mon to get or set the Ethernet monitor period.
factory
Use set factory to return all configuration settings to their factory defaults.
fw
Use fw to configure or display firmware update parameters. By default, the initial
firmware check occurs five minutes after reboot. If booting up from a backup image,
this initial check is performed immediately.
The firmware server is checked on a 12-hour (720 minutes) interval for new updates.
This check is reduced to 30 minutes if previous attempt to download firmware was
unsuccessful.
If firmware is automatically upgraded, the AP only reboots if the Internet network
activity falls below 1 or 2Mbps.
28
System Commands
System Group Commands
fw show [main|bkup]
fw update [main|bkup] [<host>]
fw force-update [custom] [<host>]
fw set <parameter> <value>
29
System Commands
System Group Commands
30
System Commands
System Group Commands
OK
home_login, home_password
Use these home commands to set the current home user’s login ID and password for
the AP’s web UI only.
31
System Commands
System Group Commands
In contrast, the administrator’s login information is set using “login” on page 34 and
“password” on page 37.
http
Use this command to get/set the HTTP web access service. If you disable this service,
the web user interface will be inaccessible via HTTP.
https
Use this command to get/set the HTTPS Web access service. If you disable this service,
the web user interface will be inaccessible via HTTPS.
32
System Commands
System Group Commands
internal_heater
Use this command to enable/disable the internal heater. If no internal heater is
included in the device, this option will have no impact. Default is disabled.
ipaddr
Use ipaddr to get or set default IP gateway information used for LAN, WAN, video,
and management communication. Different traffic types can be segregated
depending on a service provider’s preferences.
Only a gateway address for a WAN network is used by the system.
NOTE:: Depending on the type of profile loaded on the AP, these interface types
(lan|wan|video|mgmt) might not be available on your system.
33
System Commands
System Group Commands
login
Use login to set or get the current administrative login name for the AP.
mgmt-vlan
Use mgmt-vlan to set or get management VLAN information.
Options [disable]
<vlan id>
ip <ipaddr> <netmask> <gateway>
model-display
Use model-display to set or get the AP model name as displayed in the Web UI.
Enclose text in quotation marks to allow multiple words to be displayed.
34
System Commands
System Group Commands
nat
Use nat to get or set NAT configuration settings.
netstats
Use get netstats to display network statistics information. Depending on the
profile, some of the interfaces listed below may not exist on your AP. Use set
netstats clear to clear the network statistics (all or a specific interface).
Backlog Device
Pkts Q'd Dropped TimeSqueeze
0027a1b2 00000000 0000002f
OK
ntp
Use ntp to get or set Network Time Protocol information.
35
System Commands
System Group Commands
nwstate
Use get nwstate to display network status for specified network types.
Network status reflects network connectivity. For example, if an interface is waiting
for DHCP network address assignment, then the network status will be considered
down.
NOTE:: Depending on the type of profile loaded on the AP, some interface types
(lan|wan|video|mgmt) might not be available on your system.
oem
Use get oem to display OEM information.
36
System Commands
System Group Commands
orientation
Orientation sensors are available on select ZoneFlex products only.
■ get orientation -- Show the orientation sensor info
■ set orientation t, [30..86400] seconds -- Set the orientation sensor
info
password
Use set password to configure a new administrative login password for the AP.
There is no explicit password recovery procedure. If you are locked out of the AP, press
and hold the reset button on the back of the unit for 5 seconds to reset factory defaults.
poe_out
Enable or disable the PoE Out port. Command available on select ZoneFlex products
only.
portfwd
Use portfwd to display or configure port forwarding rules.
37
System Commands
System Group Commands
[enable|disable|delete]
reboot
Use reboot to restart the AP.
Syntax reboot
remote-mgmt
Use remote-mgmt to get or set remote management configuration options. See snmp
and tr069 for more information on remote management options.
route
Use get route to display the static or default route, or set route to define the
static or default route through the network. <target> can be a host IP or a subnet IP.
snmp
Use snmp to set or get Simple Network Management Protocol (SNMP) version,
community strings and SNMP trap server options.
SNMPv2c and SNMPv3 are supported as of software version 9.0.
38
System Commands
System Group Commands
39
System Commands
System Group Commands
SNMP rw community=private
OK
snmp-acl
Use snmp-acl to set or get SNMP Access Control List information.
ssh
Use set ssh to enable or disable the Secure Shell (SSH) protocol. Use get ssh to
display SSH information. Default is enabled.
syslog
Use syslog to set or get syslog settings.
40
System Commands
System Group Commands
telnet
Use set telnet to enable or disable Telnet access. Use get telnet to display
Telnet status information. Default is disabled. See ssh for SSH access commands.
41
System Commands
System Group Commands
thermo
Use thermo to get or set temperature sensor information. set thermo sets the
interval at which temperature readings are acquired; get thermo returns a summary
of recent temperature readings. Thermo sensors are available on select outdoor
ZoneFlex products only.
timeout
Use timeout to set or get the current CLI session’s timeout value, where <value>
is in seconds. A value of “0” disables timeout. However, you must first exit your current
session then log back in to use the new no-timeout session.
42
System Commands
System Group Commands
tr069
Use the tr069 command to get or set FlexMaster (TR069 protocol)-related parame-
ters. See remote-mgmt for information on enabling or disabling TR069 management.
uptime
Use get uptime to display how long the Ruckus Wireless device has been running.
version
Use get version to display the software version running on the AP.
43
System Commands
System Group Commands
44
Radio Commands
Radio Group Commands
5
Radio Commands
In This Chapter
Radio Group Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
802.11-h
The 802.11h standard amendment provides Dynamic Frequency Selection (DFS) and
Transmit Power Control (TPC) to address interference issues in the 5GHz frequency
band.
aiming
[Wireless bridge command only] Use the aiming command to get or set configura-
tion options for aiming wireless bridge links.
45
Radio Commands
Radio Group Commands
air-fair
Set or get airtime fairness configuration.
ap-bridge
Use the ap-bridge command to configure the device’s wireless LAN bridge mode.
Disabling this feature will prevent two wireless clients on the same wireless network
from communicating with each other.
autoconfig
Use the autoconfig command to set or get auto configuration state. When the
Ruckus Wireless device first boots up, it needs to set a unique SSID and auto generate
keys as influenced by this command.
46
Radio Commands
Radio Group Commands
autoprov
Use autoprov to set or get auto provisioning state. This command enables automatic
AP and adapter provisioning.
For wireless bridge devices, autoprov mode can be used to provision the unit as
the root or non-root bridge.
47
Radio Commands
Radio Group Commands
Description ■ set autoprov – Configures the auto provisioning state. The options are enable
or disable.
■ get autoprov – Displays the auto provisioning state.
band-steering
[Dual-band APs only.] For dual-band Ruckus devices, the band-steering command
is used to enable or disable steering clients to the 5GHz band when possible. If the
RSSI threshold is set to 1, all 5GHz capable clients will be redirected to the 5GHz radio.
Syntax get band-steering <wlan name> -- Get band steering RSSI threshold
set band-steering <wlan name> mesh-ap [enable|disable] rssi --
Enable band steering, modify RSSI threshold
48
Radio Commands
Radio Group Commands
beacon-interval
Use beacon-interval to set or get the beacon interval.
blacklist
Use blacklist to get or set the channel blacklist information.
Options [enable|disable]
[clear]
[chan_num [1(temporary)|0(clear)|-1(permanent)]]
[[rx_phyerr|util_busy|nf0hi|nf0lo] val]
49
Radio Commands
Radio Group Commands
1: temporary
-1: permanent (channel will remain blacklisted after reboot)
0: remove channel from blacklist
rx_phyerr: receive phy error threshold
util_busy: utilization threshold
nf0hi: noise floor high
nf0lo: noise floor low
bssminrate
Use bssminrate to get or set the BSS min rate.
channel
Use channel to set or get the transmit channel on the device. The default is auto.
On boot up, the device finds an available channel and continues to use it unless
interference is detected.
50
Radio Commands
Radio Group Commands
Description ■ set channel <wifi name> [channel <number>|auto] -- Configures the transmit
channel for the radio. You may set the channel to any <number> allowed for the
current country code setting.
■ get channel <wifi name> -- Displays the transmit channel being used by the radio.
chano
[Wireless bridge only.] Use chano to get or set channel optimization parameters.
class2mqprio
Use class2mqprio to set or get the MQ Class Priority Mapping. Setting one type
of traffic to a higher priority level (lower number) gives a higher priority to that traffic
class. Four traffic classes are defined in order, and the order can not be changed.
However, each class can be given a high or a low priority within its rank. Each traffic
class has two possible priority levels. For Voice, the options are 0 and 1 (0 is high
priority, 1 is low priority). For Video, the options are 2 and 3, etc.
The four traffic classes, in order of highest to lowest priority, are:
■ p1: Voice
■ p2: Video
■ p3: Data
■ p4: Background
Syntax get class2mqprio <wlan name> -- Display MQ Class to Priority Mapping. Priority
is 0-7, 0 is the highest.
set class2mqprio <wlan name> p1 p2 p3 p4 -- Set a binary priority level
for each of the four traffic classes (p1-p4).
51
Radio Commands
Radio Group Commands
Class Voice : 0
Class Video : 2
Class Data : 4
Class Background : 6
OK
rkscli: set class2mqprio wlan1 1 2 4 6
OK
rkscli: get class2mqprio wlan1
Class Voice : 1
Class Video : 2
Class Data : 4
Class Background : 6
OK
rkscli:
countrycode
Use countrycode to set or get the country code in which the device is operating.
Description ■ set countrycode <code> -- Configures the country code. Replace <code> with an
ISO country code such as one of the following: CA, US, HK, IL, UK, JP.
■ get countrycode -- Displays the country code.
NOTE:: After you execute the countrycode command, you need to reboot the
device for the updated settings to take effect.
52
Radio Commands
Radio Group Commands
countryie
The information in the Country Information Element provides an indication of the
regulatory domain and the requirements of that domain.
Syntax get countryie <wifi name> -- Get Country Information Element status
set countryie <wifi name> [enable|disable] -- Enable/disable Country
Information Element support
cwmin-adapt
Use cwmin-adapt to enable/disable dynamic adaptation of contention window
minimum (cwmin) for service prioritization.
cwmode
Set 802.11n channel width to 20MHz, 20/40MHz or 40MHz.
dbstats
Syntax get dbstats <wlan name> -- Get the # of packets that are transferred from Bcast
to Ucast
detected
(Internal debug command, for dual band Ruckus devices only.)
53
Radio Commands
Radio Group Commands
dfsmidbandblock
Dynamic Frequency Selection rules require 11n wireless traffic to avoid frequencies in
use by radar systems. Use dfsmidbandblock to enable or disable dynamic
frequency selection.
directed-thr
Use directed-thr to set an upper limit on Directed Broadcast processing.
dtim-period
Use dtim-period to set or get the Delivery Traffic Information Map (DTIM) period.
A station checks for buffered data every DTIM period beacon.
Description ■ set dtim-period <wlan name> <period>--Configures the DTIM for a named
WLAN.
■ get dtim-period <wlan name>--Displays the DTIM for a named WLAN.
54
Radio Commands
Radio Group Commands
dvlan
Use dvlan to enable or disable dynamic VLAN on a WLAN.
encryption
Use encryption to set or get the encryption method used by a named WLAN.
SSID : V54-020210
Net Security : WPA
Protocol Version : WPA
Authentication : Open
Cipher Algorithm : TKIP
WPA PassPhrase : C3B8DC71FDECA
wlan0
OK
55
Radio Commands
Radio Group Commands
WPA Authentication Type: [0] quit, [1] OPEN (PSK), [2] EAP (.1X),
or [3] AUTO
WPA Authentication Type: 3
WPA Cipher Type: [0] quit, [1] TKIP, [2] AES-CCMP, or [3] AUTO
WPA Cipher Type: 3
WPA PassPhrase: "helloworld"
Enter A New PassPhrase [8-63 letters], or Press "Enter" to Accept :
NAS-ID (network access server ID): "wlan0"
Enter A New NAS-ID [1-63 letters], or Press "Enter" to Accept :
-----------------------------
Primary Authentication Server
-----------------------------
IP : 172.21.100.22
Port : 1812
Secret : admin
-----------------------------
Select server to change (or 4 to skip): [0] quit, [1] Primary, [2]
Backup1, or [3] Backup2
Select : 4
-----------------------------
Primary Accounting Server
-----------------------------
IP : 172.21.100.22
Port : 1813
Secret : admin
-----------------------------
Select server to change (or 4 to skip): [0] quit, [1] Primary, [2]
Backup1, or [3] Backup2
Select : 4
WPA no error
-- WPA HostAPd ReStart --
hostapd termination count is 1
<6>br1: port 2(wlan0) entering disabled state
<6>br2: port 2(wlan1) entering disabled state
Configuration file: /var/run/hostapd.conf.wlan0
Using interface wlan0 with hwaddr 00:13:92:be:f1:d6 and ssid 'V54-
BEF1D6'
<6>br1: port 2(wlan0) entering learning state
Flushing old station entries
Deauthenticate all stations
Configuration file: /var/run/hostapd.conf.wlan1
Using interface wlan1 with hwaddr 00:13:92:be:f1:d7 and ssid 'gd6-
lan'
56
Radio Commands
Radio Group Commands
event
Use event to display WLAN monitoring events or set event configuration options.
57
Radio Commands
Radio Group Commands
OK
extant
Use extant to display or modify external antenna configuration.
extantgain
Use extantgain to set or get the external antenna gain.
fixed-rate
Use fixed-rate to set or get the fixed transmission rate for a named WLAN. The
device supports various wireless data rates.
58
Radio Commands
Radio Group Commands
frag-thr
invisible
Syntax get invisible <wlan name> -- get invisible status for a wlan
set invisible <wlan name> [enable|disable] -- Set invisible
capability for wlan interface
key
Use get key to return the encryption method, key length and static encryption keys
for the WLAN. For TKIP encryption, the cipher operation requires four keys: a transmit
key, receive key, MIC (message integrity check) transmit key and a MIC receive key.
59
Radio Commands
Radio Group Commands
128d-aa82-7a1d-2699-1601-8e98-5f8b-533a
leave
Use the leave command to disassociate all clients of a WLAN.
legacytxchainmask
Syntax ■ get legacytxchainmask <wifi name> -- Get 11n Legacy Transmit chainmask
■ Set legacytxchainmask <wifi name> [1|5|7] -- Set 11n Legacy Transmit
chainmask (1, 5, 7)
link-count
[Wireless bridge command only]. Use link-count to display the number of times
the link has been up and down since reboot.
60
Radio Commands
Radio Group Commands
xx:xx:xx:xx:xx:xx 1 0
OK
mesh
[ZoneDirector-controlled APs only] See ZoneDirector CLI Reference Guide.
meshcfg
[ZoneDirector-controlled APs only] See ZoneDirector CLI Reference Guide.
max-aid
Use max-aid to limit the number of IDs that can associate to a specific WLAN.
Description ■ get max-aid <wlan name> -- Get the maximum number of allowed associated
IDs for the WLAN
■ set max-aid <wlan name> [value] -- Set the maximum number of
associated IDs allowed for the WLAN
minrate
Use minrate to set the minimum transfer rate for management and control packets.
Generally this rate is handled by the rate control algorithm and should not be
changed.
Description ■ get minrate -- Get the minimum management packet rate for the WLAN
■ set minrate -- Set the minimum management packet rate for the WLAN
Values are relative indexes that vary depending on wireless protocol. See Table 2 for
minrate index values by protocol.
61
Radio Commands
Radio Group Commands
mode
Use get mode to display the Phy Mode of a wireless interface.
On 11bg APs, the default mode is auto. Ruckus 11bg APs support the association of
11b clients, 11g clients, or a mixture. Use set mode to configure the interface for 11b
only, 11g only or both. Default is auto.
The set mode command is not valid for 11n products. For 11n products, wifi0 is the
11gn (2.4GHz) radio. If the 11n AP is a dual-band AP, the wifi1 interface is the 11an
(5GHz) radio. These settings are not configurable.
Description ■ set mode <wlan name> [auto|11g | 11b]-- Configures the Phy Mode of
a named WLAN.
■ get mode <wlan name> -- Displays the Phy Mode of a named WLAN.
mq
Get or set current Media Queue options.
62
Radio Commands
Radio Group Commands
mqstats
Use mqstats to clear or get the media queue statistics. Different queue types are
given different packet transmission priorities. For example, multicast video packets
are placed in a high priority video queue. Every client that associates with the device
is given a set of correctly prioritized queues.
Description ■ set mqstats <wlan name> clear [all|def|<mac-addr>]--Clears the media queue
statistics.
■ get mqstats <wlan name> [all|def|<mac-addr>]--Displays the media queue statis-
tics.
-----------------------------------------------------------------
----------------
STA: None
Qued ovrflw enq deq reenq deact XRetries
(deflt): 0 0 1120 9572 8452 0 896
rkscli: set mqstats wlan0 clear all
OK
rkscli: get mqstats wlan0 all
63
Radio Commands
Radio Group Commands
-----------------------------------------------------------------
----------------
STA: None
Qued ovrflw enq deq reenq deact XRetries
(deflt): 0 0 0 0 0 0 0
nf
nfmin
get nfmin -- Get 11n Min Noisefloor Limit Value
set nfmin <value> -- Set 11n Min Noisefloor Limit Value (negative number, dBm)
nfoverride
get nfoverride -- Get 11n Noisefloor Override Value
set nfoverride <value> -- Set 11n Noisefloor Override Value (0=disable, >0 = |NF|
[e.g., 85 sets NF=-85 dBm])
passphrase
Use get passphrase to display the WPA passphrase. There is no set passphrase
because that operation is done using the command “encryption” on page 55.
64
Radio Commands
Radio Group Commands
phyrpt-mode
■ get phyrpt-mode < wifi name> -- Get phyrpt-mode
■ set phyrpt-mode <wifi name> [0=disabled, 1=interrupt,
2=counter] -- Set Phy error report mode
preferredap
Use preferredap to get or set preferred AP for a WLAN.
■ get preferredap <wlan name> – Get Preferred AP
■ set preferredap <wlan name> <xx:xx:xx:xx:xx:xx> – Set Preferred AP
preferredapmode
■ get preferredapmode <wlan name> -- Get Preferred AP Mode
■ set preferredapmode <wlan name> [preferred|locked] -- Set
Preferred AP Mode
prot-mode
Use prot-mode to set or get the protection mode for 11b/11g. For mixed-mode
scenarios, g clients notify b clients when transmissions are about to occur. Default is
none.
rescan
Get or set rescan settings.
65
Radio Commands
Radio Group Commands
rts-thr
Use rts-thr to set or get the Request To Send (RTS) threshold. Default is disabled.
rxchainmask
scanap
Use scanap to return the latest background scan results for any detected WLANs.
Use set scanap to perform an immediate background scan.
schedstats
Display Scheduler statistics.
66
Radio Commands
Radio Group Commands
ssid
Use ssid to set or get the Service Set IDentifier (SSID).
Description ■ set ssid <wlan name> <ssid>--Configures the SSID, where <ssid> is the
ID. To distinguish the device from other APs, the SSID is defaulted to “V54-<last
3 octets of mac>”.
■ get ssid <wlan name>--Displays the SSID.
NOTE:: Ruckus Wireless recommends that you do not change the wlan0’s SSID due
to autoprov. The pair must match.
ssid-suppress
Use ssid-suppress to allow or deny the Service Set IDentifier (SSID) in control
frames.
67
Radio Commands
Radio Group Commands
state
Use state to set or get the radio state of a WLAN interface.
station
Use station to clear or get station information.
68
Radio Commands
Radio Group Commands
OK
rkscli: get station home stats all
00:0c:41:cf:e9:f4:
rx_data_frm 32 rx_mgt_frm 18 rx_bytes 4192
tx_data_frm 502 tx_mgmt_frm 19 tx_bytes 4241
tx_assoc 1 tx_auth 1
good_tx_frms 511 good_rx_frms 51 tx_retries 157
tx_rate 54000 tx_kbps 33400 rx_crc_errs 1
tx_per 6 tx_rssi 49
OK
rkscli: get station home list all
ADDR AID CHAN RATE RSSI IDLE TXSEQ RXSEQ CAPS ACAPS
ERP STATE MODE
00:0c:41:cf:e9:f4 1 1 54M 49 120 572 3792 ESs
0 25 Normal
OK
rkscli: get station home stats 00:0c:41:cf:e9:f4
00:0c:41:cf:e9:f4:
rx_data_frm 32 rx_mgt_frm 23 rx_bytes 4192
tx_data_frm 645 tx_mgmt_frm 24 tx_bytes 4412
tx_assoc 1 tx_auth 1
good_tx_frms 658 good_rx_frms 56 tx_retries 204
tx_rate 54000 tx_kbps 33602 rx_crc_errs 1
tx_per 6 tx_rssi 49
OK
rkscli: set station home stats clear all
rkscli: get station home stats 00:0c:41:cf:e9:f4
00:0c:41:cf:e9:f4:
tx_data_frm 9
good_tx_frms 9
69
Radio Commands
Radio Group Commands
txchainmask
txpower
Use txpower to set or get the AP’s transmit power strength.
uplink
Use get uplink to display the wireless uplink status.
voice-detect
Use voice-detect to turn On/Off voice call detection mode.
70
Radio Commands
Radio Group Commands
Description ■ get voice-detect <wlan name> -- Get Voice Call Detection mode
■ set voice-detect <wlan name> [enable|disable] -- Set Voice Call
Detection mode
wds-mode
Use wds-mode to set or get Wireless Distribution Service (WDS) mode. This feature
enables you to have multiple outbound clients behind a wireless bridge adaptor.
Default is enabled.
wep
Use get wep to display the WEP usage/allocation.
wlanlist
Use get wlanlist to display a list of all WLAN interfaces. If the AP is a dual radio
AP, the RadioID column indicates which radio (2.4GHz or 5GHz) is serving the WLAN.
71
Radio Commands
Radio Group Commands
wlantext
Use wlantext to change the description of the wirelesss network, as displayed in
the WebUI. For example, “Video Network”, “Data Network”, “HotZone 1”, and so on.
wmm
Use wmm to set or get the WMM protocol information for EDCA QoS control. WMM
is the 802.11e method for managing video and voice queues. WMM prioritizes traffic
according to four Access Categories (AC) - voice, video, best effort, and background.
Default is enabled. See “cwmin-adapt” on page 53 for more information.
Description ■ set wmm <wlan name> [enable|disable]--Sets the WWM protocol for
EDCA QoS control.
■ get wmm <wlan name>--Displays WMM protocol information.
72
Radio Commands
Radio Group Commands
zaxis
Syntax get zaxis <wifi name> -- Get Z Axis antenna status for the g/n or a/n radio
set zaxis <wifi name> [enable|disable] -- Enable Z Axis antenna for the
g/n or a/n radio
73
Radio Commands
Radio Group Commands
74
Miscellaneous Commands
Misc Group Commands
6
Miscellaneous Commands
In This Chapter
Misc Group Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
ACL Group Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
Traffic Shaping Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
VLAN Group Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
This chapter describes miscellaneous and minor CLI commands. These commands
can be found in the miscgroup, aclgroup, shaper and vlangroup command groups.
ftp
Use ftp to get or put files using the FTP protocol.
tftp
Use tftp to get or put files using the TFTP protocol.
75
Miscellaneous Commands
ACL Group Commands
get acl
Show the MAC access control info of the wlan interface.
set acl
Set ACL MAC options.
76
Miscellaneous Commands
Traffic Shaping Commands
OK
shaper
Description
shaper Shows available preset shaping configurations
shaper notes Shows shaper usage notes
shaper debug Dumps shaper debug state
shaper [preset] Shows details for specified preset
get shaper [wlan] Gets shaper configuration for the specified WLAN
set shaper [wlan] Configures a WLAN to use a specific preset
[preset [uplink]]
set shaper [wlan] Disables shaping on specified WLAN
disable
77
Miscellaneous Commands
VLAN Group Commands
OK
vlan
Use vlan to get VLAN information on one or more VLANs, WLANs or ports.
Description
get vlan all Shows VLAN configuration for all networks
get vlan vid Displays VLAN information for the specified VLAN ID (valid
VLAN ID range is from 1 to 4094)
get vlan Show VLANs the port is attached to
get vlan Shows the VLANs to which the wireless network is attached
78
Miscellaneous Commands
VLAN Group Commands
Services:
Eth Port (no tag): 0
Eth Port (tagged): 4
---------------------------------------
OK
79
Index
Symbols detected, 53
device, 25
?, 9
device-gps, 25
device-location, 25
Numerics device-name, 25
802.11-h, 45 dfs, 54
dfsmidbandblock, 54
A dhcpc, 26
dhcps, 26
aerosct, 23
directed multicast, 16
aiming, 45
directed-thr, 54
air-fair, 46
director, 26
ap-bridge, 46
dns, 27
ap-mode, 23
dtim-period, 54
autoconfig, 46
dvlan, 55
autoprov, 47
B E
encryption, 55
band-steering, 48
eth, 27
beacon-intval, 49
eth-mon, 28
blacklist, 49
event, 57
boarddata, 23
extant, 58
bssid, 50
extantgain, 58
bssminrate, 50
C F
factory, 28
chainmask, 66, 70
fixed-rate, 58
channel, 50
frag-thr, 59
chano, 51
ftp, 75
class2mqprio, 51
fw, 28
countrycode, 52
countryie, 53
cwmin-adapt, 53 G
cwmode, 53 get qos, 13
D H
dbstats, 53 help, 9
debuggroup, 10 heuristics, 17
80
home_login, 31 orientation, 37
home_password, 31
http, 32 P
https, 32
passphrase, 64
password, 37
I phyrpt-mode, 65
internal_heater, 33 ping, 11
invisible, 59 poe_out, 37
ipaddr, 33 portfwd, 37–38
pppoe, 38
K preferredap, 65
preferredapmode, 65
key, 59
prot-mode, 65
L Q
leave, 60
qos aging, 16
legacytxchainmask, 60
qos classification, 16
link-count, 60
qos directed multicast, 16
login, 34
qos dot1p, 16, 21
qos heuristics, 17
M qos heuristics udp, 17
max-aid, 61 qos igmp, 18
mesh, 61 qos igmp_query, 18
meshcfg, 61 qos ip, 18
mgmt-vlan, 34 qos known_multicast, 18
minrate, 61 qos mac, 19
mode, 62 qos mld, 19
model-display, 34 qos mld_query, 19
mq, 62 qos port, 19
mqstats, 63 qos QueryInterval, 20
qos tos, 20
qos txFailThreshold, 21
N
nat, 35
netstats, 35 R
nf, 64 reboot, 38
nfmin, 64 remote-mgmt, 38
nfoverride, 64 rescan, 65
ntp, 35 route, 38
nuttcp, 36 rpmkey, 11
nwstate, 36 rts-thr, 66
rxchainmask, 66
O
oem, 36 S
opmode, 37 scanap, 66
81
schedstats, 66
shaper, 77
snmp, 38
snmp-acl, 40
ssh, 40
ssid, 67
ssid-suppress, 67
sta-mgmt, 68
state, 68
station, 68
support, 12
sysinfo, 12
syslog, 40
T
telnet, 41
tftp, 75
thermo, 42
timeout, 42
tr069, 43
traceroute, 12
txchainmask, 70
txFailThreshold, 21
txpower, 70
U
uplink, 70
uptime, 43
V
version, 43
vlan, 78
voice-detect, 70
W
wds-mode, 71
wep, 71
wlanlist, 71
wlantext, 72
wmm, 72
Z
zaxis, 73
82
83