Some Useful AP radio commands.
boarddata display : This command shows the AP inbuilt properties like network details, Serial number of each radio interface, boot delay for a AP, Ethernet address of the AP, AP Model number, AP part number, AP serial Number etc.,
cie show : This command will show country specific information for the AP. The details include Number Of Allowed Channels per band ( A & BG ), Starting Channel Number for each band, TX power for each channel in the band.
config : This has a wide range of options that could be configured for the APs, they are
config set {radio|ethernet|ap} <parameter> <name> : set configuration parameters.
config set radio <if> admin {up|down|testing}
config set radio <if> channel <channel>
config set radio <if> width {20|auto}
config set radio <if> mode <A|B|G|BG|BGN|AN>
config set radio <if> antenna {1|2|internal|external|diversity}
config set radio <if> power {low|medium|high} <powerlvl>
config set radio <if> scan <space separated channel list>
config set radio <if> protection <none|cts|rts-cts|dual-speed>
config set radio <if> protection-mode <on|off|auto>
config set ethernet mac <mac address>
config set ap name <AP name>
config set ap id <ap node id>
config
set ats loopbacktesthook <enable|disable> magic_num
<on|off>ip <ip addr> mac <mac addr, : separated>
config show radio|ethernet|ap : show configuration parameters.
config show ap : display global ap parameters.
config show ethernet : display ethernet parameters.
config show radio <radio-name> : display radio parameters.
config show ats loopbacktesthook : display ats loopbacktesthook status.
flashcmds show : This command is used to show all the logs of the AP which will be required while troubleshooting the AP reboot issue. Also these logs are helpful in understanding the booting process of the APs.
history : Displays a list of previously used commands in the AP.
exit : To exit out of the AP and go back to the controller.
ip arp -a : To print all the entries in the ARP cache.
ip config : To configure the AP manually in regards to connectivity and network setting, below are the options available
ip config <save | write> : Save the IP configuration to non-volatile memory.
ip config <reset | clear> : Reset/Clear the IP configuration to factory defaults.
ip config name <name> : Configure the AP name.
ip config address <address> : Configure the AP IP address.
ip config netmask <netmask> : Configure the AP netmask.
ip config gateway <netmask> : Configure the gateway.
ip config controller name <name> : Configure controller name.
ip config controller domain <name> : Configure controller domain.
ip config net <static | dhcp | none> : Configure Net for DHCP, static, or none.
ip config l2l3 <l2only | l2preferred | l3preferred | l3experimental > : Configure l2l3 Rx/Tx network layer.
ip config dns add <address> : Add DNS server.
ip config dns remove <address> : Remove DNS server.
ip info : Display all the ip information of the AP.
radio keycache radio0 : Show the key cache of the AP for the radio 0 interface ( 2.4 Ghz )
radio keycache radio1 : Show the key cache of the AP for the radio 1 interface ( 5 Ghz )
radio stats radio0 : Show the complete statistic of the AP for the radio 0 ( 2.4 Ghz )
radio stats radio1 : Show the complete statistic of the AP for the radio 1 ( 5 Ghz )
radio show radio0 : Will show the configuration and parameter for this AP radio 0
radio show radio1 : Will show the configuration and parameter for this AP radio 1
Sniff : To enable the AP for a sniffing function. ( basically used for taking capture of packets over the air line an airopeek card)
stadb : This commands is used for displayed the station database details and it has the following options,
stadb display : show STA database entry.
stadb display <STA MAC> : show STA database entry.
stadb display : show STA database summary.
stadb display assigned : show assigned STA database.
stadb display assigned -v : show assigned STA database. (verbose)
stadb display assigned -t : show assigned STA database statistics.
stadb display assigned -r <assigned_node_mac_address> [tx|rx] : show assigned STA TX RX rates.
stadb display assigned -rc <assigned_node_mac_address> [tx|rx] : reset assigned STA short term TX RX rates.
stadb display discovered : show discovered STA database.
stadb display discovered -b <BSSID> : show discovered STA database for matching BSSID
stadb display discovered -bb <BSSID> : show discovered STA database for matching OUI
stadb display discovered -m <MAC> : show discovered STA database for matching STA mac
stadb display stats : show rx and tx stats relating to avg aggr length, loss, data rates
System : Command used to get system variables and it has following options,
1.System reboot
2. System uptime
vap : Commands to show/manipulate VAP(BSSID) database
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.