FortiAP
FortiAP devices are thin wireless access points (AP) supporting the latest Wi-Fi technologies (multi-user MIMO 802.11ac Wave 1 and Wave 2, 4x4), as well as 802.11n, 802.11AX , and the demand for plug and play deployment.
vpatil
Staff
Staff
Article Id 346228
Description This article describes how to collect the logs and config to assist TAC in debugging issues on FortiAP WiFi. Attach this data to the Fortinet Support Ticket.
Scope FortiAP v7.x, FortiAP-W2 v7.x, FortiAP-U v7.x and FortiGate v7.x.
Solution
  1. Provide the affected user's MAC address.
  2. Approximate timestamp of the issue (this info will help review the relevant logs).
  3. 'fap-tech' command output from the FortiAP CLI access as shown below: 

 

fap-tech  <----- Output contains details such as the FortiAP model, firmware version, SSIDs, radio settings, WiFi station stats, kernel crash, and crash records.

 

Navigate to FortiGate GUI, go under WiFi & Switch Controller -> Managed FortiAPs -> 'Right-Click' -> Connect to CLI  and type the 'fap-tech' command on the FortiAP CLI as shown below:

 

Connect to CLI.PNG

 

fap-tech.png

 

Note:

Connect to 'CLI' or 'SSH' access to the FortiAP works only when 'SSH' is enabled in the 'Operational Profiles' or 'FortiAP profile' as shown below:

 

SSH.PNG

 

     4. Collect the 'klog' from the FortiAP using CLI/SSH access. The klog contains ARP/Authentication/DHCP logs:

 

cfg -a ADMIN_TIMEOUT=0
cfg -c
klog

 

Duplicate the WiFi connectivity issue a couple of times while the klog is running and then stop the log using Windows 'Ctrl+C' keys.

 

  1. Collect 'don/ton' logs from the FortiAP CLI/SSH access. The don/ton logs contain CAPWAP cwWtpd daemon logs:

     

    cfg -a ADMIN_TIMEOUT=0
    cfg -c
    don
    ton

     

    After collecting the logs disable the logs:

     

    doff
    toff

     

     

  2. Download and attach 'Logs' from the affected FortiAP by navigating to Diagnostics and Tools as shown below:

     

    Diag and Tools.PNG

     

    Logs.PNG

     

     

  3. Download and attach 'WiFi Events' logs from the FortiGate GUI by navigating to Logs and Report -> System Events, select WiFi Events from the drop-down menu, and select Memory to download current logs as shown below:

     

    WiFi Event logs.PNG

     

     

  4. Download and attach the latest FortiGate config backup to review the current wireless-controller config:

     

    Backup.PNG