cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
5481
Views
1
Helpful
3
Replies

Dashboard APIs

jjabson
Level 4
Level 4

Are there any Dashboard APIs that give you the subnet mask of the uplink interfaces?

1 Accepted Solution

Accepted Solutions

Thank the info Gentleman! Much appreciated.

View solution in original post

3 Replies 3

Philip D'Ath
Meraki Community All-Star
Meraki Community All-Star

Wow, it looks like this information is missing!

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.

HTTP REQUESTGET /networks/[networkId]/devices/[serial]/uplink PARAMETERS
    None
SAMPLE REQUEST
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'
SAMPLE RESPONSE

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
  }
]
Eliot F | Simplifying IT with Cloud Solutions
Found this helpful? Give me some Kudos! (click on the little up-arrow below)

Thank the info Gentleman! Much appreciated.

Review Cisco Networking for a $25 gift card