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

Using the add Command, set tx-queue wlan0 with queue data0 to aifs, cwmin, cwmax, burst

Page 129 highlights

B CLI for AP Configuration 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. The following examples show set commands. Bold text indicates class names, property names or keywords; the text that is not bold shows the property values. 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 vap vap2 with radio wlan0 to vlan-id 123 NOTE: For information on interfaces used in this example (such as wlan0 or vap2) see "Interface Naming Convention" on page 132. Using the add Command The "add" command allows you to add a new instance or group of instances of a class and has the following syntax: add unique-named-class instance [ property value ... ] add group-named-class instance [ property value ... ] add anonymous-class [ property value ... ] For example: add mac-acl default mac 00:01:02:03:04:05 NOTE: If you're adding an instance to a unique-named class, you must assign the instance a name not already in use by any other instance of that class. If you add instances to group-named classes, you can form groups by creating instances and assigning them identical names. All instances of a groupnamed class that have the same name form a group of instances. Using the remove Command The "remove" command allows you to remove an existing instance of a class and has the following syntax: remove unnamed-class [ property value . . . ] remove named-class instance | all [ property value . . .] For example: remove mac-acl default mac 00:01:02:03:04:05 Commands and Syntax 129

  • 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

Commands and Syntax
129
B
CLI for AP Configuration
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.
The following examples show
set
commands. Bold text indicates class names, property
names or keywords; the text that is not bold shows the property values.
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 vap vap2 with radio wlan0 to vlan-id
123
NOTE:
For information on interfaces used in this example (such as wlan0 or vap2)
see
“Interface Naming Convention”
on page 132.
Using the add Command
The “add” command allows you to add a new instance or group of instances of a class and has
the following syntax:
add
unique-named-class instance
[
property value ...
]
add
group-named-class instance
[
property value ...
]
add
anonymous-class
[
property value ...
]
For example:
add mac-acl default mac
00:01:02:03:04:05
NOTE:
If you’re adding an instance to a unique-named class, you must assign the
instance a name not already in use by any other instance of that class. If you
add instances to group-named classes, you can form groups by creating
instances and assigning them identical names. All instances of a group-
named class that have the same name form a group of instances.
Using the remove Command
The “remove” command allows you to remove an existing instance of a class and has the
following syntax:
remove
unnamed-class
[
property value
. . . ]
remove
named-class instance
|
all
[
property value
. . .]
For example:
remove mac-acl default mac
00:01:02:03:04:05