cancel
Showing results for 
Search instead for 
Did you mean: 

MX VLAN and Addressing Template for 1000 sites

SOLVED
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

Accepted Solutions
Kind of a big deal

Re: MX VLAN and Addressing Template for 1000 sites

4 REPLIES 4
Kind of a big deal

Re: MX VLAN and Addressing Template for 1000 sites

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.

Kind of a big deal

Re: MX VLAN and Addressing Template for 1000 sites

Comes here often

Re: MX VLAN and Addressing Template for 1000 sites

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.

Getting noticed

Re: MX VLAN and Addressing Template for 1000 sites

@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!

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.