MX VLAN and Addressing Template for 1000 sites

SOLVED
Jhunrik
Comes here often

MX VLAN and Addressing Template for 1000 sites

Greetings,

 

i have read multiple topics here regarding the Vlan and addressing templates and how to have unique subnets for each sites the problem is that when i bulk add all the existing sites the subnets are randomly assigned to random sites for example

 

Site1

data-10.16.1.0/25

guest-10.16.3.128/25

 

Site2

data-10.16.5.128/25

guest-10.16.6.128/25

 

Site1

data-10.16.7.128/25

guest-10.16.9.0/25

 

it is very important for us to assign a site with a specific subnet for its data and guest to easily identify that site for example:

 

Site1

data-10.16.1.0/25

guest-10.16.1.128/25

 

Site2

data-10.16.2.0/25

guest-10.16.2.128/25

 

Site1

data-10.16.3.0/25

guest-10.16.3.128/25

 

is there a way this can be achieved? right now i have to manually assign subnets to each site which defeats the purpose of the template.

1 ACCEPTED SOLUTION
4 REPLIES 4
PhilipDAth
Kind of a big deal
Kind of a big deal

I think you'll need to use a script to do this.  You'll need VLANs enabled, and you'll want to use this API:

https://dashboard.meraki.com/api_docs#update-a-vlan

 

@HodyCrouch will be able to give better advice.

the way i see it is that this bulk network creation is meant for initial deployment of devices and not for existing networks and the sample csv file only has 1 vlan and i think this is only for the local page settings of the device.

AlexG
Getting noticed

@PhilipDAth has the right idea, in my opinion. We had to bulk create 250ish networks some months back, and I used a fairly simple PowerShell script to hit the API and update the VLANs after the networks were created. I used a script to create the networks and add them to our templates as well but that's not always necessary. Powerful stuff once you get the hang of it!

Get notified when there are additional replies to this discussion.
Welcome to the Meraki Community!
To start contributing, simply sign in with your Cisco account. If you don't yet have a Cisco account, you can sign up.
Labels