The text of a manual · part 39 of 76
AP-51xx Access Point Product Reference Guide: CLI Reference, pages 359 to 368
Pages 359 to 368 of 724, from AP-51xx Access Point Product Reference Guide
The original document is the PDF (7.6 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Symbol AP-5131
Page 359
CLI Reference The access point Command Line Interface (CLI) is accessed through the serial port or a Telnet session. The access point CLI follows the same conventions as the Web-based user interface. The CLI does, however, provide an “escape sequence” to provide diagnostics for problem identification and resolution. The CLI treats the following as invalid characters: -> space < > | " & , \ ?
In order to avoid problems when using the CLI, these characters should be avoided.
Page 360
8-2 AP-51xx Access Point Product Reference Guide
8.1 Connecting to the CLI 8.1.1 Accessing the CLI through the Serial Port To connect to the access point CLI through the serial port: 1. Connect one end of a null modem serial cable to the access point’s serial connector. NOTE If using an AP-5131 model access point, a null modem cable is required. If using an AP-5181 model access point, an RJ-45 to Serial cable is required to make the connection.
2. Attach the other end of the null modem serial cable to the serial port of a PC running HyperTerminal or a similar emulation program. 3. Set the HyperTerminal program to use 19200 baud, 8 data bits, 1 stop bit, no parity, no flow control, and auto-detect for terminal emulation. 4. Press <ESC> or <Enter> to enter into the CLI. 5. Enter the default username of admin and the default password of motorola. If this is your first time logging into the access point, you are unable to access any of the access point’s commands until the country code is set. A new password will also need to be created.
8.1.2 Accessing the CLI via Telnet To connect to the access point CLI through a Telnet connection: 1. If this is your first time connecting to your access point, keep in mind the access point uses a static IP WAN address (10.1.1.1). Additionally, the access point’s LAN port is set as a DHCP client. 2. Enter the default username of admin and the default password of motorola. If this is your first time logging into the access point, you are unable to access any of the access point’s commands until the country code is set. A new password will also need to be created.
Page 361
8-3
8.2 Admin and Common Commands AP51xx>admin> Description: Displays admin configuration options. The items available under this command are shown below.
Syntax: help passwd summary network system stats .. / save quit
Displays general user interface help. Changes the admin password. Shows a system summary. Goes to the network submenu Goes to the system submenu. Goes to the stats submenu. Goes to the parent menu. Goes to the root menu. Saves the configuration to system flash. Quits the CLI.
Page 362
8-4 AP-51xx Access Point Product Reference Guide
AP51xx>admin>help Description: Displays general CLI user interface help.
Syntax: help
Displays command line help using combinations of function keys for navigation.
Example: admin>help ? * Restriction of “?”:
: display command help - Eg. ?, show ?, s? : “?” after a function argument is treated : as an argument : Eg. admin<network.lan> set lan enable? : (Here “?” is an invalid extra argument, : because it is after the argument : “enable”)
<ctrl-q>
: go backwards in command history
<ctrl-p>
: go forwards in command history
* Note
: 1) commands can be incomplete : - Eg. sh = sho = show : 2) “//” introduces a comment and gets no : resposne from CLI.
admin>
Page 363
8-5
AP51xx>admin>passwd Description: Changes the password for the admin login.
Syntax: passwd
Changes the admin password for access point access. This requires typing the old admin password and entering a new password and confirming it. Passwords can be up to 11 characters. The access point CLI treats the following as invalid characters: -> space < > | " & , \ ?
In order to avoid problems when using the access point CLI, these characters should be avoided.
Example: admin>passwd Old Admin Password:****** New Admin Password (0 - 11 characters):****** Verify Admin Password (0 - 11 characters):****** Password successfully updated
For information on configuring passwords using the applet (GUI), see Setting Passwords on page 6-3.
Page 364
8-6 AP-51xx Access Point Product Reference Guide
AP51xx>admin>summary Description: Displays the access point’s system summary.
Syntax: summary
Displays a summary of high-level characteristics and settings for the WAN, LAN and WLAN.
Example: admin>summary AP-51xx firmware version
2.2.0.0-xxx country code us ap-mode independent serial number
00A0F8716A74
WLAN 1: WLAN Name
WLAN1
ESS ID
101
Radio
11a, 11b/g
VLAN
VLAN1
Security Policy
Default
QoS Policy
Default
LAN1 Name: LAN1 LAN1 Mode: enable LAN1 IP: 0.0.0.0 LAN1 Mask: 0.0.0.0 LAN1 DHCP Mode: server LAN2 Name: LAN2 LAN2 Mode: enable LAN2 IP: 192.235.1.1 LAN2 Mask: 255.255.255.0 LAN2 DHCP Mode: server ----------------------------------------------------------------------------WAN Interface
IP Address
Network Mask
Default Gateway
DHCP Client
----------------------------------------------------------------------------enable
172.20.23.10
255.255.255.192
172.20.23.20 enable
For information on displaying a system summary using the applet (GUI), see Basic Device Configuration on page 3-5.
Page 365
8-7
AP51xx>admin>.. Description: Displays the parent menu of the current menu. This command appears in all of the submenus under admin. In each case, it has the same function, to move up one level in the directory structure.
Example: admin(network.lan)>.. admin(network)>
Page 366
8-8 AP-51xx Access Point Product Reference Guide
AP51xx>admin> / Description: Displays the root menu, that is, the top-level CLI menu. This command appears in all of the submenus under admin. In each case, it has the same function, to move up to the top level in the directory structure.
Example: admin(network.lan)>/ admin>
Page 367
8-9
AP51xx>admin>save Description: Saves the configuration to system flash. The save command appears in all of the submenus under admin. In each case, it has the same function, to save the current configuration.
Syntax: save
Saves configuration settings. The save command works at all levels of the CLI. The save command must be issued before leaving the CLI for updated settings to be retained.
Example: admin>save admin>
Page 368
8-10 AP-51xx Access Point Product Reference Guide
AP51xx>admin>quit Description: Exits the command line interface session and terminates the session. The quit command appears in all of the submenus under admin. In each case, it has the same function, to exit out of the CLI. Once the quit command is executed, the login prompt displays again.
Example: admin>quit