Skip to main content
mp2
Staff
Staff
June 2, 2020

Technical Tip: Setup FortiAP as sniffer to collect air packet capture

Description
This document describes how to configure FortiAP as a sniffer to collect air packet capture.

Related links.
https://docs.fortinet.com/product/wireless-controller/8.5
Page# 502: https://fortinetweb.s3.amazonaws.com/docs.fortinet.com/v2/attachments/f8902d66-dfb2-11e9-8977-00505692583a/Fortiwlc-sd-v8.5.1-userguide.pdf

Solution
Below steps explain how to collect Wireless captures using the nearest sibling AP.
The sniffing FortiAP has to be near by the problem client and its associated AP within -60 dbm RSSI for better results.

1) Need to remove the ess-profile/vap entries from the sniffer FortiAP before starting the capture.
2) Commands to enable the sniffer:
wlc#conn ap <ap-id>
ap-id>sniff destport 9177
ap-id>sniff destmode l3
ap-id>sniff destaddr                     <----- IP of the PC with Wireshark. 
ap-id>sniff enable on all
3) Once capture is completed, stop the sniffer on the FortiAP by executing the below command.
ap-id>sniff enable off all
Note.
After getting the captures, make sure to disable the sniffer and add the initially removed ess-ap-table entries back on the sniffer FortiAP.

From GUI.
Before starting the FortiAP packet capture, remove the ess-profile/VAP from the sniffer FortiAP.

Go to Configuration -> Devices -> AP Packet Capture and add a profile.




Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
Thought Leadership. Security Summit. Thursday, October 8th. Disney's Grand Californian Hotel & SPA, Anaheim, CA.
Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT