Allied Telesis AT-WA7400/EU User Manual

Page 274

Advertising
background image

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

274

set

The set command allows you to set the field values of existing instances of a
class, for example:

set

unnamed-class

[ with

qualifier-field qualifier-value

... to ]

field 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-field

qualifier-value pairs, and ends with the keyword to. If these are included, then
only instances whose present value of qualifier-field 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.
The rest of the command line contains field-value pairs.

set

named-class instance

| all [ with

qualifier-field

qualifier-value ...

to ]

field value . . .

The first argument is either a named class in the configuration.
The next argument is the name of the instance to set, or the keyword all,
which indicates that all instances should be set. Classes with multiple
instances can be set consecutively in the same command line as shown in
Example 4 below. The qualifier-value arguments cannot contain spaces.

Here are some examples. (Bold text indicates class names, field names or
keywords; the unbold text are values to which the fields are being set.)
1.

set interface wlan0 ssid "Vicky's AP"

2.

set radio all beacon-interval 200

3.

set tx-queue wlan0 with queue data0 to aifs 3

4.

set tx-queue wlan0 with queue data0 to aifs

7

cwmin

15

cwmax

1024

burst

0

5.

set bridge-port br0 with interface eth0 to path-cost

200

Note: For information on interfaces used in this example (such as

wlan0

,

br0

,

or

eth0

) see “Understanding Interfaces as Presented in the CLI” on page 278.

add

The add command allows you to add a new instance of a class.

add

named-class instance

[

field value

... ]

add

anonymous-class

[

field value

... ]

For example:

add radius-user

wally

Table 3. Commands and Syntax (Continued)

Command

Description

Advertising