API call to add 2nd VLAN IP

tjh188
Here to help

API call to add 2nd VLAN IP

We need to set a 2nd VLAN IP Subnet on our MX68 via Postman.  We do not want to change our first VLAN IP at all.  Just statically assign an IP subnet on VLAN 2.  Can you guys tell us how to accomplish this the simplest way possible.

 

Example:

 

Vlan1 IP Subnet:  10.11.15.0/24  Already exists as the only VLAN on the router.

Vlan2 IP Subnet:  10.111.15.0/24  Want to add this VLAN via Postman script.

3 Replies 3
alemabrahao
Kind of a big deal
Kind of a big deal

Take a look at this.

https://developer.cisco.com/meraki/api-latest/#!create-network-appliance-vlan

I am not a Cisco Meraki employee. My suggestions are based on documentation of Meraki best practices and day-to-day experience.

Please, if this post was useful, leave your kudos and mark it as solved.
ww
Kind of a big deal
Kind of a big deal

GreenMan
Meraki Employee
Meraki Employee

Just wondering if you might need an interim step to permit multiple VLANs:
PUT /networks/{networkId}/appliance/vlans/settings   ->    { "vlansEnabled": true }

 

https://developer.cisco.com/meraki/api-v1/#!update-network-appliance-vlans-settings

Get notified when there are additional replies to this discussion.