The text of a manual · part 20 of 26
ORiNOCO AP-700 User Guide: Command Line Interface (CLI), pages 175 to 183
Pages 175 to 183 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 175
Command Line Interface (CLI) Set Basic Configuration Parameters using CLI Commands Country
Code
Country
AP-700 User Guide
Code
Country
Code
Armenia
AM
Iceland
IS
Philippines
PH
Australia
AU
India
IN
Poland
PL
Austria
AT
Indonesia
ID
Portugal
PT
Azerbaijan
AZ
Ireland 5.8 GHz
I1
Puerto Rico
PR
Bahrain
BH
Israel
IL
Qatar
QA
Belarus
BY
Italy
IT
Romania
RO
Belgium
BE
Jamaica
JM
Russia
RU
Belize
BZ
Japan
JP
Samoa
WS
Bolivia
BO
Japan2
J2
Saudi Arabia
SA
Brazil
BR
Jordan
JO
Singapore
SG
Brunei Darussalam
BN
Kazakhstan
KZ
Slovak Republic
SK
Bulgaria
BG
North Korea
KP
Slovenia
SI
Canada
CA
Korea Republic
KR
South Africa
ZA
Chile
CL
Korea Republic2
K2
South Korea
KR
China
CN
Kuwait
KW
Spain
ES
Colombia
CO
Latvia
LV
Sweden
SE
Costa Rica
CR
Lebanon
LB
Switzerland
CH
Croatia
HR
Liechtenstein
LI
Syria
SY
Cyprus
CY
Lithuania
LT
Taiwan
TW
Czech Republic
CZ
Luxembourg
LU
Thailand
TH
Denmark
DK
Macau
MO
Turkey
TR
Dominican Republic
DO
Macedonia
MK
Ukraine
UA
Ecuador
EC
Malaysia
MY
United Arab Emirates
AE
Egypt
EG
Malta
MT
United Kingdom
GB
El Salvador
SV
Mexico
MX
United Kingdom 5.8 GHz
G1
Estonia
EE
Monaco
MC
United States
US
Finland
FI
Morocco
MA
United States World
UW
France
FR
Netherlands
NL
United States DFS
U1
Georgia
GE
New Zealand
NZ
Uruguay
UY
Germany
DE
Nicaragua
NI
Venezuela
VE
Greece
GR
Norway
NO
Vietnam
VN
Guam
GU
Oman
OM
Guatemala
GT
Pakistan
PK
Enable and Configure TX Power Control for the Wireless Interface The TX Power Control feature lets the user configure the transmit power level of the card in the AP. 175
Page 176
Command Line Interface (CLI) Set Basic Configuration Parameters using CLI Commands
AP-700 User Guide
Perform the following commands to enable TX Power Control and set the transmit power level: [Device-Name]>set txpowercontrol enable [Device-Name]>set wif <interface number> currentbackofftpcvalue <0-9 dBm1-35 dBm> Configure SSIDs (Network Names), VLANs, and Profiles Perform the following command to configure SSIDs and VLANS, and to assign Security and RADIUS Profiles. [Device-Name]>set wifssidtbl <Wireless Interface Index.SSID Index> ssid <Network Name> vlanid <-1 to 1094> ssidauth <enable/disable> acctstatus <enable/disable> secprofile <Security Profile Nmuber> radmacprofile <MAC Authentication Profile Name> radeapprofile <EAP Authentication Profile Name> radacctprofile <Accounting Profile Name> radmacauthstatus <enable/disable> aclstatus <enable/disable> Example: [Device-Name]>set wifssidtbl 3.1 ssid accesspt1 vlanid 22 ssidauth enable acctstatus enable secprofile 1 radmacprofile "MAC Authentication" radeapprofile "EAP Authentication" radacctprofile "Accounting" radmacauthstatus enable aclstatus enable Download an AP Configuration File from your TFTP Server Start the Solarwinds TFTP program (available on the AP installation CD), and click on the Security tab to verify that the TFTP server is configured to both transmit and receive files. (Note that TFTP programs other than Solarwinds may also require this setting.) Then enter the following commands: [Device-Name]>set tftpfilename <file name> tftpfiletype config tftpipaddr <IP address of your TFTP server> [Device-Name]>show tftp (to ensure the filename, file type, and the IP address are correct) [Device-Name]>download * [Device-Name]>reboot 0 After following the complete process (above) once, you can download a file of the same name (so long as all the other parameters are the same), with the following command: [Device-Name]>download * Backup your AP Configuration File Start the Solarwinds TFTP program (available on the AP installation CD), and click on the Security tab to verify that the TFTP server is configured to both transmit and receive files. (Note that TFTP programs other than Solarwinds may also require this setting.) Then enter the following commands: [Device-Name]>upload <TFTP Server IP address> <tftpfilename (such as “config.sys”)> config [Device-Name]>show tftp (to ensure the filename, file type, and the IP address are correct) After setting the TFTP parameters, you can backup your current file (so long as all the other parameters are the same), with the following command: [Device-Name]>upload * Set up Auto Configuration The Auto Configuration feature which allows an AP to be automatically configured by downloading a specific configuration file from a TFTP server during the boot up process. Perform the following commands to enable and set up automatic configuration:
176
Page 177
Command Line Interface (CLI) Set Basic Configuration Parameters using CLI Commands
AP-700 User Guide
NOTE: The configuration filename and TFTP server IP address are configured only when the AP is configured for Static IP. If the AP is configured for Dynamic IP these parameters are not used and obtained from DHCP. The default filename is “config”. The default TFTP IP address is “169.254.128.133”. [Device-Name]>set autoconfigstatus <enable/disable> [Device-Name]>set autoconfigfilename <configuration file name> [Device-Name]>set autoconfigTFTPaddr <TFTP IP address>
177
Page 178
Command Line Interface (CLI) Other Network Settings
AP-700 User Guide
Other Network Settings There are other configuration settings that you may want to set for the AP. Some of them are listed below. •
Configure the AP as a DHCP Server
•
Configure the DNS Client
•
Configure DHCP Relay and Configure DHCP Relay Servers
•
Maintain Client Connections using Link Integrity
•
Change Wireless Interface Settings
•
Set Ethernet Speed and Transmission Mode
•
Set Interface Management Services
•
Configure Wireless Distribution System
•
Configure MAC Access Control
•
Set RADIUS Parameters
•
Set Rogue Scan Parameters
•
Set Hardware Configuration Reset Parameters
•
Set VLAN/SSID Parameters
•
Set Security Profile Parameters
NOTE: See Advanced Configuration for more information on these settings. Configure the AP as a DHCP Server NOTE: You must have at least one entry in the DHCP Server IP Address Pool Table before you can set the DHCP Server Status to Enable. [Device-Name]>set dhcpstatus disable [Device-Name]>set dhcpippooltbl 0 startipaddr <start ip address> endipaddr <end ip address> [Device-Name]>set dhcpgw <gateway ip address> [Device-Name]>set dhcppridnsipaddr <primary dns ip address> [Device-Name]>set dhcpsecdnsipaddr <secondary dns ip address> [Device-Name]>set dhcpstatus enable [Device-Name]>reboot 0 CAUTION: Before enabling this feature, confirm that the IP address pools you have configured are valid addresses on the network and do not overlap the addresses assigned by any other DHCP server on the network. Enabling this feature with incorrect address pools will cause problems on your network. Configure the DNS Client [Device-Name]>set dnsstatus enable [Device-Name]>set dnsprisvripaddr <IP address of primary DNS server> [Device-Name]>set dnssecsvripaddr <IP address of secondary DNS server> [Device-Name]>set dnsdomainname <default domain name> [Device-Name]>show dns
Figure A-14 Results of “show dns” CLI command 178
Page 179
Command Line Interface (CLI) Other Network Settings
AP-700 User Guide
Configure DHCP Relay Perform the following command to enable or disable DHCP Relay Agent Status. NOTE: You must have at least one entry in the DHCP Relay Server Table before you can set the DHCP Relay Status to Enable. [Device-Name]>set dhcprelaystatus enable Configure DHCP Relay Servers Perform the following command to configure and enable a DHCP Relay Server. The AP allows the configuration of a maximum of 10 server settings in the DHCP Relay Agents server table. [Device-Name]>set dhcprlyindex 1 dhcprlyipaddr <ip address> dhcprlycmt <comment> dhcprlystatus 1 (1 to enable, 2 to disable, 3 to delete, 4 to create) Maintain Client Connections using Link Integrity [Device-Name]>show linkinttbl (this shows the current links) [Device-Name]>set linkinttbl <1–5 (depending on what table row you wish to address)> ipaddr <ip address of the host computer you want to check> [Device-Name]>set linkintpollint <the interval between link integrity checks> [Device-Name]>set linkintpollretx <number of times to retransmit before considering the link down> [Device-Name]>set linkintstatus enable [Device-Name]>show linkinttbl (to confirm new settings) [Device-Name]>reboot 0 Change Wireless Interface Settings See Interfaces for information on the parameters listed below. The AP uses index 3. Operational Mode [Device-Name]>set wif 3 mode <see table> Mode
Operational Mode
1 dot11b-only
2 dot11g-only
3 dot11bg
4 dot11a-only
5 dot11g-wifi
Autochannel Select (ACS) ACS is enabled by default. Reboot after disabling or enabling ACS. [Device-Name]>set wif 3 autochannel <enable/disable> [Device-Name]>reboot 0 Enable/Disable Closed System [Device-Name]>set wif 3 closedsys <enable/disable>
179
Page 180
Command Line Interface (CLI) Other Network Settings
AP-700 User Guide
Shutdown/Resume Wireless Service [Device-Name]>set wif 3 wssstatus <1 (resume)/2 (shutdown)>
Set Load Balancing Maximum Number of Clients [Device-Name]>set wif 3 lbmaxclients <1–63>
Set the Multicast Rate (802.11a/b/g) [Device-Name]>set wif 3 multrate <6, 12, 24 (Mbits/sec)>
Enable/Disable Super Mode (802.11a/g only) [Device-Name]>set wif 3 supermode <enable/disable> Enable/Disable Turbo Mode (802.11a/g only) [Device-Name]>set wif 3 turbo <enable/disable> NOTE: Super mode must be enabled on the interface before Turbo mode can be enabled.
Configure Antenna Diversity [Device-Name]>set wif 3 atdiversity <1, 2, 5(auto)> (see below) [Device-Name]>reboot 0 Value
Corresponding Antenna Enabled
1
802.11a/b/g (connector 1)
2
802.11a/b/g (connector 2)
5 (auto)
Both antennas
NOTE: See Antennas for more information on internal and external antenna ports.
Set the Distance Between APs [Device-Name]>set wif 3 distaps <1–5> (see below) [Device-Name]>reboot 0 Value
Distance Between APs
1
Large
2
Medium
3
Small
4
Mini
5
Micro
180
Page 181
Command Line Interface (CLI) Other Network Settings
AP-700 User Guide
Set Ethernet Speed and Transmission Mode [Device-Name]>set etherspeed <value> (see below) [Device-Name]>reboot 0 Ethernet Speed and Transmission Mode 10 Mbits/sec - half duplex 10 Mbits/sec - full duplex 10 Mbits/sec - auto duplex 100 Mbits/sec - half duplex 100 Mbits/sec - full duplex Auto Speed - half duplex Auto Speed - auto duplex
Value 10halfduplex 10fullduplex 10autoduplex 100halfduplex 100fullduplex autohalfduplex autoautoduplex (default)
Set Interface Management Services Edit Management IP Access Table [Device-Name]>set mgmtipaccesstbl <index> ipaddr <IP address> ipmask <subnet mask> Configure Management Ports [Device-Name]>set snmpifbitmask <(see below)> [Device-Name]>set httpifbitmask <(see below)> [Device-Name]>set telifbitmask <(see below)> Choose from the following values: Interface Bitmask 0 or 2 = Disable (all interfaces) 1 or 3 = Ethernet only 4 or 6 = Wireless only 5 or 7 = Enable all interfaces
Description All management channels disabled Ethernet only enabled Wireless A only enabled All management channels enabled
Set Communication Ports [Device-Name]>set httpport <HTTP port number (default is 80)> [Device-Name]>set telport <Telnet port number (default is 23)> Configure Secure Socket Layer (HTTPS) Enabling SSL and configuring a passphrase allows encrypted Secure Socket Layer communications to the AP through the HTTPS interface. [Device-Name]>set sslstatus <enable/disable> The user must change the SSL passphrase when uploading a new certificate/private key pair, which will have a corresponding passphrase. [Device-Name]>set sslpassphrase <SSL certificate passphrase> [Device-Name]>show http (to view all HTTP configuration information including SSL.)
181
Page 182
Command Line Interface (CLI) Other Network Settings
AP-700 User Guide
Set Telnet Session Timeouts [Device-Name]>set tellogintout <time in seconds between 1 and 300 (default is 30)> [Device-Name]>set telsessiontout <time in seconds between 1 and 36000 (default is 900)> Configure Serial Port Interface NOTE: To avoid unexpected performance issues, leave Flow Control at the default setting (none) unless you are sure what this setting should be. [Device-Name]>set serbaudrate <2400, 4800, 9600, 19200, 38400, 57600> [Device-Name]>set serflowctrl <none, xonxoff> [Device-Name]>show serial
Figure A-15 Result of “show serial” CLI Command Configure Syslog [Device-Name]>set syslogpriority <1–7 (default is 6)> [Device-Name]>set syslogstatus <enable/disable> [Device-Name]>set sysloghbstatus <enable/disable> (default is disable) [Device-Name]>set sysloghbinterval <1–604800> (default is 900 seconds) [Device-Name]>set sysloghosttbl <index> ipaddr <ipaddress> cmt <comment> status <enable/disable> Configure Intra BSS [Device-Name]>set intrabssoptype <passthru (default)/block)> Configure Wireless Distribution System Create/Enable WDS [Device-Name]>set wdstbl <Index> partnermacaddr <MAC Address> status enable Enable/Disable WDS [Device-Name]>set wdstbl <Index> status <enable/disable> NOTE: <Index> is 3.1–3.6. To determine the index, type show wdstbl at the prompt. NOTE: When WDS is enabled, spanning tree protocol is automatically enabled. It may be manually disabled. If Spanning Tree protocol is enabled by WDS and WDS is subsequently disabled, Spanning tree will remain enabled until it is manually disabled. See Spanning Tree Parameters. Configure MAC Access Control Setup MAC (Address) Access Control [Device-Name]>set wifssidtbl <index> aclstatus enable/disable [Device-Name]>set macacloptype <passthru, block> [Device-Name]>reboot 0 182
Page 183
Command Line Interface (CLI) Other Network Settings
AP-700 User Guide
Add an Entry to the MAC Access Control Table [Device-Name]>set macacltbl 0 macaddr <MAC Address> status enable [Device-Name]>show macacltbl Disable or Delete an Entry in the MAC Access Control Table [Device-Name]>set macacltbl <index> status <disable/delete> [Device-Name]>show macacltbl NOTE: For larger networks that include multiple Access Points, you may prefer to maintain this list on a centralized location using the RADIUS parameters (see Set RADIUS Parameters). Set RADIUS Parameters Configure RADIUS Authentication servers Perform the following command to configure a RADIUS Server and assign it to a VLAN. The RADIUS Server Profile index is specified by the index parameter and the subindex parameter specifies whether you are configuring a primary or secondary RADIUS server. [Device-Name]>set radiustbl <Index> profname <Profile Name> seraddrfmt <1 - IP Address 2 - Name> sernameorip <IP Address or Name> port <value> ssecret <value> responsetm <value> maxretx <value> acctupdtintrvl <value> macaddrfmt <value> authlifetm <value> radaccinactivetmr <value> vlanid <vlan id -1 to 4094> status enable NOTE: To create a new RADIUS profile, use 0 for <Index>. Examples of Configuring Primary and Secondary RADIUS Servers and Displaying the RADIUS Configuration Primary server configuration: [Device-Name]>set radiustbl 1.1 profname "MAC Authentication" seraddrfmt 1 sernameorip 20.0.0.20 port 1812 ssecret public responsetm 3 maxretx 3 acctupdtintrvl 0 macaddrfmt 1 authlifetm 900 radaccinactivetmr 5 vlanid 22 status enable Secondary server configuration: [Device-Name]>set radiustbl 1.2 profname "MAC Authentication" seraddrfmt 1 sernameorip 20.0.0.30 port 1812 ssecret public responsetm 3 maxretx 3 acctupdtintrvl 0 macaddrfmt 1 authlifetm 900 radaccinactivetmr 5 vlanid 33 status enable [Device-Name]>show radiustbl Index Primary/Backup Profile Name Server Status Server Addressing Format IP Address/Host Name Destination Port VLAN Identifier MAC Address Format Response Time Maximum Retransmission Authorization Lifetime Accounting Update Interval Accounting Inactivity Timer
: 1 : Primary : MAC Authentication : notReady : ipaddr : 0.0.0.0 : 1812 : -1 : dashdelimited : 3 : 3 : 0 : 0 : 5
183