ā12-30-2024 09:36 AM
Hi,
It seems that C9800 (17.12.3) wireless controllers don't return all their associated mobile stations through SNMP in AIRESPACE-WIRELESS-MIB::bsnMobileStationEntry subtree (.1.3.6.1.4.1.14179.2.1.4.1). Did anybody see this elsewhere?
ā12-30-2024 10:38 AM
What happens in some situation is that, if you have too many clients and the output gets too large, you may have problem. Not because the WLC is not providing you the information but this can be some kind of pagging issue.
How are you fetching the data from the WLC? It is a script ?
ā12-30-2024 12:00 PM
For instance, snmpwalk -Onq -Cc -v2c -c public -n "" -M /dev/null -m ALL WLC_ADDRESS .1.3.6.1.4.1.14179.2.1.4.1.3 returns mobile stations usernames used for authentication. In my testbed, I have 40 stations, so it is not "too many clients" (I hope...)
Until now, I did not find any parti cular client property that should explain why some clients are absent from the subtree...
There is another subtree AIRESPACE-WIRELESS-MIB::bsnMobileStationByUserName (.1.3.6.1.4.1.14179.2.1.13.1.1), but it contains only usernames and station mac addresses.
ā12-30-2024 12:12 PM
40 is definitely not much.
SNMP is not too much trustful protocol and runs over UDP, which make it even less trustful.
You may explore other possibilities like Netconf-yang for example.
ā01-28-2025 06:48 AM
It seems that it is not possible to use YANG anymore... "The YANG for OpenConfig Wireless including OpenConfig access-points and OpenConfig-ap-manager YANG are no longer being supported after 17.9" (BRKEWN-2730).
I'm still able to get values through https (/restconf/data/Cisco-IOS-XE-wireless-client-oper:client-oper-data), but with netconf over ssh I'm not sure how to get the equivalent if it still exists... Capabilities like " http://openconfig.net/yang/wifi/access-points?module=openconfig-access-points&revision=2018-07-16&deviations=cisco-xe-openconfig-access-points-deviation" are still reported, but I always get 'unknown-element' through RPC...
ā01-28-2025 07:06 AM - edited ā01-28-2025 07:07 AM
You've misunderstood @Konstantin Kabassanov
See https://www.openconfig.net/ for more details on what OpenConfig is.
You should be using the Cisco Native YANG models not the outdated and deprecated OpenConfig models.
Refer to page 17 of that BRKEWN-2730 pdf and note that OpenConfig sits next to Cisco Native.
While OpenConfig may be deprecated Cisco Native is not.
The Cisco Native YANG models are at: https://github.com/YangModels/yang/tree/main/vendor/cisco/xe so that's what you should be referring to - choose the version corresponding to the IOS-XE version you're using.
ā01-28-2025 07:48 AM - edited ā01-28-2025 11:03 AM
I'm happy to be wrong
But I don't understand why in 17.12.3 ssh netconf does not send me any Cisco-IOS-XE capability...
ā02-03-2025 03:51 AM
OK, there is a post with related youtube video explaining what must be modified to keep scripts working with 17 versions. Really useful...
ā12-30-2024 10:43 AM
https://bst.cisco.com/quickview/bug/CSCwd49861 <<- check this bug
MHM
ā12-30-2024 12:05 PM
This bug describes a MIB translation issue, not skipped values. Except if C9800 uses this MIB and does not send untranslated entries in SNMP replies... Is this correct?
ā12-31-2024 06:14 AM
Agree with you @Konstantin Kabassanov - CSCwd49861 is for the MIB/documentation not for the software itself.
SNMP support on the 9800 is incomplete at best and although Cisco made an initial attempt to achieve some feature parity with AireOS, much of it will remain incomplete. Cisco would like everyone to migrate to using streaming telemetry and the modern YANG based APIs (netconf/restconf).
As https://www.cisco.com/c/en/us/support/docs/wireless/catalyst-9800-series-wireless-controllers/217460-monitor-catalyst-9800-wlc-via-snmp-with.html says "With 9800 WLC, the focus has been put on telemetry."
You could try opening a TAC case for what you're observing and maybe persuade them to open a bug for it but I expect you'll be told it will not be fixed. See https://bst.cloudapps.cisco.com/bugsearch/bug/CSCvv24930 which is Terminated - meaning they don't intend to fix it.
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