
D-Link Unified Access Point CLI Reference Manual
6
© 2001- 2009 D-Link Corporation. All Rights Reserved
S e c t i o n 3 : C o m m a n d s a n d S y n t a x
The CLI for the UAP provides the following commands for manipulating objects:
•
get
•
set
•
add
•
remove
U
SING
THE
GET
C
OMMAND
The “get” command allows you to get the property values of existing instances of a class. Classes can be “named” or
“unnamed.” The command syntax is:
get
unnamed-class
[
property
... | detail ]
get
named-class
[
instance
| all [
property
... |
name
| detail ] ]
The rest of the command line is optional. If provided, it is either a list of one or more
properties
, or 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, so this command returns all log entries.
The following example uses the “get” command on a named class with multiple instances:
get bss wlan0bssvap0
There are multiple BSSes and they are named, so this command returns information on the
BSS
named “wlan0bssvap0.”
The following example uses the “get” command on a named class to get all instances:
get mac-acl all mac
get mac-acl all
Caution!
Settings updated from the CLI (with get, set, add, remove commands) will not be saved to the startup
configuration unless you explicitly save them via the save-running command. For a description of configurations
maintained on the AP and details on how to save your updates, see
“Saving Configuration Changes” on page 12
.
Note:
wlan0bssvap0 is the name of the basic service set (BSS) on the wlan0 interface. For information on
interfaces, see
“Interface Naming Conventions” on page 11
.
R
ev
ie
w
C
op
y