Professional Access Point Administrator Guide

Command

Description

set

add

The "set" command allows you to set the field values of existing instances of a class.

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 single- ton 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-fieldis qualifier-valuewill be set. The qualifier-valuearguments cannot contain spaces. Therefore, you cannot select instances whose desired qualifier-valuehas a space in it.

The rest of the command line contains field-valuepairs.

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 indi- cates that all instances should be set. Classes with multiple instances can be set con- secutively in the same command line as shown in Example 4 below. The qualifier-valuearguments cannot contain spaces.

Here are some examples. (Bold text indicates class names, field names, or keywords; text that is not bold indicates 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 190.

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

Class Structure, Commands, and Examples - 186

Page 186
Image 186
USRobotics Instant802 APSDK manual Command Description, Add radius-user wally