background image

Status

D-Link

Unified Wired and Wireless Access System

 

November 7, 2011

Page 24

D-Link UAP CLI Command Reference

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” or 
radio two.”

Table 6:  Status Commands

Action

Command

Global command to get all details on the Basic Service Set (BSS).
This is a useful command to use to get a comprehensive picture 
of how the AP is currently configured.

get bss all detail

Get information about the wired and WLAN interfaces.

get interface

Get the MAC address for the wired internal interface.

get interface wlan0 mac

Get the VLAN ID for the wired interface.

get management vlan-id

Get the network name (SSID) for the default virtual access point.

get interface wlan0 ssid

Get the current IEEE 802.11 radio mode.

get radio wlan0 mode

Get the channel the AP is currently using.

get radio wlan0 channel

Get basic radio settings for the internal interface.

get radio wlan0 [detail]

Get client associations.

get association detail

Get neighboring access points.

get detected-ap detail

Get information about switches that can discover and manage 
the AP.

get managed-ap

See the administrative status of the Aeroscout feature.

get aeroscout admin-mode

See the administrative status of the Bonjour protocol.

get bonjour status

See the configured time zone.

get system time-zone

Summary of Contents for DWL-6600AP

Page 1: ... Copyright 2011 All rights reserved CLI Command Reference Product Model DWL x600AP Unified Wired and Wireless Access System November 2011 ...

Page 2: ...ion 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 Other trademarks and trade names may be used in this document to refer to either the entities claiming the marks and names or their products D Link Computer Corporation...

Page 3: ...the AP 12 SSH Connection to the AP 13 Section 2 Commands and Syntax 14 Using the get Command 14 Using the Set Command 15 Using the add Command 16 Using the remove Command 16 Additional CLI Commands 16 Getting Help on Commands at the CLI 17 Tab Completion 17 Keyboard Shortcuts 19 Section 3 Interface Naming Conventions 20 Section 4 Saving Configuration Changes 21 Section 5 Access Point CLI Commands ...

Page 4: ...D Link Unified Wired and Wireless Access System November 7 2011 Page 4 D Link UAP CLI Command Reference Rogue APs Traps and Email Alerts 30 Section 6 CLI Classes and Properties Reference 32 ...

Page 5: ...e Naming Convention 20 Table 5 Basic Settings Commands 23 Table 6 Status Commands 24 Table 7 Ethernet Settings Commands 25 Table 8 Radio Settings Commands 26 Table 9 Managed Access Point Commands 27 Table 10 IEEE 802 1X Supplicant Commands 28 Table 11 System Management 29 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 Acce...

Page 6: ...D Link Unified Wired and Wireless Access System November 7 2011 Page 6 D Link UAP CLI Command Reference ...

Page 7: ... description of the configuration options Level 1 and or Level 2 support providers This document assumes that the reader has an understanding of the DWS 4000 software base and has read the appropriate specification for the relevant networking device platform It also assumes that the reader has a basic knowledge of Ethernet and networking concepts Refer to the release notes for the DWS 4000 applica...

Page 8: ...ic functionality of the software packages including issues and workarounds Note A note provides more information about a feature or technology Caution A caution provides information about critical aspects of the configuration combinations of settings events or procedures that can adversely affect network connectivity security and so on Table 1 Typographical Conventions Symbol Description Example B...

Page 9: ...ct Concept Fast Ethernet and Gigabit Ethernet switching continues to evolve from high end backbone applications to desktop switching applications The price of the technology continues to decline while performance and feature sets continue to improve Devices that are capable of switching Layers 2 3 and 4 are increasingly in demand DWS 4000 software provides a flexible solution to these ever increas...

Page 10: ...ess Access System November 7 2011 Page 10 D Link UAP CLI Command Reference 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 ...

Page 11: ...al or TeraTerm Use the following steps to set up the serial port connection configure the terminal emulation software and access the CLI 1 Using a null modem cable connect a VT100 ANSI terminal or a workstation to the console serial port If you attached a PC Apple or UNIX workstation start a terminal emulation program such as HyperTerminal or TeraTerm 2 Configure the terminal emulation program to ...

Page 12: ...the AP system console and enter CLI commands in exactly the same way as you would with a serial port connection To use Telnet you need a Telnet client such as PuTTY To use the Microsoft Windows command window for Telnet access to the AP use the following instructions 1 Open a command window on your PC For example from the system tray on the desktop choose Start Run to bring up the Run dialog type ...

Page 13: ...software installed on your PC The examples in this guide use PuTTY which is available as a free Internet download 1 Start your SSH application 2 Enter the IP address of access point and click Open If your Domain Name Server is configured to map domain names to IP addresses via DHCP you can enter the domain name of the AP instead of an IP address This brings up the SSH command window and establishe...

Page 14: ... the keyword detail The following example uses the get command on an unnamed class with a single instance get log There is only one log on the AP so the command returns information on the log file The following example uses the get command on an unnamed class with multiple instances get log entry There are multiple log entries but they are not named in the command so this command returns all log e...

Page 15: ...ts cannot contain spaces Therefore you cannot select instances whose desired qualifier value has a space in it The rest of the command line contains property value pairs set named class instance all with qualifier property qualifier value to property value The first argument is either a named class in the configuration The next argument is either the name of the instance to set or the keyword all ...

Page 16: ...CLI also includes the following commands for maintenance tasks Note To add an instance to a uniquely named class you must assign the instance a name that is not already in use by another instance of that class If you add instances to group named classes you can form groups by creating instances and assigning them identical names All instances of a group named class that have the same name form a g...

Page 17: ... completions Example 1 At a blank command line enter Tab twice to get a list of all commands WLAN AP add Add an instance to the running configuration config Upload Download the running configuration dot1x cert Upload the dot1x certificate file factory reset Reset the system to factory defaults firmware upgrade Upgrade the firmware get Get property values of the running configuration packet capture...

Page 18: ...uler Profile scheduler profile list Scheduler Profile List snmp group SNMP user groups snmp target SNMPv3 targets to receive traps snmp user SNMPv3 users snmp view SNMP MIB views supported rate Supported rates of radios traphost Destination host for SNMP trap WLAN AP remove Example 3 Type the following get system v Tab This will result in completion with the only matching property get system versi...

Page 19: ...line Ctrl w Remove the last word in the current command Clears one word at a time from the current command line always starting with the last word on the line Ctrl k Remove characters starting from cursor location to end of the current line Clears the current line from the cursor forward Ctrl u Remove all characters before the cursor Clears the current line from the cursor back to the CLI prompt C...

Page 20: ...l bridge trunk interface lo Local loopback for data meant for the access point itself eth0 The Ethernet interface connected to the Internal network wlan0 The default wireless interface on radio 1 This is the interface for virtual access point VAP 0 wlan1 The default wireless interface on radio 2 This is the interface for VAP 0 wlan0vapx The wireless interface for the x VAP on radio 1 The value for...

Page 21: ...rough the CLI using get set add and remove commands you are viewing and changing values on the running configuration only If you do not save the configuration by executing the save running or set config startup running command at the CLI you will lose any changes you submitted via the CLI upon reboot The save running command saves the running configuration as the startup configuration The save run...

Page 22: ...nfiguration may not be operational Therefore it is important to consult the class and property reference to understand the acceptable values for properties given the values of other properties For more information see CLI Classes and Properties Reference on page 32 Basic Settings The following CLI command examples correspond to tasks you can accomplish on the Basic Settings tab of the Web UI for a...

Page 23: ...t system serial number Set the password set system password password Example set system password test1234 Set the baud rate for the serial port set serial baud rate Set the system name set system system name name Example set system system name AEO AP Set the system location set system system location location Set the administrator s contact information set system system contact contact_info Set th...

Page 24: ...bss all detail Get information about the wired and WLAN interfaces get interface Get the MAC address for the wired internal interface get interface wlan0 mac Get the VLAN ID for the wired interface get management vlan id Get the network name SSID for the default virtual access point get interface wlan0 ssid Get the current IEEE 802 11 radio mode get radio wlan0 mode Get the channel the AP is curre...

Page 25: ...ple set host id vicky ap Get current settings for the Ethernet wired internal interface get management Set the management VLAN ID set management vlan id 1 4096 View untagged VLAN information get untagged vlan Enable the untagged VLAN set untagged vlan status up Disable the untagged VLAN set untagged vlan status down Set the untagged VLAN ID set untagged vlan vlan id 1 4096 View the connection type...

Page 26: ... ipv6 global all Set the default IPv6 Gateway set static ipv6 route gateway ipv6_address Table 8 Radio Settings Commands Action Command View a description of the radio interfaces get radio all description Turn the radio on off set radio wlan0 status on off Enable or disable 802 11d regulatory domain support set dot11 dot11d up down Enable or disable station isolation set radio wlan0 station isolat...

Page 27: ... threshold set radio wlan0 rts threshold 0 2347 Set the maximum number of clients allowed to associate VAP 0 radio 0 set bss wlan0bssvap0 max stations 0 200 Set the power transmission level percent set radio wlan0 tx power 0 100 Set the fixed multicast rate set radio wlan0 fixed multicast rate 54 48 36 24 18 12 9 6 auto Add a basic rate set add basic rate wlan0 rate integer Get current basic rates...

Page 28: ...ure for Valid APs on the D Link Unified Switch To remove the password enter the command without the password variable Configure the IP address of up to four D Link Unified Switches on your network set managed ap switch address 1 ip_address set managed ap switch address 2 ip_address set managed ap switch address 3 ip_address set managed ap switch address 4 ip_address Example set managed ap switch a...

Page 29: ...d Restore the factory default settings factory reset Save the configuration to a backup file config download url Example config download tftp 1 2 3 4 defaultcfg xml Restore the configuration from a previously saved file config upload url Example config upload tftp 1 2 3 4 defaultcfg xml Reboot the system reboot Upgrade the firmware requires a reboot firmware upgrade url Example firmware upgrade tf...

Page 30: ...profile list all profile name Remove all profiles remove scheduler profile list Remove a specified profile remove scheduler profile list profile name Remove a rule from a specified profile remove scheduler profile list profile name with rule 1 View the scheduler configuration get scheduler config Display the contents of all the profiles get scheduler profile Display the radio operational mode get ...

Page 31: ...e greater than the configured level are sent immediately in an email message If none is set then no emails are sent urgently set email alert urgent severity none 0 7 Configure the address from which email alerts are sent If it is not configured then email messages are not sent set email alert from addr email addr The amount of time in minutes when email alert service will send the stored syslog lo...

Page 32: ...multiple instances but do not have a name are called anonymous classes Together singleton and anonymous classes are called unnamed classes Some classes require their instances to have names but the multiple instances can have the same name to indicate that they are part of the same group These are called group classes Each class defines a set of properties that describe the actual information asso...

Page 33: ...ation acl down acl up acl type up acl type down associated authenticated bw limit down bw limit up client qos enabled interface last rssi listen interval policy down policy up rx bytes rx packets station tx bytes tx packets basic rate rate bonjour status down status up bridge port interface path cost priority stp state Table 15 D Link Access Point CLI Classes and Properties Cont Class Property ...

Page 34: ...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 shared key authentication status vlan tagged interface wpa allow non wpa stations wpa allowed wpa cipher ccmp wpa cipher tkip wpa2 allowed channel planner change threshold interval locked ips sta...

Page 35: ... cos 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 src ip src ip mask src ipv6 src ipv6 prefix src mac src mac mask src port vlan id client qos mode Table 15 D Link Access Point CLI Classes and Properties Cont Class Property ...

Page 36: ...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 ts vo user priority vapid cluster cluster name clustered location Table 15 D Link Access Point CLI Classes and Properties Cont Class Property ...

Page 37: ...band beacon interval beacons capability channel erp hi rate last beacon nmode noise phy type privacy radio rate security signal ssid supported rates type wds wired wpa device info device description device name product id version id dot11 dot11d debug status dot1x supplicant user Table 15 D Link Access Point CLI Classes and Properties Cont Class Property ...

Page 38: ...tatus subject test mail to addr 1 to addr 2 to addr 3 urgent severity firmware upgrade upgrade url global radius server detail radius accounting radius backupone ip radius backupone key radius backupthree i radius backupthree key radius backuptwo ip radius backuptwo key radius ip radius ip network radius ipv6 radius key radius nas identifier host detail dns 1 dns 2 dns via dhcp id static dns 1 sta...

Page 39: ...priority radio remote mac rx bytes rx errors rx packets security ssid static ip static mac static mask status stp tx bytes tx errors tx packets type vlan id vlan interface wds security policy wds ssid wds wpa psk key wep default key wep key wep key 1 wep key 2 wep key 3 wep key 4 wep key ascii wep key length wep key mapping length wpa personal key Table 15 D Link Access Point CLI Classes and Prope...

Page 40: ...teway prefix length log persistence relay enabled relay host relay port remove severity log entry daemon message number priority time managed ap ap state dhcp switch address 1 dhcp switch address 2 dhcp switch address 3 dhcp switch address 4 mode pass phrase switch address 1 switch address 2 switch address 3 switch address 4 Table 15 D Link Access Point CLI Classes and Properties Cont Class Proper...

Page 41: ...c ipv6 prefix length vlan id mcs index index mgmt acl mgmt address 1 mgmt address 2 mgmt address 3 mgmt address 4 mgmt address 5 mode mgmt ipv6 address 1 mgmt ipv6 address 2 mgmt ipv6 address 3 mgmt ipv6 address 4 mgmt ipv6 address 5 ntp server status policy attr class map name committed burst committed rate drop mark cos mark ip dscp mark ip precedence police simple policy map name send policy ma...

Page 42: ...ac mask vlan id radio ap detection beacon interval channel channel policy description fixed multicast rate fragmentation threshold mode n bandwidth n primary channel protection rate limit rate limit burst rate limit enable rts threshold scheduler profile name short guard interval supported static channel station isolation status stbc mode tx power wlan util Table 15 D Link Access Point CLI Classes...

Page 43: ...mask dst port ip dscp ip precedence ip tos ip tos mask protocol src ip src ip mask src ipv6 src ipv6 prefix src port scheduler profile day start end scheduler profile list index serial baud rate detail snmp detail port ro community rw community rw status source status source status snmp group read view secur level write view snmp target host port user name Table 15 D Link Access Point CLI Classes ...

Page 44: ...ination gateway mask static ip6 route destination gateway prefix length supported rate mac rate system telnet band plan base mac base mac status country country code is configurable detail dfs supported forty mhz supported a forty mhz supported g model nmode supported password platform serial number system contact system location system name time zone version status traphost community host Table 1...

Page 45: ...um clients ts vi num roam clients ts vo num active ts vo num clients ts vo num roam clients tspec vi tot accepted tspec vi tot rejected tspec vi tot roam accepted tspec vi tot roam rejected tspec vo tot accepted tspec vo tot rejected tspec vo tot roam accepted tspec vo tot roam rejected tspec config violation interval tspec radio access category oper status num active num clients num roam clients ...

Page 46: ...um roam clients radio untagged vlan status vlan id vap def acl down def acl up def acltype down def acltype up def bwmax down def bwmax up def policy down def policy up description global radius qos mode radio redirect mode redirect url scheduler profile name status vlan id web server http port http status http status session max session timeout ssl cert generate Table 15 D Link Access Point CLI C...

Reviews: