API call to retrive Management Address

DonL
Getting noticed

API call to retrive Management Address

Hello,

 

So I've been using two call to get Data :

api/v0/organizations/9999/deviceStatuses

api/v0/organizations/9999/inventory

 

One gives me the WAN IP's the  other give me the LAN Interface IP

I need the Management IP ...

 

Is there a call that returns that ?

 

Thanks,

        Don

4 REPLIES 4
jdsilva
Kind of a big deal

Is LAN IP not the Mgmt IP? I would have thought they were the same...

DonL
Getting noticed

Hi,

 

Not in in our case , sorry, I might have miss labeled what I’m getting, 

but what ever it is it’s not the SNMP Management address.

 

thanks,

       Don

 

PhilipDAth
Kind of a big deal
Kind of a big deal

Are you referring to Meraki switches?

Hi,

 

Yes MX / MS

One Call gets me this -

{"mac":"00:18:0a:bb:bb:bb","serial":"Q2FN-Q2FN-Q2FN","networkId":"9999","model":"MX400","claimedAt":"152659",
"publicIp":"17.0.0.9","name":"0000-005"}

 

 

The Other returns this

{"name":"0000-005","serial":"Q2FN-Q2FN-Q2FN","mac":"00:18:0a:bb:bb:bb","publicIp":"1
7.0.0.9","networkId":"9999","status":"online","usingCellularFailover":false,"wan1Ip":"1.9.2.1","wan2Ip":null},

 

I parse both files to get what I need, but I still need the *Real* Address used to manage the device.

 

Don

Get notified when there are additional replies to this discussion.