DLink DWL 2700AP_B2_CLI Manual_v3.2 2700AP B2 CLI Manual V3.2

User Manual: DLink

Open the PDF directly: View PDF PDF.
Page Count: 30

DownloadDLink - DWL-2700AP_B2_CLI Manual_v3.2 DWL-2700AP B2 CLI Manual V3.2
Open PDF In BrowserView PDF
DWL-2700AP
802.11b/g Access Point
Command Line Interface Reference Manual

Ver 3.20 (Feberuary 2009)

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 .................................................................................................................................................................................................18
DHCP Server Commands...................................................................................................................................................................................................19
Snmp Commands..............................................................................................................................................................................................................20
Time Display & SNTP Commands ......................................................................................................................................................................................22
Telnet & SSH Commands ..................................................................................................................................................................................................23
System Log & SMTP Command .........................................................................................................................................................................................25
First-Time Configuration Examples ...................................................................................................................................................................................26

802.11 b/g Access Point Command Line Interface Manual

1
U SING THE CLI
The DWL-2700AP 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-2700AP in the first line. Using the default IP address as example, enter telnet 192.168.0.50 to cause the following screen to open:

Press Enter in the screen above. The following screen opens:

Type “admin” for the D-Link Access Point login username in the screen above and press Enter. The following screen opens:
1

802.11 b/g Access Point Command Line Interface Manual

Press Enter as there is no initial password.
The following screen opens to indicates you have successfully logged into the DWL-2700AP.

Commands are entered at the command prompt, D-Link Access Point wlan1 – >

2

802.11 b/g Access Point Command Line Interface Manual
There are a number of helpful features included in the CLI. Entering the “?” command and then pressing Enter will display a list of all of the top-level commands. The same information
can also be displayed by entering “help”.

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

802.11 b/g Access Point Command Line Interface Manual

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 opens:

The missing value for the “snmp authtrap” command, “enable/disable,” is displayed in the screen above.

4

802.11 b/g Access Point Command Line Interface Manual

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.

Note: All commands are case-insensitive.


Purpose

Encloses a variable or value that must be specified.

Syntax

set login 

Description

In the above syntax example, you must specify the username.
Do not type the angle brackets.

Example Command

set login accounting

[square brackets]
Purpose

Encloses a required value or set of required arguments. One
value or argument can be specified.

Syntax

get multi-authentication [index]

Description

In the above syntax example, you must specify an index to be
created. Do not type the square brackets.

Example Command

get multi-authentication 2

5

802.11 b/g Access Point Command Line Interface Manual

: colon
Purpose

Separates two or more mutually exclusive items in a list, one of
which must be entered.

Syntax

set antenna [1:2:best]

Description

In the above syntax example, you must specify either 1, 2 or
best. Do not type the colon.

Example Command

set antenna best

6

802.11 b/g Access Point Command Line Interface Manual

3
U TILITY C OMMANDS
Help Command:
help

Function
Display CLI Command List

Ping Command:
ping
Restart and Exit Commands:
set factorydefault
reboot
quit
Version Display Command:
version
System Status Command:
get bdtempmode
set bdtempmode
get bdalarmtemp
set bdalarmtemp
get bdcurrenttemp
set detectlightmode

Syntax
help or ?

Function

Syntax

Ping

ping 
Function

Syntax

Restore to Default Factory Settings
Reboot Access Point. It is necessary to reboot the AP after making
configuration changes for those changes to take effect.
Logoff

set factorydefault
reboot
quit

Function

Syntax

Displays the currently loaded firmware version

version

Function

Syntax

Display Monitor Board Temperature Mode
Set Monitor Board Temperature Mode (In Centigrade)
Display Monitor Board Temperature Alarm Limitation (In Centigrade)
Set Monitor Board Temperature Alarm Limitation (In Centigrade)
Display Current Board Temperature (In Centigrade)
Set HW Detect Light Mode

get bdtempmode
set bdtempmode [enable:disable]
get bdalarmtemp
set bdalarmtemp 
get bdcurrenttemp
set detectlightmode [enable:disable]

Addminstration Command:
get login
get uptime
set login
set password
get wlanManage
set wlanmanage
get systemname
set systemname

Function

Syntax

Display Login User Name
Display UpTime
Modify Login User Name
Modify Password
Display manage AP with WLAN Mode
Set manage AP with WLAN Mode
Display Access Point System Name
Specify Access Point System Name

get login
get uptime
set login 
set password
get wlanManage
set wlanmanage [enable:disable]
get systemname
set systemname 

Other Command:
radar!

Function
Simulate radar detection on current channel

radar!

Syntax

7

802.11 b/g Access Point Command Line Interface Manual

4
E THERNET C OMMANDS
Get Command:
get ipaddr
get ipmask
get gateway
get lcp
get lcplink
get dhcpc
get domainsuffix
get nameaddr

Function

Syntax

Display IP Address
Display IP Network/Subnet Mask
Display Gateway IP Address
Display Link Integrate state
Display Ethernet Link State
Display DHCP Client State of enabled or disabled
Display Domain Name Server Suffix
Display IP Address Of Name Server

Set Command:

get ipaddr
get ipmask
get gateway
get lcp
get lcplink
get dhcpc
get domainsuffix
get nameaddr

Function

set hostipaddr

Set Boot Host IP Address

set ipaddr

Set IP Address

set ipmask

Set IP Network/Subnet Mask

set lcp

Set Lcp State

set gateway

Set Gateway IP Address

set dhcpc
set domainsuffix
set nameaddr

Set DHCP Clinet State of enable or disabled
Set Domain Name Server Suffix
Set Name Server IP Address

set ethctrl

ethernet control Speed and FullDuplex

Syntax
set hostipaddr 
Explanation:is IP address
set ipaddr 
Explanation:  is IP address
set ipmask < xxx.xxx.xxx.xxx>
Explanation:  is Network mask
set lcp [0:1]
Explanation:0=disable 1=enable
set gateway 
Explanation:  is Gateway IP address
set dhcp[disable:enable]
set domainsuffix 
set nameaddr [1:2] 
set ethctrl[0:1:2:3:4]
Explanation:
0: Auto
1: 100M
FullDuplex
2: 100M
HalfDuplex
3: 10M
FullDuplex
4: 10M
HalfDuplex

8

802.11 b/g Access Point Command Line Interface Manual

5
W IRELESS C OMMANDS
Fundamental
Config Commands:
config wlan

Function

Syntax

Select WLAN Adapter to configure. DWL-2700AP only WLAN 1 is
available for configuration. This command is not necessary.

config wlan [0:1]

Find Commands:
find bss
find channel
find all
find rogue
Get Command:
get apmode
get ssid
get ssidsuppress
get station
get wdsap
get remoteAp
get association
get autochannelselect
get channel
get availablechannel
get rate
get beaconinterval
get dtim
get fragmentthreshold
get rtsthreshold
get power
get wlanstate
get shortpreamble
get wirelessmode

Perform Site Survey, Wireless service will be disrupted
Channel spanning to select the Preferred Channel
Perform Site Survey including Super G and Turbo, Wireless service will
be disrupted

find bss
find channel

Find Rogue BSS

find rogue

find all

Function

Syntax

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) 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 Wireless LAN state status (enabled or disabled)
Display Short Preamble Usage state: enabled or disabled
Display Wireless LAN Mode (11b or 11g)
9

get apmode
get ssid
get ssidsuppress
get station
get wdsap
get remoteAp
get association
get autochannelselect
get channel
get availablechannel
get rate
get beaconinterval
get dtim
get fragmentationthreshold
get rtsthreshold
get power
get wlanstate
get shortpreamble
get wirelessmode

802.11 b/g Access Point Command Line Interface Manual
get 11gonly
get antenna
get sta2sta
get eth2sta
get trapsevers
get eth2wlan
get macaddress
get config
get countrycode
get hardware
get aging
get MulticastPacketControl
get
MaxMulticastPacketNumber
get 11goptimize
get 11goverlapbss
get assocnum
get eth2wlanfilter
get extendedchanmode
get iapp
get iapplist
get iappuser
get minimumrate
get dfsinforshow
get wdsrssi
get ackmode
get acktimeout
Set Command:
set apmode
set ssid
set ssidsuppress
set autochannelselect
set rate
set beaconinterval

Display 11g Only Mode operational state of enabled or disabled
Display Antenna Diversity of 1, 2, or best
Display wireless STAs to wireless STAs connect state
Display ethernet to wireless STAs connect state
Get trap server state
Display Eth2Wlan Broadcast packet filter state
Display Mac Address
Display Current AP Configuration Settings
Display Country Code setting
Display Hardware Revisions of WLAN Components
Display Aging Interval in seconds
Display Multicast Packet Control state

get 11gonly
get antenna
get sta2sta
get eth2sta
get trapsevers
get eth2wlan
get macaddress
get config
get countrycode
get hardware
get aging
get MulticastPacketControl

Display Max Multicast Packet Number

get MaxMulticastPacketNumber

Display 11g Optimization Level
Display Overlapping BSS Protection
Display Number Of Association STA
Display Eth2WLAN BC & MC filter type
Display Extended Channel Mode
Display IAPP State
Display IAPP Group List
Display IAPP User Limit Number
Display Minimum Rate
Display DFS infor
Display WDS Access Point RSSI
Display Variable Ack Time Mode
Display Ack Time Out Number

get 11goptimize
get 11goverlapbss
get assocnum
get eth2wlanfilter
get extendedchanmode
get iapp
get iapplist
get iappuser
get minimumrate
get dfsinforshow
get wdsrssi
get ackmode
get acktimeout

Function

Syntax

Set AP Mode to Normal AP, WDS with AP Mode,WDS without AP Mode
or AP Client
Set Service Set ID
Set SSID Suppress Mode enable or disable
Set Auto Channel Selection to enable or disable
Set Data Rate
Modify Beacon Interval 20-1000
10

set apmode [ap:wdswithap:wds:apc]
set ssid 
set ssidsuppress [disable:enable]
set autochannelselect [disable:enable]
set rate [best:1:2:5.5:6:9:11:12:18:24:36:48:54]
set beaconinterval [20-1000]

802.11 b/g Access Point Command Line Interface Manual
set dtim
set fragmentthreshold
set rtsthreshold
set power
set roguestatus
set roguebsstypestatus
set roguebsstype
set roguesecuritystatus
set roguesecurity
set roguebandselectstatus
set roguebandselect
set wlanstate
set shortpreamble

Set Delivery Traffic Indication Message Beacon Rate. Default is 1
Set Fragment Threshold
Set RTS/CTS Threshold in bytes
Set Transmit Power in predefined increments
Set Rogue AP status
Set Rogue AP BSS type status
Set ROGUE AP BSS Type
Set Rogue AP Security Type status
Set ROGUE AP Security Type
Set Rogue AP Band Select status
Set ROGUE AP Band Select
Select the operational state of wlan: enabled or disabled
Set Short Preamble

set wirelessmode

set wirelessmode to 11b/11g.

set 11gonly
set antenna
set aging
set channel

Only 802.11g clients will be Allowed to connect to this BSS
Set Antenna selection of 1, 2, or best
Set Aging Interval
Select Radio Channel of Operation

set eth2wlan

Enable or Disable the Eth2Wlan Broadcast packet filter feature

set sta2sta
set eth2sta
set trapsevers

Set wireless STAs to wireless STAs connect state (WLAN Partition)
Set ethernet to wireless STAs connect state
Set trap server state

set MulticastPacketControl

Enable or Disable Multicast Packet Control

set dtim [1-255]
set fragmentationthreshold [256-2346]
set rtsthreshold [256-2346f]
set power [full:half:quarter:eighth:min]
set roguestatus [enable:disable]
set roguebsstypestatus [enable:disable]
set roguebsstype [apbss:adhoc:both']
set roguesecuritystatus [enable: disable]
set roguesecurity
set roguebandselectstatus [enable:disable]
set roguebandselect
set wlanstate [disable:enable]
set shortpreamble [disable: enable]
set wirelessmode [11a:11b:11g]
NOTE:11a is not supported.
set 11gonly [disable:enable]
set antenna [1:2:best]
set aging 
set channel [1:2:3:4:5:6:7:8:9:10:11]
set eth2wlan [0:1]
Explanation: 0=disable:1=enable
set sta2sta [disable: enable]
set eth2sta [disable: enable]
set trapsevers [disable:enable]
set MulticastPacketControl [0:1]
Explanation: 0=disable:1=enable

set
MaxMulticastPacketNumber
set extendedchanmode

Set Max Multicast Packet Number

set MaxMulticastPacketNumber [0-1024]

Set Extended Channel Mode

set eth2wlanfilter

Set Eth2WLAN Broadcast & Multicast Filter type

set ackmode
set acktimeout

Set Ack Mode
Set Ack Timeout Number

set iapp

Set IAPP State.

set iappuser

Set IAPP User Limit Number

set extendedchanmode [disable:enable]
set eth2wlanfilter [1:2:3]
Explanation: 1=Broadcast filter: 2=Multicast filter: 3=Both of BC and
MC.
set ackmode [enable:disable]
set acktimeout 
set iapp [0:1]
Explanation: 0=close 1=open
set iappuser [0-64]
11

802.11 b/g Access Point Command Line Interface Manual

Security
Del Command:
del key
Get Command:
get encryption
get authentication

get cipher

get keysource

get key
get keyentrymethod
get groupkeyupdate
get defaultkeyindex
get dot1xweptype
get reauthperiod
Set Command:
set encryption
set authentication
set cipher
set groupkeyupdate
set key
set keyentrymethod
set keysource
set passphrase
set dot1xweptype
set reauthperiod

Function

Syntax

Delete Encryption key

del key [1-4]
Function

Syntax

Display (WEP) configuration state (enabled or disabled)
Display Authentication Type
Display Encryption cipher type
Explanation:
Response WEP for choosing WEP
Response Auto for choosing WPA-Auto
Resopnse AES for choosing WPA-AES
Response TKIP for choosing WPA-TKIP
Display Source Of Encryption Keys:
Explanation:
Response Flash Memory for static key
Response Key Server for dynamic key
Response mixed for mix static and dynamic key
Display specified WEP encryption Key
Display Encryption Key Entry Method ASCII or Hexadecimal
Display WPA Group Key Update Interval (in Seconds)
Display Active Key Index
Display 802.1x Wep Key Type
Display Manual Reauthentication Period
Function

get encryption
get authentication

get cipher

get keysource

get key [1-4]
get keyentrymethod
get groupkeyupdate
get defaultkeyindex
get dot1xweptype
get reauthperiod
Syntax

Enable or Disable Encryption Mode

set encryption [disable: enable]
set authentication [open-system: shared-key: auto:8021x: WPA:
Set Authentication Type
WPA-PSK: WPA2: WPA2-PSK:WPA-AUTO:WAP2-AUTO-PSK]
Set Cipher of wep, aes, tkip, or auto negotiate
set cipher [wep:aes:tkip:auto]
Set Group Key Update Interval (in Seconds) for TKIP
set groupkeyupdate 
set key [1-4] default
Used to set the specified wep key value and size
set key [1-4] [40:104:128] < value>
Select Between ASCII or HEX encryption key format
set keyentrymethod [asciitext : hexadecimal]
Select Source of Encryption Keys: static(flash), dynamic (server), mixed set keysource [flash:server:mixed]
Modify Passphrase
set passphrase 
Set 802.1x Wep Key Type
set dot1xweptype [static: dynamic]
set reauthperiod 
Set Manual Reauthentication Period
Explanation:  is new priod.
12

802.11 b/g Access Point Command Line Interface Manual
WMM
Get Command:
get wmm
get wmmParamBss
get wmmParam
Set Command:

Function

Syntax

Display WMM mode status (enabled or disabled)
Display WMM parameters used by STA in this BSS
Display WMM parameters used by this AP

get wmm
get wmmParamBss
get wmmParam

Function

Syntax

set wmm

Enable or Disable WMM Features

set wmmParamBss ac

Set WMM (EDCA) parameters used by STAs in this BSS

set wmmParam ac

Set WMM (EDCA) parameters used by this AP

13

set wmm [disable:enable]
set wmmParamBss ac [AC number] [logCwMin] [logCwMax] [aifs]
[txOpLimit] [acm]
Explanation:
AC number: 0->AC_BE
1->AC_BK
2->AC_BK
3->AC_BK
Exampble:
set wmmParamBss ac 0 4 10 3 0 0
set wmmParamBss ac [AC number] [logCwMin] [logCwMax] [aifs]
[txOpLimit] [acm] [ack-policy]
Explanation:
AC number: 0->AC_BE
1->AC_BK
2->AC_BK
3->AC_BK

802.11 b/g Access Point Command Line Interface Manual

6
M ULTI -SSID AND VLAN C OMMANDS
Get Command:

Function

Syntax

get vlanstate
get vlanmanage
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]

Display Vlan State status (enabled or disabled)
Display manage AP with VLAN Mode
Display Native Vlan tag
Display Vlan tag
Display Multi-SSID Mode (enabled or disabled)
Display Individual Multi-SSID State
Display SSID of the specify Multi-SSID
Display SSID Suppress Mode of the specify Multi-SSID
Display Authentication Type for Multi-SSID
Display Encryption cipher for Multi-SSID
Display Encryption Mode for Multi-SSID
Display Encryption Key Entry Method for Multi-SID
Display Vlan tag for Multi-SSID
Display Encryption Key for Multi-SSID
Display Key Source for Multi-SSID
Display AP Configuration for Multi-SSID
Display Passphrase for Multi-SSID

get vlanstate
get vlanmanage
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 multi-keysource [index]
get multi-config [index]
get multi-passphrase [index]

get multi-keysource [index]
get multi-config [index]
get multi-passphrase [index]

get multi-dot1xweptype [index] Display 802.1x Wep Key Type For Multi-SSID

get multi-dot1xweptype [index]

Set Command:

Function

Syntax

set vlanstate

Enable or Disable VLAN

set vlanmanage

Set Enabled or Disable manage AP with VLAN

set nativevlan
set Vlantag
set Vlanpristate
set Vlanpri
set ethnotag
set multi-vlantag

Set Native Vlan Tag
Set VLAN Tag
Set Vlan Priority State
Modify Vlan Priority
Set Primary Eth No Tag Stat
Set VLAN Tag for Multi-SSID

set vlanstate [disable:enable]
Note: Must Enable Multi-SSID firstly
set vlanmanage [disable:enable]
Note: Must Enable vlanstate firstly
set nativevlan [1-4096]
set vlantag 
set Vlanpristate [enable:disable]
set Vlanpri [0-7]
set ethnotag [enable:disable]
set multi-vlantag  [index]
14

802.11 b/g Access Point Command Line Interface Manual
set multi-ethnotag
set multi-vlanpri
set VlantagType
set multi-vlantagtype
set multi-state
set multi-ind-state
set multi-ssid
set multi-ssidsuppress

Set Individual Eth No Tag State
Set Vlan-Priorityi for Multi-SSID
Modify Vlantag Type
Set Vlan-Tag Typefor Multi-SSID
Enable or Disable Multi-SSID Features
Enable or Disable specifically Mulit-SSID
Set Service Set ID for Multi-SSID
Enable or Disable to broadcast SSID of Multi-SSID

set multi-authentication

Set Authentication Type for Multi-SSID

set multi-cipher
set multi-encryption

Set Cipher for Multi-SSID
Set Encryption Mode for Multi-SSID

set multi-ethnotag [index] [disable:enable]
set multi-vlanpri [pri value] [index]
set VlantagType [1:2]
set multi-vlantagtype [tagType value] [index]
set multi-state [disable:enable]
set multi-ind-state [disable:enable] [index]
set multi-ssid [index] 
set multi-ssidsuppress [disable:enable]
set multi-authentication
[open-system:shared-key:wpa:wpa-psk:wpa2:wpa2-psk:wpa-auto:w
pa-auto-psk:8021x] [index]
set multi-cipher [wep:aes:tkip:auto] [index]
set multi-encryption [disable:enable] [index]

set multi-keyentrymethod

Select Encryption Key Entry Method for Multi-SSID

set multi-keyentrymethod [hexadecimal:asciitext] [index]

set multi-vlantag [tag value]
[index]
set multi-key

Set VLAN Tag For Multi-SSID

set multi-vlantag [tag value] [index]

Set Encryption Key for Multi-SSID

set multi-keysource

Set Source Of Encryption Key For Multi-SSID

set multi-passphrase
set multi-dot1xweptype

Set PassPhrase for Multi-SSID
Set 802.1x Wep Key Type For Multi-SSID

set multi-key default [key index] [Multi-SSID index]
set multi-dot1xweptype [flash:server:mixed] [index]
Explanation:
flash=Set All Keys Will Be Read From Flash:
server=Set All Keys Will Be Derived From Authentication Server
mixed= Set Keys Read From Flash Or Derived From Authentication
Server
set multi-passphrase [index] 
set multi-dot1xweptype [static: dynamic] [index]

Routing Commands (Spaning Tree Protocol)
Set Command:

Function

Syntax

rstp getstate
rstp getstp
rstp getport

Show Spanning Tree State
Show Spanning Tree Settings
Show STP Port Settings

rstp getstate
rstp getstp
rstp getport

15

802.11 b/g Access Point Command Line Interface Manual

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

set acl strict

Syntax

Display Access Control Setting of Enabled or disabled
Display WDS Access Control List

get acl
get wdsacl

Function

Syntax

Select ACL restricted access to specified MAC addresses
Select Unrestricted access
Add specified MAC address to the allow ACL
Add specified MAC address to the deny ACL
Select Restricted Access, only clients with authorized MAC will
communicate

set acl keymap

Add WEP Encryption Key mapping for MAC Address

set wdsacl allow

Add MAC Address to WDS List

IPfilter Command:

Display or Set Remote IP Acl State

ipfilter add
ipfilter del
ipfilter clear
Ipfilter list

Add a IP Entry
Del a IP Entry
Clear IP Pool
Display IP Pool

Display Or Set Ethernet Acl State

ethacl add
ethacl del
ethacl clear
ethacl list

Add Mac  Entry
Del Mac  Entry
Clear MAC Pool
Display MAC Pool

set acl strict

Syntax
ipfilter state
ipfilter state [accept:disable:reject]
ipfilter add 
ipfilter del 
ipfilter clear
ipfilter list

Function

ethacl state

set acl enable
set acl disable
set acl allow 
set acl deny 

set acl keymap  [1-4]
set acl keymap  default
set acl keymap  [40:104:128] < value>
set wdsacl allow 

Function

ipfilter state

Ethacl Command:

del acl [1-16]
del wdsacl [1-8]

Function

Set Command:
set acl enable
set acl disable
set acl allow
set acl deny

Syntax

Syntax
ethacl state
ethacl state [accept:off:reject]
ethacl add < xx:xx:xx:xx:xx:xx >
ethacl del < xx:xx:xx:xx:xx:xx >
ethacl clear
ethacl list

16

802.11 b/g Access Point Command Line Interface Manual
Ipmanager Command:

Function

ipmanager state

Display Or Set Remote IP Management State

ipmanager add
ipmanager del
ipmanager clear
ipmanager list

Add a IP Entry
Del a IP Entry
Clear IP Pool
Display IP Pool

IGMP snooping Command:
igmp state
igmp enable
igmp disable
igmp dump
igmp setrssi
igmp getrssi
igmp setportagingtime
igmp getportagingtime
rogue Command:
rogue add
rogue del
rogue deleep
rogue list
rogue listeep

Syntax
ipmanager state
ipmanager state [on:off]
ipmanager add  
ipmanager del  
ipmanager clear
ipmanager list

Function

Syntax

IGMP snooping state
IGMP snooping enable
IGMP snooping disable
IGMP MDB dump
set igmp snp rssi threshold
get igmp snp rssi threshold
set igmp snp port aging time
get igmp snp port aging time
Function
Add a Rogue Access Point Result  Entry
Del a Rogue Access Point Result  Entry
Del a Rogue Access Point Result  Entry
Display Rogue Access Point Detection Result
Display Rogue Access Point Detection Result

igmp state [enable,disable]
igmp enable
igmp disable
igmp dump
igmp setrssi [0-100]
igmp getrssi
igmp setportagingtime [0-65535]
igmp getportagingtime
Syntax
rogue add [index]
rogue del [index]
rogue deleep [index]
rogue list
rogue listeep

17

802.11 b/g Access Point Command Line Interface Manual

8
R ADIUS S ERVER C OMMANDS
Get Command:

Function

Syntax

get radiusname
get radiusport
get accountingstate
get accountingname
get accountingport
get accounting2ndstate
get accounting2ndname
get accounting2ndport
get accountingcfgid

Display RADIUS server name or IP address
Display RADIUS port number
Display Accounting Mode
Display Accounting server name or IP address
Display Accounting port number
Display second Accounting Mode
Display second Accounting server name or IP address
Display second Accounting port number
Display the configuration of Accounting now

get radiusname
get radiusport
get accountingstate
get accountingname
get accountingport
get accounting2ndstate
get accounting2ndname
get accounting2ndport
get accountingcfgid

Set Command:

Function

set radiusname

Set RADIUS Server name or IP address

set radiusport

Set RADIUS port number

set radiussecret
set accountingstate
set accountingname

Set RADIUS shared secret
Set Accounting Mode
Set Accounting name or IP address

set accountingport

Set Accounting port number

set accounting2ndstate
set accounting2ndname
set accounting2ndport
set accountingcfgid

Set second Accounting Mode
Set second Accounting server name or IP address
Set second Accounting port number
Set the configuration of Accounting now

Syntax
set radiusname 
Explanation:  is IP address
set radiusport 
Explanation:  is port number, default value is 1812
set radiussecret
set accountingstate [enable:disable]
set accountingname [xxx.xxx.xxx.xxx : servername]
set accountingport 
Explanation:  is port number, default value is 1813.
set accounting2ndstate [enable:disable]
set accounting2ndname [xxx.xxx.xxx.xxx : servername]
set accounting2ndport 
set accountingcfgid

18

802.11 b/g Access Point Command Line Interface Manual

9
DHCP S ERVER C OMMANDS
Command:
dhcps help
dhcps state
dhcps state 
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

Display DHCP Server Command Help
get DHCP Server state
turn on or turn off DHCP Server
get current settings
set start ip
set netmask
set gateway
set dns
set wins
set range
set lease time (sec)
set domain name
set state
get mapping list
get setting from <0-255> to <0-255>
set static  pool start ip
set static  pool netmask
set static  pool gateway
set static  pool dns
set static  pool wins
set static  pool domain name
set static  pool mac
set static  pool state
get static  pool mapping list

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 [0-255]
dhcps dynamic lease [60- 864000]
dhcps dynamic domain 
dhcps dynamic state [on:off]
dhcps dynamic map
dhcps static info [0-255] [0-255]
dhcps static  ip 
dhcps static  mask 
dhcps static  gw 
dhcps static  dns 
dhcps static  wins 
dhcps static  domain 
dhcps static  mac 
dhcps static  state [on:off]
dhcps static map

Note: The DHCP server function is to assign Dynamic IP to Wireless Client devices. It doesn’t assign IP to Ethernet port.

19

802.11 b/g Access Point Command Line Interface Manual

10
S NMP C OMMANDS
Command

Function

snmp adduser

Add User To SNMP Agent

snmp deluser
snmp showuser
snmp setauthkey
snmp setprivkey

Delete User From SNMP Agent
Show User list In SNMP Agent
Set User Auth Key
Set User Private Key

snmp addgroup

Add User Group

snmp delgroup
snmp showgroup

Delete User Group
Show SNMP Group Settings

snmp addview

Add User View

snmp delview

Delete User View

snmp showview
snmp editpubliccomm
snmp editprivatecomm

Show User View
Edit public communication String
Edit private communication String

Syntax
snmp adduser   [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 
snmp showuser
snmp setauthkey  
snmp setauthkey  
snmp addgroup 
[Security Level] 
 
Explanation:
Security Level:1 no_auth no_priv, 2 auth no_priv, 3 auth priv
ReadView:  or NULL for None
WriteView:  or NULL for None
NotifyView:  or NULL for None
snmp delgroup 
snmp showgroup
snmp addview   [Type]
Explanation:
ViewName: 
OID:
Type:1: included, 2: excluded
snmp delview  
Explanation:
ViewName: 
OID:  or all for all OID
snmp showview
snmp editpubliccomm 
snmp editprivatecomm 

20

802.11 b/g Access Point Command Line Interface Manual

snmp addcomm

Add Communication String

snmp delcomm
snmp showcomm

Delete Community String
Show Community String Table

snmp addhost

Add Host To Notify List

snmp delhost
snmp showhost
snmp authtrap
snmp sendtrap
snmp status
snmp lbsstatus
snmp lbsenable
snmp lbsdisable

Delete Host From Notify List
Show Host In Notify List
Set Auth Trap Status
Send Warm Trap
Display SNMP Agent status
Show the status of LBS
Enable the function of LBS
Disable the function of LBS

snmp lbstrapsrv
snmp showlbstrapsrv
snmp suspend
snmp resume
snmp load_default
get trapstate
set trapstate

Set the LBS trap server ip
Show the LBS trap server ip
Suspend SNMP Agent
Resume SNMP Agent
Load SNMP Default Settings
Get trap server state
Set trap server state

snmp addcomm   [Type]
Explanation:
CommunityString: 
ViewName:
Type:1: Read-Only, 2: Read-Write
snmp delcomm 
snmp showcomm
snmp addhost TrapHostIP [SnmpType] [AuthType]

Explanation:
TrapHostIP: 
SnmpType: 1: v1 2: v2c 3: v3
AuthType: 0: v1_v2c 1: v3_noauth_nopriv 2: v3_auth_nopriv
3 v3_auth_priv>
AuthString: , CommunityString for v1,v2c or UserName
for:v3
snmp delhost 
snmp showhost
snmp authtrap [enable:disable]
snmp sendtrap
snmp status
snmp lbsstatus
snmp lbsenable
snmp lbsdisable
snmp lbstrapsrv 
 is the lbs trap server ip.
snmp showlbstrapsrv
snmp suspend
snmp resume
snmp load_default
get trapstate
set trapstate [disable:enable]

21

802.11 b/g Access Point Command Line Interface Manual

11
T IME D ISPLAY & SNTP C OMMANDS
Command:
timeofday

Function

timeofday
Note: Need to set up SNTP/NTP server firstly

Displays the Current Time of Day

Get Command
get sntpserver
get tzone

Syntax

Function

Syntax

Display SNTP/NTP Server IP Address
Display Time Zone Setting

Set Command

get sntpserver
get tzone

Function

set sntpserver

Set SNTP/NTP Server IP Address

set tzone

Set Time Zone Setting

Syntax
set sntpserver 
Explanation:  is IP address
set tzone [0=GMT]

22

802.11 b/g Access Point Command Line Interface Manual

12
T ELNET & SSH C OMMANDS
TFTP&FTP Commands:
Command:

Function

Syntax

tftp get
tftp uploadtxt
tftp srvip
tftp update
tftp info
get telnet
get timeout

Get a file from TFTP Server.
Upload the configuration of the device to TFTP Server.
Setup the TFTP Server IP address.
Update the file to the device.
Information about the TFTPC setting.
Display Telnet Status of current login, number of login attempts, etc.
Display Telnet Timeout in seconds

set telnet

Set Telnet Access/SSL Mode to enabled or disabled

set timeout
ftp
ftpcon srvip
ftpcon downloadtxt
ftpcon uploadtxt
ssl srvip
ssl usrpwd
ssl ftpget
ssl info

tftp get Filename
tftp uploadtxt Filename
tftp srvip 
tftp update
tftp info
get telnet
get timeout
set telnet <0:1:2>
Explanation:
0=disable telnet and enable SSL
1=enable telnet and disable SSL
2=disable both telnet and SSL

Set Telnet Timeout in seconds, 0 is never and 900 seconds is the
set timeout <0-900>
maximum <0-900>
Software Update TFP File Via FTP
ftp 
Set The FTP Server IP Address
ftpcon srvip 
Update configure file From FTP Server
ftpcon downloadtxt
Set The File And Upload To Server in text File
ftpcon uploadtxt
Set FTP Server IP Address
ssl srvip 
Set The User Name And Password For Loginning To FTP Server
ssl usrpwd  
Display File From FTP Server
ssl ftpget  
Display The Information Of The SSL
ssl info

SSH Commands
Command:
ssh showuser
ssh loaddefault
ssh showalgorithm

Function

Syntax

Show SSH User
Load SSH Default Setting
Show SSH Algorithm

ssh showuser
ssh loaddefault
ssh showalgorithm

23

802.11 b/g Access Point Command Line Interface Manual

ssh setalgorithm

ssh setalgorithm [0 -12] [enable/disable]
Explanation:
Algorithm: 0:3DES
1:AES128
2:AES192
3:AES256
4:Arcfour
5:Blowfish
6:Cast128
7:Twofish128
8:Twofish192
9:Twofish256
10:MD5
11:SHA1
12:Password)
Example:
1. Disable 3DES algorithm support
ssh setalgorithm 0 disable

Set SSH Algorithm

24

802.11 b/g Access Point Command Line Interface Manual

13
S YSTEM L OG & SMTP C OMMAND
SYSTEM LOG Commands
Get Command

Function

Syntax

get syslog

Display Syslog Information

get syslog

Set Command

Function

Syntax

set syslog

Set sysLog setting

set syslog remoteip 
set syslog remotestate [0:1]
set syslog localstate [0:1]
set syslog clear all
Explanation: 0=disable:1=enable

Log Command

Function

Syntax

pktLog

Display Packet Log

pktLog

Command

Function

Syntax

smtp

SMTP Client Utility

smtp 

Get Command

Function

Syntax

get smtplog
get smtpserver
get smtpsender
get smtprecipient

Display SMTP With Log Status
Display SMTP Server(IP Or Name)
Display Sender Account
Display Recipient Email Address

get smtplog
get smtpserver
get smtpsender
get smtprecipient

Set Command

Function

SMTP Commands

set smtplog

Set SMTP With Log Status

set smtpserver
set smtpsender
set smtprecipient

Set SMTP Server
Set Sender Account
Set Recipient Email Address

Syntax
set smtplog [0:1]
Explanation: 0=disable 1=enable
set smtpserver 
set smtpsender 
set smtprecipient 

25

802.11 b/g Access Point Command Line Interface Manual

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-2700AP. This will also require setting an IP mask and a Gateway IP address. The following is an example in which the AP’s
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-2700

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

The following is an example in which the authentication is set to Shared-Key.

26

802.11 b/g Access Point Command Line Interface Manual

D-Link Access Point wlan1 -> set authentication shared-key
Authentication Type: Shared-Key
D-Link Access Point wlan1 -> set key 1 40 1234567890
Shared Key 1, size 40: 1234567890
D-Link Access Point wlan1 -> set key 1 default
Default Key: 1
D-Link Access Point wlan1 -> set encryption enable
Encryption: Enabled

The following is an example in which the authentication is set to WPA-PSK.
D-Link Access Point wlan1 -> set authentication wpa-psk
Authentication Type: WPA-PSK
D-Link Access Point wlan1 -> set encryption enable
Encryption: Enabled
D-Link Access Point wlan1 -> set cipher auto
Cipher selection: AUTO
D-Link Access Point wlan1 -> set passphrase
Old Passphrase->
New Passphrase-> **********
Type passphrase again to confirm-> **********
Passphrase confirmed

The following is an example in which the authentication is set to WPA.

27

802.11 b/g Access Point Command Line Interface Manual
D-Link Access Point wlan1 -> set authentication wpa
Authentication Type: WPA
D-Link Access Point wlan1 -> set encryption enable
Encryption: Enabled
D-Link Access Point wlan1 -> set cipher auto
Cipher selection: AUTO
D-Link Access Point wlan1 -> set radiusname 192.168.0.99
RADIUS server name: 192.168.0.99
D-Link Access Point wlan1 -> set radiussecret
Old RADIUS shared secret->
New RADIUS shared secret-> **********
Type RADIUS secret again to confirm-> **********
RADIUS shared secret confirmed
D-Link Access Point wlan0 -> set keysource server
Key Source: server

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

28



Source Exif Data:
File Type                       : PDF
File Type Extension             : pdf
MIME Type                       : application/pdf
PDF Version                     : 1.5
Linearized                      : Yes
Author                          : 05876
Create Date                     : 2009:02:02 14:00:36+08:00
Modify Date                     : 2009:02:02 14:00:36+08:00
XMP Toolkit                     : Adobe XMP Core 4.2.1-c041 52.342996, 2008/05/07-20:48:00
Creator Tool                    : PScript5.dll Version 5.2.2
Format                          : application/pdf
Title                           : Microsoft Word - DWL-2700AP_B2_CLI Manual_v3.2.doc
Creator                         : 05876
Producer                        : Acrobat Distiller 9.0.0 (Windows)
Document ID                     : uuid:6fe52c77-578f-450c-b8a9-ceaffd605db4
Instance ID                     : uuid:235710d3-18e6-4dae-adee-5c00fabbb97f
Page Count                      : 30
EXIF Metadata provided by EXIF.tools

Navigation menu