The text of a manual · part 24 of 26
ORiNOCO AP-700 User Guide: Command Line Interface (CLI), pages 211 to 219
Pages 211 to 219 of 231, from ORiNOCO AP-700 User Guide
The original document is the PDF (4.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 Proxim AP-700
Page 211
Command Line Interface (CLI) Parameter Tables
AP-700 User Guide
RADIUS Parameters General RADIUS Parameters Name RADIUS Client Invalid Server Address
Type Group Counter32
Value N/A N/A
Access R R
CLI Parameter radius radcliinvsvradd
RADIUS Server Configuration Parameters NOTE: Use a server name only if you have enabled the DNS Client functionality. See DNS Client for RADIUS Name Resolution. Name Type RADIUS Authentication Table Table Index (Profile Integer Index) Primary/Secondary Index Integer
Value
Access R R
Primary (1) Secondary (2) enable disable Ipaddr Name User defined (enter an IP address if seraddrfmt is ipaddr or a name if set to name; up to 254 characters if using a name) User Defined 1812 (default) User Defined 6 - 32 characters 1 - 10 seconds 3 (default) 0-4 3 (default)
R subindex
RW status
RW seraddrfmt
RW ipaddr
RW port
W ssecret
RW responsetm
RW maxretx
RW radmacaddrformat
Integer32 dashdelimited colondelimited singledashdelimited nodelimiter 1 - 60 minutes
RW radaccinactivetmr
Integer32 Integer32
900 - 43200 seconds 10 - 3600 minutes
W RW radauthlifetm radacctupdinterval vlanID
-1 (untagged) 1 - 4094
RW radvlanid
Status
Integer
Server Address Format
Integer
Server IP Address or Name
IpAddress DisplayString
Port (optional)
Integer
Shared Secret
DisplayString
Response Time (optional) Integer Maximum Retransmissions (optional) RADIUS MAC Address Format
RADIUS Accounting Inactivity Timer Authorization Lifetime RADIUS Accounting Update Interval VLAN ID
Integer
Integer
N/A N/A
CLI Parameter radiustbl index
211
Page 212
Command Line Interface (CLI) Parameter Tables
AP-700 User Guide
Security Parameters MAC Access Control Parameters Name MAC Address Control Status
Type Group Integer
Operation Type
Integer
Value N/A enable disable (default) passthru (default) block
Access R RW RW
CLI Parameter macacl aclstatus macacloptype
MAC Access Control Table Name MAC Address Control Table Table Index MAC Address Comment (optional) Status (optional)
Type
Value
Table
N/A
N/A PhysAddress DisplayString
N/A User Defined User Defined max 254 characters enable (default) disable delete
Integer
Access R
CLI Parameter macacltbl
R RW RW index macaddr cmt
RW status
Rogue Scan Configuration Table The Rogue Scan Configuration Table allows you to enable or disable Rogue Scan and configure the scanning parameters. Name Rogue Scan Configuration Table Rogue Scan Mode
Type
Value
Table
N/A
Integer
Bkscan (1) Contscan (2) 1 - 1440 3 or 4
Rogue Scan Cycle Time Integer Rogue Scan Integer Configuration Table Index Rogue Scan Status Integer enable disable
Access R
CLI Parameter rscantbl
RW mode
RW RW cycletime index
RW status
802.1x Parameters Name 802.1x Group 802.1x Supplicant Timeout
Type Group Integer32
Value N/A 3 - 60 seconds (recommended range)
Access R RW
CLI Parameter dot1xauthcfg dot1xsupptimeout
Hardware Configuration Reset The Hardware Configuration Reset commands allows you to enable or disable the feature and to change the password to be used for configuration reset during boot up.
212
Page 213
Command Line Interface (CLI) Parameter Tables Name Hardware Configuration Reset Status Configuration Reset Password
AP-700 User Guide
Type Integer DisplayString
Value enable (1) disable (2) User Defined
Access R RW
CLI Parameter hwconfigresetstatus configresetpasswd
Security Profile Table The Security Profile Table allows you to configure security profiles. A maximum of 16 security profiles are supported. Each security profile can contain one or more enabled security modes (Non-secure station, WEP station, 802.1x station, WPA station, WPA-PSK station, 802.11i, 802.11i-PSK). The WEP/PSK parameters are separately configurable for each security mode. See the command examples in Set Security Profile Parameters. Name Security Profile Table Table Index Security Mode
Type Table Integer Integer
Authentication Mode
Integer
Cipher
Integer
Encryption Key 0
Integer
Encryption Key 1
Integer
Encryption Key 2
Integer
Encryption Key 3
Integer
Encryption Transmit Key Integer Encryption Key Length Integer
PSK Passphrase
Integer
Value N/A 1 - 16 nonsecure wep 802.1x wpa wpa-psk 802.11i 802.11i-psk none 802.1x psk none wep tkip aes See Encryption Key Format See Encryption Key Format See Encryption Key Format See Encryption Key Format 0-3 1 (64 bits) 2 (128 bits) 3 (152 bits) 8 - 64 characters
Access R RW RW
CLI Parameter secprofiletbl index secmode
R authmode
R ciphersuite
W encryptkey0
W encryptkey1
W encryptkey2
W encryptkey3
RW RW encryptkeytx encryptkeylength
W passphrase
Encryption Key Format If WEP security mode is configured, then the appropriate key size must be configured. The AP supports 63-, 128-, and 152-bit encryption keys. Encryption keys may be configured using either hexadecimal or ASCII values, as described in the following table. Key Length 64-bit
Hexadecimal 10 characters (0 - F)
ASCII 5 alphanumeric characters 213
Page 214
Command Line Interface (CLI) Parameter Tables Key Length 128-bit 152-bit
AP-700 User Guide
Hexadecimal 26 characters (0 - F) 32 characters (0 - F)
ASCII 13 alphanumeric characters 16 alphanumeric characters
Each ASCII character corresponds to two hexadecimal digits. See ASCII Character Chart for ASCII/Hexadecimal correspondence.
VLAN/SSID Parameters Name
Type
VLAN Status
Group Integer
Management ID
VlanId
Value N/A enable disable (default) -1 (untagged) or 1 - 4094
Access R RW
CLI Parameter vlan vlanstatus
RW vlanmgmtid
Value
Access R RW iapp iappstatus
RW iappannint
R iappannresp
410 ms 512 ms (default) 614 ms 717 ms 819 ms 1 - 4 (default 4)
RW iapphandtout
RW iapphandretx enable (default) disable
RW iappannreqstart
Other Parameters IAPP Parameters Name
Type
IAPP IAPP Status
Group Integer
Periodic Announce Interval (seconds)
Integer
Announce Response Time Handover Time-out
Integer Integer
Max. Handover Integer Retransmissions Send Announce Request Integer on Startup
N/A enable (default) disable 80 120 (default) 160 200 2 seconds
CLI Parameter
NOTE: These parameters configure the Inter Access Point Protocol (IAPP) for roaming. Leave these settings at their default value unless a technical representative asks you to change them.
Wireless Multimedia Enhancements (WME)/Quality of Service (QoS) parameters The Wireless Multimedia Enhancements commands enable and configure Wireless Multimedia Enhancement/Quality of Service parameters. The following two commands are part of the Wireless Interface Properties table.
214
Page 215
Command Line Interface (CLI) Parameter Tables
AP-700 User Guide
Enabling QoS Name QoS Status
Type Object Status
QoS Maximum Medium Threshold
Integer
Value enable disable (default) 50 - 90
Access RW
CLI Parameter qosstatus
RW qosmaximummediumthresh old
Access N/A N/A R R RW RW
CLI Parameter qos qospolicytbl index secindex policyname type
RW RW mapindex markstatus
RW status
Configuring QoS Policies The QoS group manages the QoS policies: Name QoS Group QoS Policy Table Table Primary Index Table Secondary Index Policy Name Policy Type
Type
Value
Group Table Integer Integer Display String Integer
Priority Mapping Index† Apply QoS Marking
Integer Object Status
Table Row Status
Row Status
N/A N/A N/A N/A 0 - 32 characters inlayer2, inlayer3, outlayer2, outlayer3, spectralink* See Note †. enable disable enable disable delete
* QoS must be enabled on the wireless interface before spectralink can be enabled. † A priority mapping needs to be specified for a QoS Policy. The priority mapping depends on the type of policy configured. For Layer 2 policy types (inbound or outbound) a mapping index from the 802.1p to 802.1D table should be specified. For Layer 3 policy types (inbound or outbound) a mapping index from the IP DSCP to 802.1D table should be specified. The mapping index, in both cases, depends on the number of mappings configured by the user. For SpectraLink policy type a mapping is not required.
Specifying the Mapping between 802.1p and 802.1D Priorities The QoS 802.1p to 802.1D Mapping Table specifies the mapping between 802.1P and 802.1D priorities. Name QoS 802.1p to 802.1D Mapping Table Table Index (Primary Index) 802.1D Priority (Secondary Index) 802.1p Priority Table Row Status
Type
Value
Table
N/A
Access N/A
CLI Parameter qos1pto1dtbl
Integer
0-7
R index
Integer
0-7
R
1dpriority
Integer Row Status
0-7 enable disable delete
RW RW
1ppriority status
215
Page 216
Command Line Interface (CLI) Parameter Tables
AP-700 User Guide
Specifying the Mapping between IP Precedence/DSCP Ranges and 802.1D Priorities The QoS IP DSCP to 802.1D Mapping Table specifies the mapping between IP Precedence/DSCP Ranges and 802.1D priorities. Name QoS IP DSCP to 802.1D Mapping Table Table Index (Primary Index) 802.1D Priority IP DSCP Lower Limit IP DSCP Upper Limit Table Row Status
Type
Value
Table
N/A
Access N/A
CLI Parameter qosdscpto1dtbl
Integer
0-7
R index
Integer Integer Integer Row Status
0-7 0 - 62 1 - 63 enable disable delete
R RW RW RW
1dpriority dscplower dscpupper status
QoS Enhanced Distributed Channel Access (EDCA) Parameters The following commands configure the client (STA) and AP Enhanced Distributed Channel Access (EDCA) parameters. The EDCA parameter set provides information needed by the client stations for proper QoS operation during the wireless contention period. These parameters are used by the QoS enabled AP to establish policy, to change policies when accepting new stations or new traffic, or to adapt to changes in the offered load. The EDCA parameters assign priorities to traffic types where higher priority packets gain access to the wireless medium more frequently than lower priority packets. NOTE: We have defined default recommended values for EDCA parameters; we recommend not modifying EDCA parameters unless strictly necessary. Name STA EDCA Table Table Index
Table Integer
Type
QoS Access Category
Integer
CWmin CWmax AIFSN Tx OP Limit MSDU Lifetime AC Mandatory
Integer Integer Integer Integer Integer Truth Value
AP EDCA Table Table Index
Table Integer
QoS Access Category
Integer
CWmin
Integer
Value N/A 3 (Wireless A) 4 (Wireless B) 1 (Best Effort) 2 (Background) 3 (Video) 4 (Voice) 0 - 255 0 - 65535 2 - 15 0 - 65535 0 - 500 1 (Enable) 2 (Disable) N/A 3 (Wireless A) 4 (Wireless B) 1 (Best Effort) 2 (Background) 3 (Video) 4 (Voice) 0 - 255
Access N/A R
CLI Parameter qosedcatbl, R, RW RW RW RW RW RW cwmin cwmax aifsn txoplimit msdulifetime acmandatory
N/A R qosqapedcatbl, R, RW cwmin 216
Page 217
Command Line Interface (CLI) Parameter Tables Name CWmax AIFSN Tx OP Limit MSDU Lifetime AC Mandatory
AP-700 User Guide
Type Integer Integer Integer Integer Truth Value
Value 0 - 65535 2 - 15 0 - 65535 0 - 500 true false
Access RW RW RW RW RW
CLI Parameter cwmax aifsn txoplimit msdulifetime acmandatory
Examples: show qosedcatbl (or qosqapedcatbl) set qosedcatbl (or qosqapedcatbl) <Index>.<Access Category> <EDCA parameter> <value> For example: set qosedcatbl 3.1 cwmin 15 Defining the QoS Policy used for a Wireless Interface SSID The QoS Policy object configures the QoS policy to be used per wireless interface SSID. This object is part of the Wireless Interface SSID Table; the CLI command for this table is “wifssidtbl.” Name QoS Policy
Type Integer
Value See Note*
Access RW
CLI Parameter qospolicy
* A QoS Policy number needs to be specified in the SSID table. This depends on the QoS policies configured by the user. Once the user has configured QoS policies, the user should specify the policy to be used for that SSID.
217
Page 218
Command Line Interface (CLI) CLI Batch File
AP-700 User Guide
CLI Batch File A CLI Batch file is a user-editable file that lists a series of CLI set commands, that can be uploaded to the Access Point to change its configuration. The Access Point executes the CLI commands specified in the CLI Batch file after upload and the configuration gets changed accordingly. A CLI Batch file can also be used for Auto Configuration. The CLI Batch file does not replace the existing LTV format configuration file, which continues to define the configuration of the AP. The CLI Batch file contains a list of CLI commands that the AP will execute. The AP performs the commands in the file immediately after the file is uploaded to the AP manually or during Auto Configuration. The AP parses the file and executes the CLI commands. Commands that do not require a reboot take effect immediately, while commands that require a reboot (typically commands affecting a wireless interface) will take effect after reboot.
Auto Configuration and the CLI Batch File The Auto Configuration feature allows download of the LTV format configuration file or the CLI Batch file. The AP detects whether the file uploaded is LTV format or a CLI Batch file. If the AP detects a CLI Batch file (a file with extension .cli), the AP executes the file immediately. The AP will reboot after executing the CLI Batch file. Auto Configuration will not result in repeated reboots if the CLI Batch file contains rebootable parameters.
CLI Batch File Format and Syntax The CLI Batch file must be named with a .cli extension to be recognized by the AP. The maximum file size allowed is 100 Kbytes, and files with larger sizes cannot be uploaded to the AP. The CLI commands supported in the CLI Batch File are a subset of the legal AP CLI commands. The follow commands are supported: •
Set commands
•
Reboot command (the reboot command ignores the argument (time)
Each command must be separated by a new line. NOTE: The following commands are not supported: Show command, Debug command, Undebug command, Upload command, Download command, Passwd command, Kill command, and the Exit, Quit, and Done commands. Sample CLI Batch File The following is a sample CLI Batch File: set sysname system1 set sysloc sunnyvale set sysctname contact1 set sysctphone 1234567890 set sysctemail email@domain.com set ipaddr 11.0.0.66 set ipaddrtype static set ipsubmask 255.255.255.0 set ipgw 11.0.0.1 set wif 3 autochannel disable set wif 3 mode 1 set syslogstatus enable set sysloghbstatus enable set sysloghbinterval 5 set wif 3 netname london reboot 218
Page 219
Command Line Interface (CLI) CLI Batch File
AP-700 User Guide
Reboot Behavior When a CLI Batch file contains a reboot command, the reboot will occur only after the entire CLI Batch file has been executed. There are two methods of uploading the CLI Batch File: •
Upload
•
Upload and reboot (this option is to be used for a CLI Batch file containing the configuration parameters that require a reboot)
CLI Batch File Error Log If there is any error during the execution of the CLI Batch file, the AP will stop executing the file. The AP generates traps for all errors and each trap contains the following information: •
Start of execution
•
Original filename of the uploaded file
•
End of execution (along with the status of execution)
•
Line number and description of failures that occurred during execution
The AP logs all the errors during execution and stores them in the Flash memory in a CLI Batch File Error Log named “CBFERR.LOG”. The CLI Batch File Error Log can be downloaded though TFTP, HTTP, or CLI file transfer to a specified host.
219