D-Link DWL-8500AP Product Manual - Page 128

Using the get Command, get log, get log-entry, get bss, get mac-acl all mac

Page 128 highlights

D-Link Unified Access Point Administrator's Guide AP and details on how to save your updates, see "Saving Configuration Changes" on page 133. Using the get Command 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 NOTE: wlan0bssvap0 is the name of the basic service set (BSS) on the wlan0 interface. For information on interfaces, see "Interface Naming Convention" on page 132. Using the set Command The "set" command allows you to set the property values of existing instances of a class and has the following syntax set unnamed-class [ with qualifier-property qualifier-value ... to ] property value . . . The first argument is an unnamed class in the configuration. After this is an optional qualifier that restricts the set to only some instances. For singleton classes (with only one instance) no qualifier is needed. If there is a qualifier, it starts with the keyword with, then has a sequence of one or more qualifier-property qualifier-value pairs, and ends with the keyword to. If these are included, then only instances whose present value of qualifier-property is qualifier-value will be set. The qualifier-value arguments cannot contain spaces. Therefore, you cannot select instances whose desired qualifier-value has a space in it. 128 © 2001-2008 D-Link Corporation. All Rights Reserved.

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168

128
© 2001-2008 D-Link Corporation. All Rights Reserved.
D-Link Unified Access Point Administrator’s Guide
AP and details on how to save your updates, see
“Saving Configuration
Changes”
on page 133.
Using the get Command
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
NOTE:
wlan0bssvap0
is the name of the basic service set (
BSS
) on the
wlan0
interface. For information on
interfaces
, see
“Interface Naming Convention”
on page 132.
Using the set Command
The “set” command allows you to set the property values of existing instances of a class and
has the following syntax
set
unnamed-class
[
with
qualifier-property qualifier-value
...
to
]
property
value . . .
The first argument is an unnamed class in the configuration.
After this is an optional qualifier that restricts the set to only some instances. For singleton
classes (with only one instance) no qualifier is needed. If there is a qualifier, it starts with the
keyword
with
, then has a sequence of one or more
qualifier-property
qualifier-value
pairs,
and ends with the keyword
to
. If these are included, then only instances whose present value
of
qualifier-property
is
qualifier-value
will be set. The
qualifier-value
arguments cannot
contain spaces. Therefore, you cannot select instances whose desired
qualifier-value
has a
space in it.