12-20-2022 06:19 AM
Hello! I have configured mac filtering on one of WLANS on WLC. Everything was ok. But today I noticed that the mac filtering doesn't work. Devices can join to network by a password.Their mac addresses aren't on local access list. Please help me to fix this. Thank you!
12-20-2022 06:30 AM
for mac filter with L3 auth is not check the mac in list it only detect the mac and then use it for mapping the IP-User.
12-20-2022 06:33 AM
but here it says that it's checking, and it checked when I configured it. It just stopped doing that
12-20-2022 06:35 AM
this vlan auth by L2 or L3 ?
12-20-2022 06:54 AM
L2 , [WPA2][Auth(PSK)] and MAC Filtering
12-20-2022 07:37 AM
To help everyone else, what controller model and firmware is running. With PSK, I know that using a radius server works well because you can define a group of mac address that can or can't join and SSID per a policy. I have used Cisco ISE with the 9800's as an example to get mac addresses of device connecting to PSK and our Guest network just so we have some visibility.
12-20-2022 07:47 AM
Model AIR-CT3504-K9. software version 8.8.130.0
12-20-2022 07:41 AM - edited 12-20-2022 07:42 AM
I will make double check.
12-20-2022 07:49 AM
Thank you!
12-20-2022 07:47 AM
@Orkhan Hajizada Below the config you need to configure MAC whitelisting for an SSID:
aaa authorization network <NAME-OF-LIST> local
aaa attribute list <NAME-OF-LIST>
attribute type ssid "<YOUR-SSID-HERE>"
!
wlan <YOUR-WLAN-PROFILE-HERE> 101 <YOUR-SSID-HERE>
shutdown
mac-filtering <NAME-OF-LIST>
security wpa psk set-key ascii 0 <YOUR-PSK-HERE>
no security wpa akm dot1x
security wpa akm psk
no shutdown
!
username <allowed_device_mac_w/o_punctuation> mac aaa attribute list <NAME-OF-LIST> description <OPTIONAL-DESCRIPTION-HERE>
12-20-2022 07:50 AM
Thank you, but it works before without cmd commands
12-20-2022 07:55 AM
12-20-2022 08:01 AM
You can try, it doesn't hurt. Make sure you read the other post in this thread. Also take a look at other guides out there as there might be a slight variance on how you should configure mac filtering.
Configure MAC Filters with Wireless LAN Controllers (WLCs) - Cisco
Configure MAC filtering on WLC (GUI and CLI) – Infra admin's blog (tayam-infra.net)
Allow only few MAC addresses to connect to SSID on WLC using MAC Filtering - Cisco Community
12-20-2022 08:18 AM
I found out guys! Yesterday I configured ISE, and connect this WLC to him. I configured radious there for guest ssid and etc. As I understand after this WLC ignores his local mac database and look to ISE. Do you know how can I use 1 SSID with local mac filter at the same time with 1 SSID with ISE settings? (guest portal etc)
12-20-2022 08:28 AM
This makes more sense since you have ISE. You can always setup a rule that looks for your SSID and then on your authZ policies you define what internal group with mac address to use to either deny or permit. Here is something I have been using in my home environment to test with. I do use a regular expression in which you don't have to do and I put mac address in the Blocked list endpoint group that I want to deny. You can be creative and do other things, you just need to make sure your more specific rules are on the top and the more broad rules follow.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide