cancel
Showing results for 
Search instead for 
Did you mean: 

API call to retrive Management Address

Here to help

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
Head in the Cloud

Re: API call to retrive Management Address

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

Here to help

Re: API call to retrive Management Address

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

 

Kind of a big deal

Re: API call to retrive Management Address

Are you referring to Meraki switches?

Here to help

Re: API call to retrive Management Address

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