Page 2
Reproduction in any manner whatsoever without the written permission of D-Link Computer Corporation is strictly forbidden. Trademarks used in this text: D-Link and the D-Link logo are trademarks of D-Link Computer Corporation; Microsoft and Windows are registered trademarks of Microsoft Corporation.
D-Link UAP CLI Command Reference Table of Contents About This Document ..........................7 Audience............................7 Acronyms and Abbreviations......................7 Document Conventions ........................8 Additional Documentation .......................8 About DWS-4000 Software........................9 Scope ..............................9 Product Concept ..........................9 Technical Support ..........................10 Section 1: Accessing the DWL-x600AP CLI............... 11 Serial Port Connection to the AP ......................11...
Page 4
D-Link UAP CLI Command Reference Rogue APs Traps and Email Alerts ......................30 Section 6: CLI Classes and Properties Reference ............. 32 D-Link Unified Wired and Wireless Access System November 7, 2011 Page 4...
Page 5
Table 12: Radio and VAP Scheduler .........................29 Table 13: Rogue APs and Email Alerts ......................30 Table 14: CLI Class Instances ..........................32 Table 15: D-Link Access Point CLI Classes and Properties ................32 D-Link Unified Wired and Wireless Access System November 7, 2011...
Page 6
D-Link UAP CLI Command Reference D-Link Unified Wired and Wireless Access System November 7, 2011 Page 6...
About This Document About This Document In addition to the Web-based user interface, the D-Link Access Point DWL-x600AP includes a command-line interface (CLI) for administering the access point. The CLI lets you view and modify status and configuration information. This reference manual documents the commands and describes how to access and use the interface.
The Administrator’s Guide also contains step-by- step configuration examples for several features. • The D-Link DWS-4000 Series Wired Configuration Guide contains a variety of configuration examples that show how to configure the wired features on the switch.
D-Link UAP CLI Command Reference About DWS-4000 Software About DWS-4000 Software The DWS-4000 software has two purposes: • Assist attached hardware in switching frames, based on Layer 2, 3, or 4 information contained in the frames. • Provide a complete device management portfolio to the network administrator.
D-Link UAP CLI Command Reference Technical Support Technical Support D-Link provides customer access to the latest user documentation and software updates for D-Link products through its support website (http://support.dlink.com). D-Link Unified Wired and Wireless Access System November 7, 2011 Page 10...
D-Link UAP CLI Command Reference Accessing the DWL-x600AP CLI Section 1: Accessing the DWL-x600AP CLI You can use any of the following methods to access the CLI for the access point or wireless network: • Serial Port Connection to the AP •...
D-Link UAP CLI Command Reference Telnet Connection to the AP Telnet Connection to the AP If you already deployed the network and know the IP address of your access point, you can use a remote Telnet connection to the access point to view the system console over the network.
D-Link UAP CLI Command Reference SSH Connection to the AP SSH Connection to the AP If you already deployed your network and know the IP address of your access point, you can use a remote Secure Shell (SSH) connection to the access point to view the system console over the network.
D-Link UAP CLI Command Reference Commands and Syntax Section 2: Commands and Syntax Configuration information for the DWL-x600AP is represented as a set of classes and objects. The CLI for the DWL-x600AP provides the following commands for manipulating objects: • get •...
D-Link UAP CLI Command Reference Using the Set Command The following example uses the command on a named class to get all instances: get mac-acl all mac get mac-acl all Note: The name wlan0bssvap0 refers to the basic service set (BSS) on the wlan0 interface. For information on interfaces, see “Interface Naming Conventions”...
D-Link UAP CLI Command Reference Using the add Command Using the add Command command enables you to add a new instance or group of instances of a class and has the following syntax: add unique-named-class instance [property value ... ] add group-named-class instance [property value ...
D-Link UAP CLI Command Reference Getting Help on Commands at the CLI Table 2: Additional CLI Commands (Cont.) Command Description packet-capture Download the packet capture file. For information about classes, instances, and properties, see “CLI Classes and Properties Reference” on...
Page 18
D-Link UAP CLI Command Reference Getting Help on Commands at the CLI mcs-index MCS Index of radios policy-map Creates a Diffserv policy. qos-mac-acl Create MAC-ACL. scheduler-profile Scheduler Profile scheduler-profile-list Scheduler Profile List snmp-group SNMP user groups snmp-target SNMPv3 targets to receive traps...
D-Link UAP CLI Command Reference Keyboard Shortcuts Keyboard Shortcuts The CLI provides keyboard shortcuts to help you navigate the command line and build valid commands. Table 3 describes the keyboard shortcuts available from the CLI. Table 3: Keyboard Shortcuts Keyboard Shortcut...
D-Link UAP CLI Command Reference Interface Naming Conventions Section 3: Interface Naming Conventions The following summary of interface names is provided to help clarify the related CLI commands and output results. These names are not exposed on the Web UI, but are used throughout the CLI. You get and set many configuration values on the AP by referring to interfaces.
D-Link UAP CLI Command Reference Saving Configuration Changes Section 4: Saving Configuration Changes The DWL-x600AP maintains three different configurations: • Factory Default Configuration — This configuration consists of the default settings shipped with the access point. – You can always return the AP to the factory defaults by using the command.
D-Link UAP CLI Command Reference Access Point CLI Commands Section 5: Access Point CLI Commands This section describes some of the commands you use to view and configure the DWL-x600AP. Note: This section does not describe every command available from the DWL-x600AP CLI. The DWL- x600AP is intended to be configured primarily from the Web interface.
D-Link UAP CLI Command Reference Basic Settings Table 5: Basic Settings Commands Action Command View the following information about the get management management interface on the AP: • VLAN ID • Interface name • Static IP address (if DHCP is not used) •...
D-Link UAP CLI Command Reference Status Status Use the commands in this section to view various AP status information. Note: Make sure you are familiar with the names of the interfaces as described in “Interface Naming Conventions” on page 20. The interface name you reference in a get command determines whether the command output shows a wired or wireless interface, the Internal network, or to radio “one”...
D-Link UAP CLI Command Reference Ethernet Settings Ethernet Settings Use the commands in this section to view and set values for the Ethernet (wired) interface. Note: Before configuring this feature, make sure you are familiar with the names of the interfaces as described in “Interface Naming Conventions”...
D-Link UAP CLI Command Reference Radio Settings Table 7: Ethernet Settings Commands (Cont.) Action Command Set DNS name servers to use static IP set host dns-via-dhcp down set host static-dns-1 ip_address addresses (dynamic to manual mode). set host static-dns-2 ip_address Example: set host static-dns-1 192.168.23.45...
{yes | Managed Access Point You can use a D-Link Unified Switch to manage one or more access points on your network. To allow a switch to manage the AP the switch and AP must discover each other. The commands in...
Set the pass phrase for AP-to-switch authentication. Note: The password you enter must match the local authentication password you configure for Valid APs on the D-Link Unified Switch. To remove the password, enter the command without the password variable. set managed-ap switch-address-1 ip_address...
D-Link UAP CLI Command Reference Firmware and Configuration File Management Firmware and Configuration File Management Table 11 shows the commands you use to manage the configuration file and firmware on the AP. Table 11: System Management Action Command Restore the factory default settings.
D-Link UAP CLI Command Reference Rogue APs Traps and Email Alerts Table 12: Radio and VAP Scheduler Action Command Configure a radio and a VAP to use a scheduler set radio radio-instance scheduler-profile-name profile. profile-name set vap vap-instance scheduler-profile-name profile-...
Page 31
D-Link UAP CLI Command Reference Rogue APs Traps and Email Alerts Table 13: Rogue APs and Email Alerts Action Command Configure the SMTP server password up to 64 set email-alert server-password password characters (including special characters). Configure email-alert mode to enable/disable set email-alert mode {up | down} email alert service.
CLI Classes and Properties Reference Section 6: CLI Classes and Properties Reference Configuration information for the D-Link Access Point is represented as a set of classes and objects. The following is a general introduction to the CLI classes and properties.
Page 33
D-Link UAP CLI Command Reference CLI Classes and Properties Reference Table 15: D-Link Access Point CLI Classes and Properties (Cont.) Class Property aeroscout admin-mode down admin-mode up detail association acl-down acl-up acl-type-up acl-type-down associated authenticated bw-limit-down bw-limit-up client-qos-enabled interface last-rssi...
Page 34
D-Link UAP CLI Command Reference CLI Classes and Properties Reference Table 15: D-Link Access Point CLI Classes and Properties (Cont.) Class Property broadcast-key-refresh-rate description ignore-broadcast-ssid open-system-authentication radio radius-accounting radius-backupone-ip radius-backupone-key radius-backupthree-ip radius-backupthree-key radius-backuptwo-ip radius-backuptwo-key radius-ip radius-ip-network radius-ipv6 radius-key rsn-preauthentication session-key-refresh-rate...
Page 35
D-Link UAP CLI Command Reference CLI Classes and Properties Reference Table 15: D-Link Access Point CLI Classes and Properties (Cont.) Class Property class-map detail dst-ip dst-ip-mask dst-ipv6 dst-ipv6-prefix dst-mac dst-mac-mask dst-port ethertype every ip-dscp ip-precedence ip-tos ip-tos-mask ipv6-flow-label l3-protocol protocol...
Page 36
D-Link UAP CLI Command Reference CLI Classes and Properties Reference Table 15: D-Link Access Point CLI Classes and Properties (Cont.) Class Property client-ts radio station-mac ts-vi-direction ts-vi-medium-time ts-vi-rx-bytes ts-vi-rx-packets ts-vi-tid ts-vi-tx-bytes ts-vi-tx-packets ts-vi-user-priority ts-vo-direction ts-vo-medium-time ts-vo-rx-bytes ts-vo-rx-packets ts-vo-tid ts-vo-tx-bytes ts-vo-tx-packets...
Page 37
D-Link UAP CLI Command Reference CLI Classes and Properties Reference Table 15: D-Link Access Point CLI Classes and Properties (Cont.) Class Property detected-ap band beacon-interval beacons capability channel hi-rate last-beacon nmode noise phy-type privacy radio rate security signal ssid supported-rates...
Page 38
D-Link UAP CLI Command Reference CLI Classes and Properties Reference Table 15: D-Link Access Point CLI Classes and Properties (Cont.) Class Property email-alert detail from-addr log-duration log-severity mode password server-password server-port server-security server-username smtp-server status subject test-mail to-addr-1 to-addr-2 to-addr-3...
Page 39
D-Link UAP CLI Command Reference CLI Classes and Properties Reference Table 15: D-Link Access Point CLI Classes and Properties (Cont.) Class Property interface description hello mask operational-status port-isolation priority radio remote-mac rx-bytes rx-errors rx-packets security ssid static-ip static-mac static-mask status...