Spoker is a script that'll help configure Meraki Auto-VPN Spokes. The script will take a input of HUBS and will map appropriate HUB priorities based on network TAGS. So you can adjust spoke load-balancing across geographically tagged networks. This is also a good way to add or remove hubs from existing networks and/or change priority to load-balance.
-
TAG all the networks in dashboard with "api_spoker" or customer tag (configurable in header of script)
-DONT tag any network that you don't plan on making changes to, you've been warned!
-
Ensure the MX's site-to-site ruleset is configured in spoke mode (will bypass other modes)
-
Configure header of script with org-id, API-key, HUBs and tags.
-
Run script for it to fetch, query and configure all spoke networks.
-
when your done, remove the "api_spoker" tag from the networks.
-
You have alot of spokes deployed, and you add a new hub or add an additional one
-note: you'll just need a single tag for all your locations
-
You want to load balance spokes geographically across multiple HUBS based on tags
-assign priority orders(123,321,213) to the TAGs (east,west,central,asia, etc)
-
You want to migrate from FULL tunnel to Split or vice-versa
- Will not convert a network to a spoke network, the network must be in spoke mode with at least one network in VPN
- Script is a little slow, will be adding action-batches soon