Wireless Controller
Dedicated Wi-Fi control and management for high density and mobility
mkpotlapelli
Staff
Staff
Article Id 190686
Description
This article describes how to filter 'MAC-Filtering' related events in station-logs

Useful link.
https://docs.fortinet.com/document/wireless-controller/8.5.2/fortiwlc-configuration-guide

Scope
For version 8.4.X, 8.5.X.

Solution
SSH into the controller. Open two sessions.

Session 1: configure only MAC-filtering
Session 2: run station-log

Session 1.
Use below commands to check live mac-filtering related events.
Controller (15) #station-log
station-log> event id show all               <----- It will show everything set to 'YES'.
Event ID Filters
===================
Enabled | ID# | Name
-------------------------------------
  Yes    |   1 | IP Address Discovered
  Yes    |   2 | DHCP
  Yes    |   3 | Station Assign
  Yes    |   4 | 802.11 State
  Yes    |   5 | CP User Authentication
  Yes    |   6 | 1X Authentication
  Yes    |   7 | Encryption
  Yes    |   8 | Mac Filtering
  Yes    |   9 | Diagnostics
  Yes    |  10 | Band Steering
  Yes    |  11 | SIP
  Yes    |  12 | Service Manager
  Yes    |  13 | Internal
  Yes    |  14 | SAE Authentication

station-log> event id remove all             <----- Removing all filters.
station-log> event id show

Event ID Filters
===================
Enabled | ID# | Name
-------------------------------------
   No    |   1 | IP Address Discovered
   No    |   2 | DHCP
   No    |   3 | Station Assign
   No    |   4 | 802.11 State
   No    |   5 | CP User Authentication
   No    |   6 | 1X Authentication
   No    |   7 | Encryption
   No    |   8 | Mac Filtering
   No    |   9 | Diagnostics
   No    |  10 | Band Steering
   No    |  11 | SIP
   No    |  12 | Service Manager
   No    |  13 | Internal
   No    |  14 | SAE Authentication


station-log> event id set 8                   <----- Setting filter only to 'MAC-Filtering'
station-log> event id show

Event ID Filters
===================
Enabled | ID# | Name
-------------------------------------
   No    |   1 | IP Address Discovered
   No    |   2 | DHCP
   No    |   3 | Station Assign
   No    |   4 | 802.11 State
   No    |   5 | CP User Authentication
   No    |   6 | 1X Authentication
   No    |   7 | Encryption
  Yes    |   8 | Mac Filtering
   No    |   9 | Diagnostics
   No    |  10 | Band Steering
   No    |  11 | SIP
   No    |  12 | Service Manager
   No    |  13 | Internal
   No    |  14 | SAE Authentication

station-log# en                               <----- Enabling.

station-log# exit
Note.
Once exit from station-log, all settings under station-log will set back to default.


In session 2.
controller(15)# station-log show all -ev 8    <----- Local mac-filtering.
controller (15)# station-log show all -ev 6   <----- Radius mac-filtering.

Contributors