- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Set Sim Meraki MG Script
I was wondering if someone wrote a script to toggle between bandwidth-capped data plans on the 2 different SIMs each night. 🙂
I looked into the API docs, but couldn't find the right parameter.
https://developer.cisco.com/meraki/api/update-device-cellular-sims/
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
As far I know the Meraki API does not currently support changing the active SIM on the MG devices.
Please, if this post was useful, leave your kudos and mark it as solved.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
https://developer.cisco.com/meraki/api/get-device-cellular-sims/
You should be able to adjust the "IsPrimary" parameter from true to false and trigger a SIM failover event assuming SIM Failover is enabled. Try it out!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Howdy,
Reviving this post as I am working on a use case similar to the OP. Two things that we would need for this is 1) know accumulated bandwidth on primary link (with ability to reset) and 2) ability to trigger a failover. I don't see any of these functions over the API/Products/cellularGateway section. As the OP and javalins mention, the API calls under API/Platform do show one call: isPrimary, that in theory could be used but can that call be applied to a MG? I don't have a MG to test, I was hoping someone could deny or confirm this... 🙃
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @CrazyIvan, MGs are the only Meraki products that support dual SIMs, this call was designed for the MG platform. Still no ability to trigger based on data usage or monitor data usage.
