cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
432
Views
2
Helpful
3
Replies

Gathering the Data Usage per SSID on Catalyst 9800-40 WLC

O.K.
Level 1
Level 1

Hello, 

I'm trying to gather the data usage per SSID on Cisco Catalyst 9800 Wireless controller.

I can see nicely top 10 WLANs with the highest data usage on the dashboard, but I can't figure out how to gather this information from WLC. 

I'm trying to send RESTCONF requests with Postman at the moment, but I can't find any documentation which path/information do I need to get back the response that I need. 

My plan at the beginning is writing an Ansible playbook because this is the fastest way for me at the moment. Later on, I might be to discover the possibilities for Telemetry streaming to an external tool so that I could have a nice Grafana dashboard. 

What I have done so far:

I have sent the following GET request via Postman to WLC and gather back all the “ietf-netconf-monitoring:capabilities” back

https://YOUR-WLC-IP:443/restconf/data/netconf-state/capabilities

I'm searching in the list if I can find any module name that could be relevant to what I am looking for. Then I search the module name in the YANG catalog and then copy the URL from yang catalog into Postman. I tried a bunch of modules so far, but I can't find anything useful for my case.

If someone already dealt with such a thing I will be glad to hear what are my options or even if someone can point me an useful direction I will be more than happy. 

Thanks in advance!

Regards.

 

3 Replies 3

marce1000
VIP
VIP

 

 - Another possibility could be try to accomplish that externally by looking at traffic from the associated (SSID) WLAN/VLAN-subnet on the intranet and get the data as such with network management tools, 

 M.



-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
    When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '

Rich R
VIP
VIP

So you can find all the YANG models at https://github.com/YangModels/yang/tree/main/vendor/cisco/xe/1791

Looking at https://www.cisco.com/c/en/us/products/collateral/wireless/catalyst-9800-series-wireless-controllers/catalyst-9800-programmability-telemetry-deployment-guide.html#Nativemodels
https://www.cisco.com/c/en/us/td/docs/wireless/controller/technotes/8-8/b_c9800_programmability_telemetry_dg.html
https://www.cisco.com/c/en/us/td/docs/wireless/controller/9800/programmability-guide/b_c9800_programmability_cg/cisco-catalyst-9800-series-wireless-controller-programmability-guide.html
you want to be looking at the Operational models.  Without having checked them myself I would start by looking at Cisco-IOS-XE-wireless-access-point-oper.yang and Cisco-IOS-XE-wireless-client-oper.yang 

Good to know if you work out where the data is <wink>

Hello @Rich R ,

Thank you for your reply. It was very helpful, especially for the following part


@Rich R wrote:

...

I would start by looking at Cisco-IOS-XE-wireless-access-point-oper.yang

...


I think  https://WLCt:443/restconf/data/Cisco-IOS-XE-wireless-access-point-oper:access-point-oper-data/ssid-counters is what I need, but I can't understand why I don't see any response on my WLC. Regarding YANG database, the data should be there. Do you have any idea?

Regards.

Review Cisco Networking for a $25 gift card