Technical Tip: Collecting station log for a wireless client when there is a VDOM Configured
Description
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.
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>Example:
# diagnose debug enable
# diagnose wireless-controller wlac sta_filter 2c:4d:54:bd:5d:56 255- Once the issue is recreated, disable the logging using below commands:
# diagnose debug enable
# diagnose debug disable
# diagnose debug reset