Professional Documents
Culture Documents
DWL-2100AP: 802.11b/g Access Point Command Line Interface Reference Manual
DWL-2100AP: 802.11b/g Access Point Command Line Interface Reference Manual
RECYCLABLE
Table of Contents
Using the CLI .................................................................................................................................................................................................................................................................... 1
Command Syntax.............................................................................................................................................................................................................................................................. 5
Utility Commands............................................................................................................................................................................................................................................................. 7
Ethernet Commands.........................................................................................................................................................................................................................................................8
Wireless Commands .........................................................................................................................................................................................................................................................9
Multi-SSID and VLAN Commands................................................................................................................................................................................................................................ 14
Access Control List Commands ..................................................................................................................................................................................................................................... 16
Radius Server Commands .............................................................................................................................................................................................................................................. 17
DHCP Server Commands ............................................................................................................................................................................................................................................... 18
Snmp Commands............................................................................................................................................................................................................................................................ 19
Time Display & SNTP Commands ................................................................................................................................................................................................................................. 21
Telnet & SSH Commands...............................................................................................................................................................................................................................................22
System Log Command....................................................................................................................................................................................................................................................24
First-Time Configuration Examples ..............................................................................................................................................................................................................................25
1
U SING THE CLI
The DWL-2100AP can be accessed by Telnet. Using Microsoft Windows Operation system as example, open the Command Prompt on the computer that will be used for configuring and
managing the AP and enter telnet and IP address of DWL-2100AP in the first line. Using the default IP address as example, enter telnet 192.168.0.50 to cause the following screen to open:
Type admin for the D -Link Access Point login username in the screen above and press Enter. The following screen opens:
1
Commands are entered at the command prompt, D-Link Access Point wlan1 >
Press Enter to see a list of all the available commands. Alternatively, you may enter help and the press Enter.
When you enter a command without all of its required parameters, the CLI will prompt you with a list of possible completions. For example, if tftp was entered, the following screen
opens:
3
This screen displays all the possible command completions for tftp
When you enter a command without a variable or value that needs to be specified, the CLI will prompt you with further information about what is needed to complete the command. For
example, if snmp authtrap was entered, the following screen open s:
The missing value for the snmp authtrap command, enable/disable, is displayed in the screen above.
2
C OMMAND S YNTAX
The following symbols are used to describe how command entries are made and values and arguments are specified in this manual. The online help contained in the CLI and available
through the console interface uses the same syntax.
<angle brackets>
Purpose
Syntax
Description
Example Command
[square brackets]
Purpose
Syntax
Description
Example Command
get multi-authentication 2
: colon
Purpose
Syntax
Description
Example Command
3
U TILITY C OMMANDS
Help Command:
help
Function
Display CLI Command List
Ping Command:
ping
reboot
quit
Syntax
Ping
ping <xxx.xxx.xxx.xxx>
Function
Syntax
help or ?
Function
Syntax
set factorydefault
reboot
quit
Function
Syntax
version
Function
get cpuloadlimit
get cpuloadperiod
set cpuloadlimit
set cpuloadperiod
Addminstration Command:
get login
get uptime
set login
set password
get systemname
set systemname
Syntax
get cpuloadlimit
get cpuloadperiod
set cpuloadlimit [0-100]
set cpuloadperiod [0-100]
Function
Syntax
get login
get uptime
set login <username>
set password
get systemname
set systemname <name>
4
E THERNET C OMMANDS
Get Command:
get hostipaddr
get ipaddr
get ipmask
get gateway
get lcp
get lcplink
get dhcpc
Function
Syntax
Set Command:
get hostipaddr
get ipaddr
get ipmask
get gateway
get lcp
get lcplink
get dhcpc
Function
set ipaddr
Set IP Address
set ipmask
set gateway
set dhcpc
Syntax
set ipaddr <xxx.xxx.xxx.xxx>
Explanation: <xxx.xxx.xxx.xxx> is IP address
set ipmask < xxx.xxx.xxx.xxx>
Explanation: <xxx.xxx.xxx.xxx> is Network mask
set gateway <xxx.xxx.xxx.xxx>
Explanation: <xxx.xxx.xxx.xxx> is Gateway IP address
set dhcpc [0:1]
Explanation: 0=disable:1=enable
5
W IRELESS C OMMANDS
Fundamental
Config Commands:
Function
Syntax
find bss
find channel
find bss
find channel
find rogue
find rogue
config wlan
Find Commands:
find all
Get Command:
get serviceType
get apmode
get ssid
get ssidsuppress
get station
get wdsap
get remoteAp
get association
get autochannelselect
get frequency
get channel
get availablechannel
get rate
get beaconinterval
get dtim
get fragmentthreshold
get rtsthreshold
get power
get targetPower
get controlPower
Perform Site Survey including Super G and Turbo, Wireless service will
find all
be disrupted
Function
Display Service Type
Display current AP Mode
Display Service Set ID
Display SSID Suppress Mode is enabled or disabled
Display Client Station Connection Status
Display WDS Access Point List
Display Remote AP's Mac Address
Display Association Table that indicates the information of associated
client devices
Display state of Auto Channel Selection feature (enabled, disabled)
Display Radio Frequency (MHz)
Display Radio Frequency (MHz) and Channel Designation
Display available Radio channels
Display current Data Rate selection. Default is best.
Display Beacon Interval
Display Delivery Traffic Indication Message Beacon Rate
Display Fragment Threshold in bytes
Display RTS/CTS Threshold
Display Transmit Power Setting: Full, half, quarter, eighth, min
Display Target Power Setting
Display Control Power Setting
9
get serviceType
get apmode
get ssid
get ssidsuppress
get station
get wdsap
get remoteAp
get association
get autochannelselect
get frequency
get channel
get availablechannel
get rate
get beaconinterval
get dtim
get fragmentationthreshold
get rtsthreshold
get power
get targetPower
get controlPower
Syntax
Set Command:
set serviceType
set apmode
Function
Syntax
set ssid
set ssidsuppress
get swPower
get SuperG
get wlanstate
get shortpreamble
get wirelessmode
get 11gonly
get antenna
get sta2sta
get eth2sta
get eth2wlan
get macaddress
get config
get countrycode
get hardware
get diap
get aging
get ratecontrol
get supportrate
get MulticastRateControl
get MulticastRateIndex
get MulticastPacketControl
cpuload
get roguebsstype
get roguesecurity
get roguebandselect
get accountingcfgid
get ifping
get MaxMulticastPacketNumber
set serviceType [infrastructure: independent: any]
set apmode [ap:p2p:p2mp:p2pwithoutap: p2mpwithoutap: apr: apc]
set ssid <SSID>
SSID should be less than 33 strings.
set ssidsuppress [disable: enable]
10
set eth2wlan
set sta2sta
set eth2sta
set ratecontrol
set supportrate
set ifping
set MulticastRateControl
set MulticastRateIndex
Security
Del Command:
del key
Get Command:
get encryption
get authentication
get cipher
get keysource
get key
get keyentrymethod
get passphrase
get groupkeyupdate
Set Command:
set encryption
set authentication
set cipher
set groupkeyupdate
set key
set keyentrymethod
set keysource
set passphrase
Function
Syntax
Syntax
get encryption
get authentication
get cipher
get keysource
12
Function
Syntax
get wmm
get wmmParamBss
get wmmParam
Syntax
set wmm
set wmmParamBss ac
set wmmParam ac
13
6
M ULTI -SSID AND VLAN C OMMANDS
Get Command:
Function
Syntax
get vlanstate
get nativevlan
get Vlantag
get multi-state
get multi-ind-state [index]
get multi-ssid [index]
get multi-ssidsuppress [index]
get multi-authentication [index]
get multi-cipher [index]
get multi-encryption [index]
get multi-keyentrymethod
get multi-vlantag [index]
get multi-key [index]
get vlanstate
get nativevlan
get Vlantag
get multi-state
get multi-ind-state [index]
get multi-ssid [index]
get multi-ssidsuppress [index]
get multi-authentication [index]
get multi-cipher [index]
get multi-encryption [index]
get multi-keyentrymethod [index]
get multi-vlantag [index]
get multi-key [index]
Set Command:
Function
Syntax
set vlanstate
set nativevlan
set Vlantag
set multi-vlantag
set multi-state
set multi-ind-state
set multi-ssid
set multi-ssidsuppress
14
set multi-wmm
set multi-cipher
set multi-encryption
set multi-authentication
[open-system:shared-key:wpa:wpa-psk:wpa2:wpa2-psk:wpa-auto:w
pa-auto-psk] [index]
set multi-wmm
[disable:enable]
set multi-cipher [wep:aes:tkip:auto] [index]
set multi-encryption [disable:enable] [index]
set multi-keyentrymethod
set multi-key
set multi-passphrase
Function
rstp setstate
Enable or Disable Spanning Tree Protocol supporting in VLAN / rstp setstate [0:1]
Multi-SSID
Explanation: 0=disable:1=enable
Show Spanning Tree State
rstp getstate
rstp setstp maxage [6 - 40]
rstp setstp hellotime [1-10]
rstp setstp forwarddely [4-30]
Modify Spanning Tree Settings
rstp setstp priority [0-61440], (note: 0 is the highest)
rstp setstp version [1:2], (note: 1 is stp and 2 is rstp)
rstp setstp txholdcount [1-10]
rstp setstp fbpdu[0 :1], (note: 0 is disable and 1 is enable)
Show Spanning Tree Settings
rstp getstp
Modify STP Port Settings, includes cost , priority, edge, p2p and state rstp setport
parameters
Show STP Port Settings
rstp getport
Set Factory Default
rstp setdefault
rstp getstate
rstp setstp
rstp getstp
rstp setport
rstp getport
rstp setdefault
Syntax
15
7
A CCESS C ONTROL L IST C OMMANDS
Del Command:
del acl
del wdsacl
Function
Delete specified Access Control List entry
Delete specified WDS ACL entry: 1-8
Get Command:
get acl
get wdsacl
enable
disable
allow
deny
Function
Syntax
Set Command:
set acl
set acl
set acl
set acl
Syntax
get acl
get wdsacl
Function
Syntax
IPfilter Command:
set acl
set acl
set acl
set acl
enable
disable
allow <xx:xx:xx:xx:xx:xx>
deny <xx:xx:xx:xx:xx:xx>
Function
ipfilter state
ipfilter add
ipfilter del
ipfilter clear
Ipfilter list
rouge Command:
Add a IP Entry
Del a IP Entry
Clear IP Pool
Display IP Pool
rogue add
rogue del
rogue deleep
rogue list
rogue listeep
Syntax
ipfilter state
ipfilter state [on:off]
ipfilter add <xxx.xxx.xxx.xxx>
ipfilter del <xxx.xxx.xxx.xxx>
ipfilter clear
ipfilter list
Function
Syntax
rogue add <index>
rogue del <index>
rogue deleep <index>
rogue list
rogue listeep
16
8
R ADIUS S ERVER C OMMANDS
Get Command:
Function
Syntax
get radiusname
get radiusport
get radius2ndstate
get radiusname2nd
get radiusport2nd
get radiussecret2nd
get radiuscfgid
get accountingstate
get accountingname
get accountingport
get accounting2ndstate
get accounting2ndname
get accounting2ndport
get radiussecret
get radiusname
get radiusport
get radius2ndstate
get radiusname2nd
get radiusport2nd
get radiussecret2nd
get radiuscfgid
get accountingstate
get accountingname
get accountingport
get accounting2ndstate
get accounting2ndname
get accounting2ndport
get radiussecret
Set Command:
Function
Syntax
set radiusname
set radiusname2nd
set radiusport2nd
set radiussecret2nd
set accountingstate
set accountingname
set accountingport
set accounting2ndstate
set accounting2ndname
set accounting2ndport
set radiusport
set radiussecret
17
9
DHCP S ERVER C OMMANDS
Command:
dhcps help
dhcps state
dhcps state <on:off>
dhcps dynamic info
dhcps dynamic ip
dhcps dynamic mask
dhcps dynamic gw
dhcps dynamic dns
dhcps dynamic wins
dhcps dynamic range
dhcps dynamic lease
dhcps dynamic domain
dhcps dynamic state
dhcps dynamic map
dhcps static info
dhcps static ip
dhcps static mask
dhcps static gw
dhcps static dns
dhcps static wins
dhcps static domain
dhcps static mac
dhcps static state
dhcps static map
Function
Syntax
dhcps help
dhcps state
dhcps state [on:off]
dhcps dynamic info
dhcps dynamic ip <x.x.x.x>
dhcps dynamic mask <x.x.x.x>
dhcps dynamic gw <x.x.x.x.>
dhcps dynamic dns <x.x.x.x>
dhcps dynamic wins <x.x.x.x>
dhcps dynamic range [0-255]
dhcps dynamic lease [60-31536000]
dhcps dynamic domain <string>
dhcps dynamic state [on:off]
dhcps dynamic map
dhcps static info [0-255] [0-255]
dhcps static <id> ip <x.x.x.x>
dhcps static <id> mask <x.x.x.x>
dhcps static <id> gw <x.x.x.x.>
dhcps static <id> dns <x.x.x.x>
dhcps static <id> wins <x.x.x.x>
dhcps static <id> domain <string>
dhcps static <id> mac <xx:xx:xx:xx:xx:xx>
dhcps static <id> state [on:off]
dhcps static map
Note: The DHCP server function is to assign Dynamic IP to Wireless Client devices. It doesnt assign IP to Ethernet port.
18
10
S NMP C OMMANDS
Command
Function
get snmp
set snmp
snmp adduser
snmp deluser
snmp showuser
snmp setauthkey
snmp setprivkey
snmp addgroup
snmp delgroup
snmp showgroup
snmp addview
snmp delview
snmp showview
snmp editpubliccomm
Syntax
get snmp
set snmp [disable:enable]
snmp adduser <Username> <GroupName> [AuthProtocol]
[Authkey] [PrivProtocol] [PrivKey]
Explanation:
AuthProtocol: 1 Non, 2 MD5, 3 SHA
Autheky: Key string or none
PrivProtocl:1 none, 2 DES
PrivKey: Key string or none
snmp deluser <username>
snmp showuser
snmp setauthkey <username> <Authkey>
snmp setauthkey <username> <Privkey>
snmp addgroup <GroupName>
[Security Level] <ReadView>
<WriteView> <NotifyView>
Explanation:
Security Level:1 no_auth no_priv, 2 auth no_priv, 3 auth priv
ReadView: <string> or NULL for None
WriteView: <string> or NULL for None
NotifyView: <string> or NULL for None
snmp delgroup <GroupName >
snmp showgroup
snmp addview <ViewName> <OID > [Type]
Explanation:
ViewName: <string>
OID:<string>
Type:1: included, 2: excluded
snmp delview <ViewName> <OID >
Explanation:
ViewName: <string>
OID: <string> or all for all OID
snmp showview
snmp editpubliccomm <publicCommunityString>
19
snmp addcomm
snmp delcomm
snmp showcomm
snmp addhost
snmp delhost
snmp showhost
snmp authtrap
snmp sendtrap
snmp status
snmp suspend
snmp resume
snmp load_default
snmp location
snmp showlocation
get trap
set trap
20
11
T IME D ISPLAY & SNTP C OMMANDS
Command:
timeofday
Function
timeofday
Note: Need to set up SNTP/NTP server firstly
Get Command
get sntpserver
get tzonelist
get tzone
get daylightsaving
Syntax
Function
Syntax
Set Command
get sntpserver
get tzonelist
get tzone
get daylightsaving
Function
set sntpserver
set tzone
set daylightsaving
Syntax
set sntpserver <xxx.xxx.xxx.xxx>
Explanation: <xxx.xxx.xxx.xxx> is IP address
set tzone [0=GMT]
Note: use get tzonelist to get tzone information
set daylightsaving [0:1]
Explanation: 0=disable:1=enable
21
12
T ELNET & SSH C OMMANDS
TFTP Commands:
Command:
Function
Syntax
tftp get
tftp uploadtxt
tftp srvip
tftp update
tftp info
get telnet
get timeout
set telnet
set timeout
SSH Commands
Command:
Function
ssh showuser
ssh setrekey
ssh loaddefault
ssh showalgorithm
Syntax
ssh showuser
ssh setrekey [0-3]
Explanation:
0:10Min
1:30Min
2:60Min
3:Never
ssh loaddefault
ssh showalgorithm
22
Igmp Command
Function
Syntax
igmp state
igmp enable
igmp disable
igmp dump
igmp setrssi
igmp getrssi
igmp state
igmp enable
igmp disable
igmp dump
igmp setrssi <string>
igmp getrssi
ssh setalgorithm
23
13
S YSTEM L OG C OMMAND
Get Command
Function
Syntax
get syslog
get syslog
Set Command
Function
Syntax
set syslog
24
14
F IRST-T IME C ONFIGURATION E XAMPLES
The following AP configuration examples are provided to help first-time users get started. The user commands are in bold for easy reference.
Many users will want to set a new IP address for the DWL-2100AP. This will also require setting an IP mask and a Gateway IP address. The following is an example in which the APs
default IP address of 192.168.0.50 is changed to 192.168.0.55.
D-Link Access Point wlan1 -> set ipaddr 192.168.0.55
IP Address: 192.168.0.55
D-Link Access Point wlan1 -> set ipmask 255.255.255.0
IP Subnet Mask: 255.255.255.0
D-Link Access Point wlan1 -> set gateway 192.168.0.254
Gateway IP Address: 192.168.0.254
D-Link Access Point wlan1 -> set channel 6
Radio Frequency: 2437 MHz (IEEE 6)
D-Link Access Point wlan1 -> set ssid myAP-2100
Once the user has determined what type of authentication is best for their wireless network, follow the appropriate instructions below.
The following is an example in which authentication is set to Open System.
D-Link Access Point wlan1 -> set authentication open-system
Authentication Type: Open-System
D-Link Access Point wlan1 -> set encryption disable
Encryption: Disabled
25
26
Once the user has set up the AP to their satisfaction, the device must be rebooted to save settings.
D-Link Access Point wlan1 -> reboot
27