D-Link DWL-3500AP Administration Guide - Page 150

CLI Classes and Properties Reference

Page 150 highlights

D-Link Unified Access Point Administrator's Guide CLI Classes and Properties Reference Configuration information for the Unified Access Point is represented as a set of classes and objects. The following is a general introduction to the CLI classes and properties. Different kinds of information uses different classes. For example, information about a network interface is represented by the "interface" class, while information about an NTP client is represented by the "ntp" class. Depending on the type of class, there can be multiple instances of a class. For example, there is one instance of the "interface" class for each network interface the AP has (Ethernet, radio, and so on), while there is just a singleton instance of the "ntp" class, since an AP needs only a single NTP client. Some classes require their instances to have names to differentiate between them; these are called named classes. For example, one interface might have a name of eth0 to indicate that it is an Ethernet interface, while another interface could have a name of wlan0 to indicate it is a wireless LAN (WLAN) interface. Instances of singleton classes do not have names, since they only have a single instance. Classes that can have 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. Table 46. CLI Class Instances has name? \ # of instances? no yes - unique yes - non-unique one singleton n/a n/a multiple anonymous unique named group named Each class defines a set of properties that describe the actual information associated with a class. Each instance of a class has a value for each property that contains the information. For example, the interface class has properties such as "ip" and "mask." For one instance, the ip property might have a value of 10.90.90.91 while the mask property has a value of 255.0.0.0; another instance might have an ip property with a value of 10.0.0.1 and mask property with a value of 255.0.0.0. To view the IP address and mask for a specific interface, you must identify the instance in the command. The following table is a comprehensive list of all classes and their properties. Some of the commands allow you to view or configure settings that are not available from the Web interface. Use get or set to build commands based on the class and property. If the class is a named class, you must include the name. For example, interface is a named class. 150 © 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

150
© 2001-2008 D-Link Corporation. All Rights Reserved.
D-Link Unified Access Point Administrator’s Guide
CLI Classes and Properties Reference
Configuration information for the Unified Access Point is represented as a set of classes and
objects. The following is a general introduction to the CLI classes and properties.
Different kinds of information uses different classes. For example, information about a
network interface is represented by the “interface” class, while information about an NTP
client is represented by the “ntp” class.
Depending on the type of class, there can be multiple instances of a class. For example, there is
one instance of the “interface” class for each network interface the AP has (Ethernet, radio,
and so on), while there is just a singleton instance of the “ntp” class, since an AP needs only a
single NTP client. Some classes require their instances to have names to differentiate between
them; these are called
named classes
. For example, one interface might have a name of
eth0
to
indicate that it is an Ethernet interface, while another interface could have a name of
wlan0
to
indicate it is a wireless LAN (WLAN) interface. Instances of singleton classes do not have
names, since they only have a single instance. Classes that can have 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 associated with a
class. Each instance of a class has a value for each property that contains the information. For
example, the interface class has properties such as “ip” and “mask.” For one instance, the
ip
property might have a value of 10.90.90.91 while the
mask
property has a value of 255.0.0.0;
another instance might have an
ip
property with a value of 10.0.0.1 and
mask
property with a
value of 255.0.0.0. To view the IP address and mask for a specific interface, you must identify
the instance in the command.
The following table is a comprehensive list of all classes and their properties. Some of the
commands allow you to view or configure settings that are not available from the Web
interface. Use
get
or
set
to build commands based on the class and property. If the class is a
named class, you must include the name. For example, interface is a named class.
Table 46.
CLI Class Instances
has name? \ # of instances?
one
multiple
no
singleton
anonymous
yes - unique
n/a
unique named
yes - non-unique
n/a
group named