- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
[API] Get VPN status Non-Meraki peers
Hi everyone,
I've script a lot in Python for execute API requests to my Meraki dashboard.
I found how get the vpn site-to-site status in a network but i dont find how get VPN status of Non-Meraki peers in a Network by API request.
Path in dashboard :
In a network : "Security & SD-WAN" > "VPN status" > "Non-Meraki peers"
An API request exist or not ?
Thanks for your help.
Solved! Go to solution.
- Labels:
-
Dashboard API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry to see that, @Th1b0plz! The spec outlines that third-party VPN peers should have reachability information, so something seems to be going wrong, here. I recommend following up with the support directly to find out why it's not appearing in your case, so that they can explore the settings with you in more detail and help you test.
"thirdPartyVpnPeers": [ { "name": "Tokyo Office", "publicIp": "222.333.444.555", "reachability": "reachable" } ]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Th1b0plz!
The SDK method getOrganizationApplianceVpnStatuses handles both Meraki and third-party VPN peers.
https://developer.cisco.com/meraki/api-v1/#!get-organization-appliance-vpn-statuses
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi John,
Thanks for your answer.
I tried the request this morning.
It working but for the part of thirdPartyVpnPeers it don't return the status of vpn peers, i have just the name and the public IP
The json return this :
.....
"merakiVpnPeers":[
{
"networkId":"xxxxxxx",
"networkName":"xxxxx",
"reachability":"reachable"
},
{
"networkId":"xxxxx",
"networkName":"xxxxxx",
"reachability":"reachable"
}
],
"thirdPartyVpnPeers":[
{
"name":"name one",
"publicIp":"ip one"
},
{
"name":"name two",
"publicIp":"ip two"
}
....
and i would like get the thirdPartyVpnPeers status reachable or unreachable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry to see that, @Th1b0plz! The spec outlines that third-party VPN peers should have reachability information, so something seems to be going wrong, here. I recommend following up with the support directly to find out why it's not appearing in your case, so that they can explore the settings with you in more detail and help you test.
"thirdPartyVpnPeers": [ { "name": "Tokyo Office", "publicIp": "222.333.444.555", "reachability": "reachable" } ]
