FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
shruthinr
Staff
Staff
Article Id 196139
Description
While debugging wireless client connection or random disconnection issues, it is often helpful to view the station log for errors.
This article describes how to collect the activity of a specific client/station based on its MAC address.

Solution
When thereis a  VDOM configured on FortiGate/FortiWiFi, it is necessary to be in global mode to execute station-log commands.

- Get into global mode.
# Config global
- Reset previous debug filters.
# diagnose debug reset
- Clear station MAC filters.
# diagnose wireless-controller wlac sta_filter clear
- Add MAC client filter.
# diagnose wireless-controller wlac sta_filter <MAC> <verbose>
# diagnose debug enable
Example:
# diagnose wireless-controller wlac sta_filter 2c:4d:54:bd:5d:56 255
# diagnose debug enable
- Once the issue is recreated, disable the logging using below commands:
# diagnose debug disable
# diagnose debug reset

Contributors