Chapter 1 What’s New for FortiOS 5.0 : Wireless : FortiAP web‑based manager and CLI
  
FortiAP web‑based manager and CLI
You can now log into a FortiAP web‑based manager to view FortiAP status as well as view and change the FortiAP configuration. Logging into the FortiAP web‑based manager is similar to logging into the FortiGate web‑based manager.
The FortiAP CLI now includes more configuration commands and a complete set of diagnose commands.
Configuration commands include the following
cfg -h
Display help for all commands.
cfg -r var
Remove variables.
cfg -e
Export variables.
cfg -s
List variables.
cfg -x
Reset to factory defaults.
cfg -c
Commit the change to flash.
cfg -a var=value
Add or change variables.
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
Ee-authenticate an STA.