COMPANY CONFIDENTIAL
52
General Commands
These are the common commands used for various functions during operations.
addmac
delmac
maccmd
#iwpriv ath
N
maccmd cmd
#iwpriv ath
N
addmac mac_addr
#iwpriv ath
N
delmac mac_addr
These commands are used to setup and modify the MAC filtering list. MAC filtering allows the user to either
limit specific MAC addresses from associating with the AP, or specifically indicates which MAC addresses can
associate with the AP. The
addmac
and
delmac
will add specific MAC addresses to the Access Control List
(ACL). The maccmd value indicates how to use the ACL to limit access the AP. The following table indicates
the valid commands:
Value
Description
0
Disable ACL checking
1
Only ALLOW association with MAC addresses on the list
2
DENY association with any MAC address on the list
3
Flush the current ACL list
4
Suspend current ACL policies. Re-enable with a 1 or 2 command
These commands have no “get” equivalents. The default value of maccmd is 0.
#iwpriv ath
0
maccmd 1
#iwpriv ath
0
addmac 00:03:7f:00:00:20
#iwpriv ath
0
delmac 00:03:7f:00:12:34
ap_bridge
#iwpriv ath
N
ap_bridge mode
This command will enable or disable bridging within the AP driver. This has the effect of now allowing a
station associated to the AP to access any other station associated to the AP. This eliminates bridging between
clients. This command has a corresponding get command. Its default value is 0.
#iwpriv ath0 ap_bridge 0
#iwpriv ath0 get_ap_bridge
ath0 get_:0
bgscan
#iwpriv ath
N
bgscan
1|0
This command will enable or disable background scanning. Background scanning occurs on a specified interval
to update the list of known AP’s. This command is only valid when a VAP is operating in station mode. The
command has a corresponding get command, and its default value is 1.
#iwpriv ath0 bgscan 1
#iwpriv ath0 get_bgscan
ath0 get_bgscan:1
bgscanidle
#iwpriv ath
N
bgscanidle idlePeriod
This command sets the amount of time the background scan must be idle before it is restarted. This is different
from the background scan interval, in that if the background scan is delayed for a long period, when it is
complete it will be idle for this period even if the scan interval times out. This time is indicated in seconds.
The command has a corresponding get command, and its default value is 250 seconds.
#iwpriv ath0 bgscanidle 200
#iwpriv ath0 get_bgscanidle
ath0 get_bgscanidle:200
Содержание AP222A
Страница 1: ...AP222A AP User s Manual...
Страница 22: ...COMPANY CONFIDENTIAL 21 Figure 6 VAP Configuration Page 2 of 2...