cancel
Showing results for 
Search instead for 
Did you mean: 

API Call for MX LAN IP NO VLAN

SOLVED
Conversationalist

API Call for MX LAN IP NO VLAN

Is there an API call for POST/PUT LAN IP address of an MX that isn't using vlans?

1 ACCEPTED SOLUTION

Accepted Solutions
Conversationalist

Re: API Call for MX LAN IP NO VLAN

Meraki support verified there is no API endpoint for modifying the MX subnet without having VLANs enabled on the network.

 

Feature request has been submitted.

3 REPLIES
A model citizen

Re: API Call for MX LAN IP NO VLAN

Something like this? This API will allow you to set the MX IP of that VLAN.

 

I typically use Python so here is a link to the Git for that. (if you search the page for "updatevlan" you'll find that API) - https://github.com/meraki/dashboard-api-python/blob/master/meraki.py

 

Then here is the postman API documentation for that as well (the screenshot is from here) - https://documenter.getpostman.com/view/897512/meraki-dashboard-api/2To9xm#eaad6d04-2a0b-0c4b-fc37-87...

 

Screen Shot 2018-10-19 at 10.26.41 AM.png

Conversationalist

Re: API Call for MX LAN IP NO VLAN

This applies to "Vlans Disabled: Use a single LAN configuration"

 

API call to getvlans for a MX single lan configured with an IP shows ['VLANs are not enabled for this network'].

The assumption is if getvlans can't see a configuration, then addvlan will fail as there is no 'id' or 'name' to reference.

 

There doesn't appear to be an API call for a single lan configuration scenario.

 

Where you at Meraki?

Conversationalist

Re: API Call for MX LAN IP NO VLAN

Meraki support verified there is no API endpoint for modifying the MX subnet without having VLANs enabled on the network.

 

Feature request has been submitted.