Generate a report or webhook for wireless roaming

CraigShaw
Just browsing

Generate a report or webhook for wireless roaming

We want to create some type of report to show when clients are roaming between 5GHz and 2.4GHz. I have seen clients switch bands while staying associated to the same AP. We want to show a history of these events to possibly justify turning off the 2.4 for that SSID. Yes, we have band steering enabled. Etc..  

6 Replies 6
alemabrahao
Kind of a big deal
Kind of a big deal

You Should Use the Meraki API to Automate Bandwidth Roaming Reports.

 

Get Network Wireless Client Connection Stats - Meraki Dashboard API v1 - Cisco Meraki Developer Hub

 

Cisco Meraki Dashboard API - Cisco Meraki Documentation

I am not a Cisco Meraki employee. My suggestions are based on documentation of Meraki best practices and day-to-day experience.

Please, if this post was useful, leave your kudos and mark it as solved.
Mloraditch
Kind of a big deal
Kind of a big deal

Webhooks only work off alerts so that won't be an option as there is no alert for this.
https://documentation.meraki.com/General_Administration/Other_Topics/Webhooks



As this is a point in time thing, I'm not sure of any API call that would help. The various client ones show active or last known info, but clients could be constantly moving.

 

However, This info is shown in the event log at every association
Ex:

Mloraditch_0-1750962844573.png

So perhaps offloading logs to a syslog server and then you can filter for these events and analyze by client.

If you found this post helpful, please give it Kudos. If my answer solves your problem please click Accept as Solution so others can benefit from it.
alemabrahao
Kind of a big deal
Kind of a big deal

APIs would help, but you need to use a set of APIs to achieve this.

 

 

GET /networks/{networkId}/clients

GET /networks/{networkId}/wireless/clients/{clientId}/connectionStats

GET /networks/{networkId}/clients/{clientId}/usageHistory

 

So it will involve programming in the end.

I am not a Cisco Meraki employee. My suggestions are based on documentation of Meraki best practices and day-to-day experience.

Please, if this post was useful, leave your kudos and mark it as solved.
Mloraditch
Kind of a big deal
Kind of a big deal

I guess it depends how accurate you want the data to be. Does that connection stats one actually show all the bands a client has used in the periods it allows? I feel like the others would need to be constantly polled.


If you found this post helpful, please give it Kudos. If my answer solves your problem please click Accept as Solution so others can benefit from it.
alemabrahao
Kind of a big deal
Kind of a big deal

You are right, but to get accurate and timestamped roaming data, you can use the event log (GET /networks/{networkId}/events). So you can use this API with a scheduled polling script and then store the data in a local database or CSV and analyze band switching patterns on the same AP.

It's not an easy task, but it should work fine.

I am not a Cisco Meraki employee. My suggestions are based on documentation of Meraki best practices and day-to-day experience.

Please, if this post was useful, leave your kudos and mark it as solved.
Oren
Meraki Employee
Meraki Employee

The roaming analysis page in Dashboard would show you that information.

 

Regardless to the results, I’d recommend disabling 2.4GHz. It should be enabled on a dedicated SSID only so 5GHz clients won’t even try to connect to it.

 

Once upon a time I wrote this script to prove a point. It should still work.

Get notified when there are additional replies to this discussion.