08-25-2023 07:51 PM
I have a lab set up with a C9130-AXI AP joined to a C9800 WLC. I am trying to use NETCONF or RESTCONF to fetch device probes of the wireless network. I can get them just fine using RESTCONF, as long as the device does not have a randomized MAC address. When I turn on "Randomized MAC" on my mobile device, I disappear.
I assume the locally administered MACs are being filtered out by either the C9800 WLC or the AP itself. Does anyone have a clue which one it might be? And where that setting might be changed?
Solved! Go to Solution.
08-28-2023 06:40 AM - edited 08-28-2023 06:41 AM
FOUND IT!
@Rich R 's solution wasn't exactly a fix, since I had no trouble _connecting_ using a randomized mac, I only had trouble seeing the probe requests. But this did point me in the right direction.
Turns out it IS a WLC setting:
WLC#config terminal
WLC(config)#wireless probe ?
filter Configure filtering of probe requests from AP.
limit Configure number of probe requests received per client per AP slot in a given interval.
locally-administered-mac Enable the reporting of probes from clients having locally administered MAC address.
Turn on `locally-administered-mac` setting and viola! You are now seeing randomized MAC probe requests via the YANG model referenced above. Thank you very much!
08-25-2023 08:16 PM
Unless some genius configured EEM, I do not believe this is even possible.
I have several 9800-80 on 17.6.4 and 17.9.3 and I see wireless clients with Random MAC address enabled all the time.
08-25-2023 09:24 PM
Wireless clients? Or probe requests? I'm interested in the latter.
08-25-2023 09:37 PM - edited 08-25-2023 09:37 PM
Hmmmm ... Probe requests or beacons?
If this is beacons, then it could be CSCwe91371.
(NOTE: We are not the ones who have stumbled upon CSCwe91371 but we have created a TAC case asking for more information about CSCwe91371. Unfortunately, TAC is not helpful and is unwilling to provide more information other than "subscribe to the Bug ID".)
08-26-2023 06:32 AM - edited 08-26-2023 06:33 AM
CSCwe91371 is a problem with the AP sending beacons.
@david101011 is referring to probes received from clients.
Make sure you don't have random MAC address clients disabled:
https://www.cisco.com/c/en/us/td/docs/wireless/controller/9800/17-9/config-guide/b_wl_17_9_cg/m_knob_disable_random_mac_clients.html
Which variables are you using to look at those probes @david101011 ?
Looking at https://github.com/YangModels/yang/blob/main/vendor/cisco/xe/1791/Cisco-IOS-XE-wireless-client-oper.yang we have: is-locally-administered-mac "Is client's MAC address locally administered" implying it should recognise public or private MACs.
https://github.com/YangModels/yang/blob/main/vendor/cisco/xe/1791/Cisco-IOS-XE-wireless-location-oper.yang
grouping client-lrad-key {
description
"Indicates which AP has heard from a specific client";
leaf client-mac-addr {
type yang:mac-address;
description
"Wireless client MAC address";
Doesn't specify any restrictions on client MAC so shouldn't matter but it wouldn't surprise me if a developer decided that tracking of random MAC locations on probes was pointless because we know that many devices now use constantly changing random MACs for probing.
08-26-2023 10:49 PM
Ok, maybe something like CSCwe15338?
08-28-2023 06:40 AM - edited 08-28-2023 06:41 AM
FOUND IT!
@Rich R 's solution wasn't exactly a fix, since I had no trouble _connecting_ using a randomized mac, I only had trouble seeing the probe requests. But this did point me in the right direction.
Turns out it IS a WLC setting:
WLC#config terminal
WLC(config)#wireless probe ?
filter Configure filtering of probe requests from AP.
limit Configure number of probe requests received per client per AP slot in a given interval.
locally-administered-mac Enable the reporting of probes from clients having locally administered MAC address.
Turn on `locally-administered-mac` setting and viola! You are now seeing randomized MAC probe requests via the YANG model referenced above. Thank you very much!
08-28-2023 06:52 AM
Thanks for the update.
Ironically that command is not documented at all in the 9800 WLC config guide but is in the EWC config guide!
https://www.cisco.com/c/en/us/td/docs/wireless/controller/ewc/17-9/config-guide/ewc_cg_17_9/network_mobility_services_protocol.html#id_86064
I'll submit some feedback for the WLC guide and maybe they'll eventually update it...
08-28-2023 04:09 PM
Thanks, I've never heard of this command before.
08-27-2023 06:29 AM
Probably not because when the queue gets stuck that will drop all probes not just private MACs.
I think more likely something in the code is simply filtering out the private MAC probes from the data.
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