API Endpoint to change LAN port to WAN2 on MX

SOLVED
KarstenI
Kind of a big deal
Kind of a big deal

API Endpoint to change LAN port to WAN2 on MX

Hi all,

 

the subject says it ... I would like to change my LAN2 port on an MX67  to WAN2 to use it as the secondary WAN. But I don't find the corresponding API-call ... Any hints?

 

Hope you have all a great holiday-time, Karsten

1 ACCEPTED SOLUTION
Ryan_Miles
Meraki Employee
Meraki Employee

There is no such API endpoint today

View solution in original post

6 REPLIES 6
Ryan_Miles
Meraki Employee
Meraki Employee

There is no such API endpoint today

KarstenI
Kind of a big deal
Kind of a big deal

Okay, next week is still ok … 😉

HolgerS
Meraki Employee
Meraki Employee

Hi Karsten, you can do this by using the updateDeviceManagementInterface API endpoint and set WAN2 as enabled. This will complet the conversion 😉

 

https://developer.cisco.com/meraki/api-v1/#!update-device-management-interface 

 

 

 

Holger Struckmann
CCIE #60154
KarstenI
Kind of a big deal
Kind of a big deal

Thanks, I'll directly test this!

mgcnent
Conversationalist

Is there a way to do this for multiple devices at once? Kind of like the clone switch API endpoint but for the update device management interface? 

KarstenI
Kind of a big deal
Kind of a big deal

This call needs the serial-number of the device. You have to get all the serials of all intended networks and iterate over this list.

Get notified when there are additional replies to this discussion.