Version:

Version:

Version:

Version:

Version:

Version:

Version:


Table of Contents

FortiWiFi and FortiAP Configuration Guide

Enabling spectrum analysis

Spectrum analysis is visible in the FortiOS GUI through the Managed FortiAPs page for select FortiAP models. Spectrum analysis can also be performed in the FortiOS CLI.

To start or stop the spectrum analysis:

execute wireless-controller spectral-scan <wtp-id> <radio-id > <on | off> <duration> <channel> <report-interval>

To verify the results:

diagnose wireless-controller wlac -c rf-sa <wtp-id> <radio-id> <channel>

get wireless-controller spectral-info <wtp-id> <radio-id>

To view spectrum analysis in the FortiOS GUI
  1. Change the radio mode:
    1. Go to WiFi and Switch Controller > FortiAP Profiles and double-click the FortiAP to edit the profile.
    2. In the Radio 1 and Radio 2 sections for Mode, select Dedicated Monitor.

    3. Click OK.
  2. Go to WiFi and Switch Controller > Managed FortiAPs.
  3. In the table, hover over the AP so the context menu appears and click Diagnostics and Tools.

    The summary pane appears.

  4. Click Spectrum Analysis.
  5. Select a band frequency to view the analysis for: Signal Interference, Signal Interference Spectrogram, Duty Cycle, Duty Cycle Spectrogram, and Detected Interference (list).

    Analysis for 2.4 GHz:

    Analysis for 5 GHz:

  6. Click Close.
To change the radio mode in the FortiOS CLI:
config wireless-controller wtp-profile
    edit "421E"
        config platform
            set type 421E
        end
        config radio-1
            set mode monitor
        end
        config radio-2
            set mode monitor
        end
    next
end
To view spectrum analysis for radio 1 in the FortiOS CLI:
  1. Start the spectrum analysis on channel 1:
    # execute wireless-controller spectral-scan FP421ETF19000000 1 on 30 1 1000
  2. View the analysis results:
    # diagnose wireless-controller wlac -c rf-sa FP421ETF19000000 1 1
    -------------------------------RF Spectrum Data    1----------------------------
    rId: 1 Age: 24   gen 27     rssi: 11  nf: -96 bw: 1 Freq: 2412 Chan: 1   Cnt bin 256 Interf: 0   (idx,duty_max,duty,pwr_max,pwr)
      0  45  14   -67  -89        1  45  14   -60  -89        2  44  14   -63  -89        3  44  13   -57  -83  -   
      4  44  13   -61  -89        5  43  12   -67  -89        6  43  11   -67  -89        7  42  11   -67  -89      
      8  42  10   -67  -89        9  42  10   -67  -89       10  41  10   -67  -83  -    11  41  10   -67  -89      
     12  41  10   -67  -89       13  42  10   -67  -89       14  41  10   -67  -83  -    15  41  10   -67  -89      
     16  41  10   -61  -89       17  41  10   -67  -89       18  41  10   -67  -89       19  41  9    -67  -89      
     20  41  10   -67  -89       21  41  10   -67  -89       22  41  10   -67  -89       23  42  10   -67  -79  - 
    # get wireless-controller spectral-info FP421ETF19000000 1
    ==============================================================================
    Spectrum info for band freq [2402, 2482] chan [1,13]: (idx,age,gen,duty_max,duty,pwr_max,pwr)
    2402      0      1      7   19   19    -21   -83    -               1      1      7   18   18    -33   -83    -     
              2      1      7   18   18    -35   -83    -               3      1      7   17   17    -39   -83    -     
              4      1      7   17   17    -43   -83    -               5      1      7   16   16    -47   -83    -     
              6      1      7   15   15    -33   -83    -               7      1      7   15   15    -45   -83    -     
              8      1      7   14   14    -59   -83    -               9      1      7   14   14    -53   -83    -     
             10      1      7   14   14    -59   -83    -              11      1      7   14   14    -59   -83    -    
  3. Stop the spectrum analysis on radio 1:
    # execute wireless-controller spectral-scan FP421ETF19000000 1 off
  4. Verify the analysis has stopped:
    # get wireless-controller spectral-info FP421ETF19000000 1
    ==============================================================================
    No spectrum info is found for band freq [2402, 2482] chan [1,13]
    ==============================================================================
    No spectrum info is found for band freq [5170, 5330] chan [36,64]
    ==============================================================================
    No spectrum info is found for band freq [5490, 5710] chan [100,140]
    ==============================================================================
    No spectrum info is found for band freq [5735, 5835] chan [149,165]
    FortiGate-80E-POE # diagnose wireless-controller wlac -c rf-sa FP421ETF19000000 1 1 
    -------------------------------Total    0 RF Spectrum Datas----------------------------
To view spectrum analysis for radio 2 in the FortiOS CLI:
  1. Start the spectrum analysis on all channels:
    # execute wireless-controller spectral-scan FP421ETF19000000 2 on
  2. View the analysis results:
    # get wireless-controller spectral-info FP421ETF19000000 2 
     ==============================================================================
     No spectrum info is found for band freq [2402, 2482] chan [1,13]
     ==============================================================================
     Spectrum info for band freq [5170, 5330] chan [36,64]: (idx,age,gen,duty_max,duty,pwr_max,pwr)
     5170      0     24      9   0    0     -92   -94                    1     24      9   0    0     -92   -94          
               2     24      9   0    0     -92   -94                    3     24      9   0    0     -92   -94          
               4     24      9   0    0     -92   -94                    5     24      9   0    0     -92   -94          
               6     24      9   0    0     -92   -94                    7     24      9   0    0     -92   -94          
               8     24      9   0    0     -92   -94                    9     24      9   0    0     -92   -94          
              10     24      9   0    0     -92   -94                   11     24      9   0    0     -92   -94          
              12     24      9   0    0     -92   -94                   13     24      9   0    0     -92   -94          
             14     24      9   0    0     -92   -94                   15     24      9   0    0     -92   -94          
  3. Check the spectrum analysis results on specific channels:
    # diagnose wireless-controller wlac -c rf-sa FP421ETF19000000 2 36
    -------------------------------RF Spectrum Data    1----------------------------
    rId: 2 Age: 6    gen 7      rssi: 2   nf: -96 bw: 1 Freq: 5180 Chan: 36  Cnt bin 256 Interf: 0   (idx,duty_max,duty,pwr_max,pwr)
      0  0   0    -92  -94        1  0   0    -92  -94        2  0   0    -92  -94        3  0   0    -92  -94      
      4  0   0    -92  -94        5  0   0    -92  -94        6  0   0    -92  -94        7  0   0    -92  -94      
      8  0   0    -92  -94        9  0   0    -92  -94       10  0   0    -92  -94       11  0   0    -92  -94      
     12  0   0    -92  -94       13  0   0    -92  -94       14  0   0    -92  -94       15  0   0    -92  -94      
     16  0   0    -92  -94       17  0   0    -92  -94       18  0   0    -92  -94       19  0   0    -92  -94      
     20  0   0    -92  -94       21  0   0    -92  -94       22  0   0    -92  -94       23  0   0    -92  -94      
     24  0   0    -92  -94       25  0   0    -92  -94       26  0   0    -92  -94       27  0   0    -92  -94      
     28  0   0    -92  -94       29  0   0    -92  -94       30  0   0    -92  -94       31  0   0    -92  -94     
    # diagnose wireless-controller wlac -c rf-sa FP421ETF19000000 2 165
    -------------------------------RF Spectrum Data    1----------------------------
    rId: 2 Age: 22   gen 6      rssi: 11  nf: -96 bw: 1 Freq: 5825 Chan: 165 Cnt bin 256 Interf: 0   (idx,duty_max,duty,pwr_max,pwr)
      0  0   0    -90  -90        1  0   0    -90  -90        2  0   0    -90  -90        3  0   0    -90  -90      
      4  0   0    -90  -90        5  0   0    -90  -90        6  0   0    -90  -90        7  0   0    -90  -90      
      8  0   0    -90  -90        9  0   0    -90  -90       10  0   0    -90  -90       11  0   0    -90  -90      
     12  0   0    -90  -90       13  0   0    -90  -90       14  0   0    -90  -90       15  0   0    -90  -90      
     16  0   0    -90  -90       17  0   0    -90  -90       18  0   0    -90  -90       19  0   0    -90  -90      
     20  0   0    -90  -90       21  0   0    -90  -90       22  0   0    -90  -90       23  0   0    -90  -90      
     24  0   0    -90  -90       25  0   0    -90  -90       26  0   0    -90  -90       27  0   0    -90  -90      
     28  0   0    -90  -90       29  0   0    -90  -90       30  0   0    -90  -90       31  0   0    -90  -90  
  4. Stop the spectrum analysis on radio 2:
    # execute wireless-controller spectral-scan FP421ETF19000000 2 off
  5. Verify the analysis has stopped:
    # get wireless-controller spectral-info FP421ETF19000000 2
    ==============================================================================
    No spectrum info is found for band freq [2402, 2482] chan [1,13]
    ==============================================================================
    No spectrum info is found for band freq [5170, 5330] chan [36,64]
    ==============================================================================
    No spectrum info is found for band freq [5490, 5710] chan [100,140]
    ==============================================================================
    No spectrum info is found for band freq [5735, 5835] chan [149,165]

Enabling spectrum analysis

Spectrum analysis is visible in the FortiOS GUI through the Managed FortiAPs page for select FortiAP models. Spectrum analysis can also be performed in the FortiOS CLI.

To start or stop the spectrum analysis:

execute wireless-controller spectral-scan <wtp-id> <radio-id > <on | off> <duration> <channel> <report-interval>

To verify the results:

diagnose wireless-controller wlac -c rf-sa <wtp-id> <radio-id> <channel>

get wireless-controller spectral-info <wtp-id> <radio-id>

To view spectrum analysis in the FortiOS GUI
  1. Change the radio mode:
    1. Go to WiFi and Switch Controller > FortiAP Profiles and double-click the FortiAP to edit the profile.
    2. In the Radio 1 and Radio 2 sections for Mode, select Dedicated Monitor.

    3. Click OK.
  2. Go to WiFi and Switch Controller > Managed FortiAPs.
  3. In the table, hover over the AP so the context menu appears and click Diagnostics and Tools.

    The summary pane appears.

  4. Click Spectrum Analysis.
  5. Select a band frequency to view the analysis for: Signal Interference, Signal Interference Spectrogram, Duty Cycle, Duty Cycle Spectrogram, and Detected Interference (list).

    Analysis for 2.4 GHz:

    Analysis for 5 GHz:

  6. Click Close.
To change the radio mode in the FortiOS CLI:
config wireless-controller wtp-profile
    edit "421E"
        config platform
            set type 421E
        end
        config radio-1
            set mode monitor
        end
        config radio-2
            set mode monitor
        end
    next
end
To view spectrum analysis for radio 1 in the FortiOS CLI:
  1. Start the spectrum analysis on channel 1:
    # execute wireless-controller spectral-scan FP421ETF19000000 1 on 30 1 1000
  2. View the analysis results:
    # diagnose wireless-controller wlac -c rf-sa FP421ETF19000000 1 1
    -------------------------------RF Spectrum Data    1----------------------------
    rId: 1 Age: 24   gen 27     rssi: 11  nf: -96 bw: 1 Freq: 2412 Chan: 1   Cnt bin 256 Interf: 0   (idx,duty_max,duty,pwr_max,pwr)
      0  45  14   -67  -89        1  45  14   -60  -89        2  44  14   -63  -89        3  44  13   -57  -83  -   
      4  44  13   -61  -89        5  43  12   -67  -89        6  43  11   -67  -89        7  42  11   -67  -89      
      8  42  10   -67  -89        9  42  10   -67  -89       10  41  10   -67  -83  -    11  41  10   -67  -89      
     12  41  10   -67  -89       13  42  10   -67  -89       14  41  10   -67  -83  -    15  41  10   -67  -89      
     16  41  10   -61  -89       17  41  10   -67  -89       18  41  10   -67  -89       19  41  9    -67  -89      
     20  41  10   -67  -89       21  41  10   -67  -89       22  41  10   -67  -89       23  42  10   -67  -79  - 
    # get wireless-controller spectral-info FP421ETF19000000 1
    ==============================================================================
    Spectrum info for band freq [2402, 2482] chan [1,13]: (idx,age,gen,duty_max,duty,pwr_max,pwr)
    2402      0      1      7   19   19    -21   -83    -               1      1      7   18   18    -33   -83    -     
              2      1      7   18   18    -35   -83    -               3      1      7   17   17    -39   -83    -     
              4      1      7   17   17    -43   -83    -               5      1      7   16   16    -47   -83    -     
              6      1      7   15   15    -33   -83    -               7      1      7   15   15    -45   -83    -     
              8      1      7   14   14    -59   -83    -               9      1      7   14   14    -53   -83    -     
             10      1      7   14   14    -59   -83    -              11      1      7   14   14    -59   -83    -    
  3. Stop the spectrum analysis on radio 1:
    # execute wireless-controller spectral-scan FP421ETF19000000 1 off
  4. Verify the analysis has stopped:
    # get wireless-controller spectral-info FP421ETF19000000 1
    ==============================================================================
    No spectrum info is found for band freq [2402, 2482] chan [1,13]
    ==============================================================================
    No spectrum info is found for band freq [5170, 5330] chan [36,64]
    ==============================================================================
    No spectrum info is found for band freq [5490, 5710] chan [100,140]
    ==============================================================================
    No spectrum info is found for band freq [5735, 5835] chan [149,165]
    FortiGate-80E-POE # diagnose wireless-controller wlac -c rf-sa FP421ETF19000000 1 1 
    -------------------------------Total    0 RF Spectrum Datas----------------------------
To view spectrum analysis for radio 2 in the FortiOS CLI:
  1. Start the spectrum analysis on all channels:
    # execute wireless-controller spectral-scan FP421ETF19000000 2 on
  2. View the analysis results:
    # get wireless-controller spectral-info FP421ETF19000000 2 
     ==============================================================================
     No spectrum info is found for band freq [2402, 2482] chan [1,13]
     ==============================================================================
     Spectrum info for band freq [5170, 5330] chan [36,64]: (idx,age,gen,duty_max,duty,pwr_max,pwr)
     5170      0     24      9   0    0     -92   -94                    1     24      9   0    0     -92   -94          
               2     24      9   0    0     -92   -94                    3     24      9   0    0     -92   -94          
               4     24      9   0    0     -92   -94                    5     24      9   0    0     -92   -94          
               6     24      9   0    0     -92   -94                    7     24      9   0    0     -92   -94          
               8     24      9   0    0     -92   -94                    9     24      9   0    0     -92   -94          
              10     24      9   0    0     -92   -94                   11     24      9   0    0     -92   -94          
              12     24      9   0    0     -92   -94                   13     24      9   0    0     -92   -94          
             14     24      9   0    0     -92   -94                   15     24      9   0    0     -92   -94          
  3. Check the spectrum analysis results on specific channels:
    # diagnose wireless-controller wlac -c rf-sa FP421ETF19000000 2 36
    -------------------------------RF Spectrum Data    1----------------------------
    rId: 2 Age: 6    gen 7      rssi: 2   nf: -96 bw: 1 Freq: 5180 Chan: 36  Cnt bin 256 Interf: 0   (idx,duty_max,duty,pwr_max,pwr)
      0  0   0    -92  -94        1  0   0    -92  -94        2  0   0    -92  -94        3  0   0    -92  -94      
      4  0   0    -92  -94        5  0   0    -92  -94        6  0   0    -92  -94        7  0   0    -92  -94      
      8  0   0    -92  -94        9  0   0    -92  -94       10  0   0    -92  -94       11  0   0    -92  -94      
     12  0   0    -92  -94       13  0   0    -92  -94       14  0   0    -92  -94       15  0   0    -92  -94      
     16  0   0    -92  -94       17  0   0    -92  -94       18  0   0    -92  -94       19  0   0    -92  -94      
     20  0   0    -92  -94       21  0   0    -92  -94       22  0   0    -92  -94       23  0   0    -92  -94      
     24  0   0    -92  -94       25  0   0    -92  -94       26  0   0    -92  -94       27  0   0    -92  -94      
     28  0   0    -92  -94       29  0   0    -92  -94       30  0   0    -92  -94       31  0   0    -92  -94     
    # diagnose wireless-controller wlac -c rf-sa FP421ETF19000000 2 165
    -------------------------------RF Spectrum Data    1----------------------------
    rId: 2 Age: 22   gen 6      rssi: 11  nf: -96 bw: 1 Freq: 5825 Chan: 165 Cnt bin 256 Interf: 0   (idx,duty_max,duty,pwr_max,pwr)
      0  0   0    -90  -90        1  0   0    -90  -90        2  0   0    -90  -90        3  0   0    -90  -90      
      4  0   0    -90  -90        5  0   0    -90  -90        6  0   0    -90  -90        7  0   0    -90  -90      
      8  0   0    -90  -90        9  0   0    -90  -90       10  0   0    -90  -90       11  0   0    -90  -90      
     12  0   0    -90  -90       13  0   0    -90  -90       14  0   0    -90  -90       15  0   0    -90  -90      
     16  0   0    -90  -90       17  0   0    -90  -90       18  0   0    -90  -90       19  0   0    -90  -90      
     20  0   0    -90  -90       21  0   0    -90  -90       22  0   0    -90  -90       23  0   0    -90  -90      
     24  0   0    -90  -90       25  0   0    -90  -90       26  0   0    -90  -90       27  0   0    -90  -90      
     28  0   0    -90  -90       29  0   0    -90  -90       30  0   0    -90  -90       31  0   0    -90  -90  
  4. Stop the spectrum analysis on radio 2:
    # execute wireless-controller spectral-scan FP421ETF19000000 2 off
  5. Verify the analysis has stopped:
    # get wireless-controller spectral-info FP421ETF19000000 2
    ==============================================================================
    No spectrum info is found for band freq [2402, 2482] chan [1,13]
    ==============================================================================
    No spectrum info is found for band freq [5170, 5330] chan [36,64]
    ==============================================================================
    No spectrum info is found for band freq [5490, 5710] chan [100,140]
    ==============================================================================
    No spectrum info is found for band freq [5735, 5835] chan [149,165]