12-20-2017 02:08 PM
Are there any Dashboard APIs that give you the subnet mask of the uplink interfaces?
Solved! Go to Solution.
12-21-2017 09:18 AM
Thank the info Gentleman! Much appreciated.
12-20-2017 02:20 PM
Wow, it looks like this information is missing!
12-20-2017 03:42 PM
As Phillip has stated, the API call does not appear to return the subnet mask information for an up-link.
My recommendation would be to submit a wish via dashboard and also post the wish in this thread - https://community.meraki.com/t5/Dashboard-Administration/Make-a-Wish-Requests/m-p/2295#M159
Return an array containing the uplink information for a device.
curl -L -H 'X-Cisco-Meraki-API-Key: <key>' -X GET -H 'Content-Type: application/json' 'https://api.meraki.com/api/v0/networks/[networkId]/devices/[serial]/uplink'
Successful HTTP Status: 200
[
{
"interface":"WAN 1",
"status":"Active",
"ip":"10.0.0.0",
"gateway":"10.0.0.1",
"publicIp":"123.123.123.1",
"dns":"8.8.8.8, 8.8.4.4",
"usingStaticIp":true
},
{
"interface":"WAN 2",
"status":"Ready",
"ip":"10.0.4.2",
"gateway":"10.0.4.1",
"publicIp":"123.123.123.2",
"dns":"8.8.8.8",
"usingStaticIp":false
}
]12-21-2017 09:18 AM
Thank the info Gentleman! Much appreciated.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide