FortiAP CLI
The FortiAP CLI controls radio and network operation through the use of variables manipulated with the cfg
command. There are also diagnostic commands.
The cfg command include the following
cfg -s
|
List variables. |
cfg -a var=value
|
Add or change a variable value. |
cfg -c
|
Commit the change to flash. |
cfg -x
|
Reset settings to factory defaults. |
cfg -r var
|
Remove variable. |
cfg -e
|
Export variables. |
cfg -h
|
Display help for all commands. |
The configuration variables are:
Diagnose commands include:
cw_diag help
|
Display help for all diagnose commands. |
cw_diag uptime
|
Show daemon uptime. |
cw_diag --tlog <on|off>
|
Turn on/off telnet log message. |
cw_diag --clog <on|off>
|
Turn on/off console log message. |
cw_diag baudrate [9600 | 19200 | 38400 | 57600 | 115200]
|
Set the console baud rate. |
cw_diag plain-ctl [0|1]
|
Show or change current plain control setting. |
cw_diag sniff-cfg ip port
|
Set sniff server ip and port. |
cw_diag sniff [0|1|2]
|
Enable/disable sniff packet. |
cw_diag stats wl_intf
|
Show wl_intf status. |
cw_diag admin-timeout [30]
|
Set shell idle timeout in minutes. |
cw_diag -c wtp-cfg
|
Show current wtp config parameters in control plane. |
cw_diag -c radio-cfg
|
Show current radio config parameters in control plane. |
cw_diag -c vap-cfg
|
Show current vaps in control plane. |
cw_diag -c ap-rogue
|
Show rogue APs pushed by AC for on-wire scan. |
cw_diag -c sta-rogue
|
Show rogue STAs pushed by AC for on-wire scan. |
cw_diag -c arp-req
|
Show scanned arp requests. |
cw_diag -c ap-scan
|
Show scanned APs. |
cw_diag -c sta-scan
|
Show scanned STAs. |
cw_diag -c sta-cap
|
Show scanned STA capabilities. |
cw_diag -c wids
|
Show scanned WIDS detections. |
cw_diag -c darrp
|
Show darrp radio channel. |
cw_diag -c mesh
|
Show mesh status. |
cw_diag -c mesh-veth-acinfo
|
Show mesh veth ac info, and mesh ether type. |
cw_diag -c mesh-veth-vap
|
Show mesh veth vap. |
cw_diag -c mesh-veth-host
|
Show mesh veth host. |
cw_diag -c mesh-ap
|
Show mesh ap candidates. |
cw_diag -c scan-clr-all
|
Flush all scanned AP/STA/ARPs. |
cw_diag -c ap-suppress
|
Show suppressed APs. |
cw_diag -c sta-deauth
|
De-authenticate an STA. |