beautypg.com

Cli classes and fields reference – Allied Telesis AT-WA7400/EU User Manual

Page 352

background image

Appendix D: Command Line Interface (CLI) for Access Point Configuration

352

CLI Classes and Fields Reference

The following is an introduction to the CLI classes and fields.

Configuration information for the AT-WA7400 Wireless Access Point is
represented as a set of classes and objects.

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 access point has (Ethernet, radio, and so on), while there is
just a singleton instance of the ntp class, since an access point 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 fields that describe the actual information
associated with a class. Each instance of a class will have a value for each
field that contains the information. For example, the interface class has
fields such as “ip” and “mask.” For one instance, the

ip

field might have a

value of 192.168.1.1 while the

mask

field has a value of 255.255.0.0;

another instance might have an

ip

field with a value of 10.0.0.1 and

mask

has name? \ # of instances?

one

multiple

no

singleton

anonymous

yes - unique

n/a

unique named

yes - non-unique

n/a

group named