194

AT-TQ2403 - Management Software - User's Guide

 

 

CLI Description

Command

set

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

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.

The rest of the command line contains property-value pairs.

set named-class instance all [ with qualifier-property qualifier-value ... to ] property value . . .

The first argument is either a named class in the configuration.

The next argument is either 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,

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”.