Skip to main content
efernandes
Explorer II
September 25, 2024
Solved

FortiGate Commands to check parameters for FortiAPs

  • September 25, 2024
  • 6 replies
  • 2227 views

Are there any specific commands that I can run on a FortiGate to check the following parameters of the FortiAPs associated with the FG:
Number of APs associated
Number of SSIDs
Number of Users/devices connected per SSID

Total Number of Clients

Best answer by ebilcari

This SNMP queries can be done directly to FGT (no need to have network reachability to the APs). More detailed information can be found on the MIB file that can be downloaded from the FGT and open via a MIB browser or importing it to a monitoring system. The thread I have shared above include an example OID that you can use as a start.

6 replies

adambomb1219
SuperUser
SuperUser
September 25, 2024

Why would you want to do this from CLI?  Why not from the GUI or (better yet) from FortiManager?

efernandes
Explorer II
September 25, 2024

We plan to query the Fortigate for this information rather than the FMG.
But , I am curious as to how would I do it through the FMG and query it through there for our internal monitoring teams

ebilcari
Staff
Staff
September 25, 2024

You can use the commands for the WLC, # diag wireless-controller wlac ... like for example:

# diag wireless-controller wlac list-vap

 

Getting this information via SNMP queries may be easier, more information can be found on this thread.

Emirjon
adambomb1219
SuperUser
SuperUser
September 25, 2024

Yeah exactly SNMP or FortiManager are FAR better ways to do this than using CLI.

Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
Fortinet Flag the Hack. Wednesday, August 26, 9:00 AM - 5:00 PM ET, COSM, Atlanta, GA.