<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How do I view the actual subnets Merkai has assigned to remote spokes? in Network Platform API</title>
    <link>https://community.cisco.com/t5/network-platform-api/how-do-i-view-the-actual-subnets-merkai-has-assigned-to-remote/m-p/5446823#M7292</link>
    <description>&lt;P&gt;The mx routing table shows  the active subnet that are used. Non vpn subnets can be the same&lt;/P&gt;&lt;P&gt;See also &lt;A href="https://community.meraki.com/t5/Security-SD-WAN/I-need-to-be-able-to-export-the-routing-table-on-Meraki-MX/td-p/93155" target="_blank"&gt;https://community.meraki.com/t5/Security-SD-WAN/I-need-to-be-able-to-export-the-routing-table-on-Meraki-MX/td-p/93155&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 05 Jan 2021 15:36:07 GMT</pubDate>
    <dc:creator>ww^</dc:creator>
    <dc:date>2021-01-05T15:36:07Z</dc:date>
    <item>
      <title>How do I view the actual subnets Merkai has assigned to remote spokes?</title>
      <link>https://community.cisco.com/t5/network-platform-api/how-do-i-view-the-actual-subnets-merkai-has-assigned-to-remote/m-p/5446822#M7291</link>
      <description>&lt;P&gt;Crazy customer of mine gave Meraki a block of IP addresses to assign that overlaps IP space already in use in their data center (gave Meraki a 10/8 to hand out /24). By some miracle, Merkai has not yet assigned one of the overlapping /24 to a store. I have talked to Meraki Support and they do not believe they have an API that can query for this information.&lt;/P&gt;&lt;P&gt;This information must be saved somewhere in a Meraki database, otherwise Meraki itself, would reassign a subnet it had already assigned. Does anyone know a way, short of going to each site, to determine what i[ addresses have been assigned, and, hopefully, what IP are active within each scope????&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jan 2021 15:22:48 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/how-do-i-view-the-actual-subnets-merkai-has-assigned-to-remote/m-p/5446822#M7291</guid>
      <dc:creator>anxious</dc:creator>
      <dc:date>2021-01-05T15:22:48Z</dc:date>
    </item>
    <item>
      <title>Re: How do I view the actual subnets Merkai has assigned to remote spokes?</title>
      <link>https://community.cisco.com/t5/network-platform-api/how-do-i-view-the-actual-subnets-merkai-has-assigned-to-remote/m-p/5446823#M7292</link>
      <description>&lt;P&gt;The mx routing table shows  the active subnet that are used. Non vpn subnets can be the same&lt;/P&gt;&lt;P&gt;See also &lt;A href="https://community.meraki.com/t5/Security-SD-WAN/I-need-to-be-able-to-export-the-routing-table-on-Meraki-MX/td-p/93155" target="_blank"&gt;https://community.meraki.com/t5/Security-SD-WAN/I-need-to-be-able-to-export-the-routing-table-on-Meraki-MX/td-p/93155&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jan 2021 15:36:07 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/how-do-i-view-the-actual-subnets-merkai-has-assigned-to-remote/m-p/5446823#M7292</guid>
      <dc:creator>ww^</dc:creator>
      <dc:date>2021-01-05T15:36:07Z</dc:date>
    </item>
    <item>
      <title>Re: How do I view the actual subnets Merkai has assigned to remote spokes?</title>
      <link>https://community.cisco.com/t5/network-platform-api/how-do-i-view-the-actual-subnets-merkai-has-assigned-to-remote/m-p/5446824#M7293</link>
      <description>&lt;P&gt;Good answer. Sort of kicking myself for not thinking of this. Add this to the list of what my customer is doing wrong--they are allowing all 3500 spokes to elarn every other spoke's IPs, even though the MX450s are advertsing a 0/0. &lt;/P&gt;&lt;P&gt;Though, I do wish Meraki had a better API to display the DHCP info....&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jan 2021 15:44:38 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/how-do-i-view-the-actual-subnets-merkai-has-assigned-to-remote/m-p/5446824#M7293</guid>
      <dc:creator>anxious</dc:creator>
      <dc:date>2021-01-05T15:44:38Z</dc:date>
    </item>
    <item>
      <title>Re: How do I view the actual subnets Merkai has assigned to remote spokes?</title>
      <link>https://community.cisco.com/t5/network-platform-api/how-do-i-view-the-actual-subnets-merkai-has-assigned-to-remote/m-p/5446825#M7294</link>
      <description>&lt;P&gt;This V1 API call for vpnStatuses will pull the VPN subnets.&lt;/P&gt;&lt;P&gt;vpnstatuses = dashboard.appliance.getOrganizationApplianceVpnStatuses(organization_id, total_pages='all')&lt;/P&gt;&lt;P&gt;Simple loop to get all in use subnets by location.  I may have a sample python script that does just that if you need it.  &lt;/P&gt;&lt;P&gt;{'deviceSerial': 'Q2PN-****-****',&lt;BR /&gt;'deviceStatus': 'online',&lt;BR /&gt;&lt;STRONG&gt;'exportedSubnets': [{'name': 'Office', 'subnet': '10.21.180.0/24'},&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;{'name': 'DMZ', 'subnet': '10.21.181.0/24'},&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;{'name': 'Wireless', 'subnet': '10.21.182.0/24'}],&lt;/STRONG&gt;&lt;BR /&gt;'merakiVpnPeers': [{'networkId': 'N_*****************',&lt;BR /&gt;'networkName': 'Datacenter********1',&lt;BR /&gt;'reachability': 'reachable'},&lt;BR /&gt;{'networkId': 'N_*************************',&lt;BR /&gt;'networkName': 'Datacenter***********2',&lt;BR /&gt;'reachability': 'reachable'},&lt;BR /&gt;{'networkId': 'N_******************************',&lt;BR /&gt;'networkName': 'Datacenter*************3',&lt;BR /&gt;'reachability': 'reachable'}],&lt;BR /&gt;'networkId': 'L_***************************',&lt;BR /&gt;'networkName': 'Remote Location **********1',&lt;BR /&gt;'thirdPartyVpnPeers': [],&lt;BR /&gt;'uplinks': [{'interface': 'wan1', 'publicIp': '198.###.###.###'},&lt;BR /&gt;{'interface': 'wan2', 'publicIp': '47.###.###.###'}],&lt;BR /&gt;'vpnMode': 'spoke'}&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jan 2021 15:53:28 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/how-do-i-view-the-actual-subnets-merkai-has-assigned-to-remote/m-p/5446825#M7294</guid>
      <dc:creator>JamesGill5290</dc:creator>
      <dc:date>2021-01-05T15:53:28Z</dc:date>
    </item>
    <item>
      <title>Re: How do I view the actual subnets Merkai has assigned to remote spokes?</title>
      <link>https://community.cisco.com/t5/network-platform-api/how-do-i-view-the-actual-subnets-merkai-has-assigned-to-remote/m-p/5446826#M7295</link>
      <description>&lt;P&gt;Thanks, and I'll take that python script when you find it.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jan 2021 16:26:49 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/how-do-i-view-the-actual-subnets-merkai-has-assigned-to-remote/m-p/5446826#M7295</guid>
      <dc:creator>anxious</dc:creator>
      <dc:date>2021-01-05T16:26:49Z</dc:date>
    </item>
    <item>
      <title>Re: How do I view the actual subnets Merkai has assigned to remote spokes?</title>
      <link>https://community.cisco.com/t5/network-platform-api/how-do-i-view-the-actual-subnets-merkai-has-assigned-to-remote/m-p/5446827#M7296</link>
      <description>&lt;P&gt;Didn't find the one that writes to a csv filem, but this will dump to the screen and be pretty close for pulling into excel.&lt;/P&gt;&lt;DIV&gt;&lt;SPAN&gt;# Get a list of VPN Statuses and dump to screen&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;# JG -- &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;import meraki&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;# Update with Key or envronment varible&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;API_KEY = '****************************************'&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;dashboard = meraki.DashboardAPI(API_KEY)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;#Update with Orgid or envronment varible&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;organization_id = '******'&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;vpnstatuses = dashboard.appliance.getOrganizationApplianceVpnStatuses(organization_id, total_pages='all')&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;for vpnstatus in vpnstatuses:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;    print ('"'+  vpnstatus['networkName'] + '","' + vpnstatus['deviceSerial'] + '","' + vpnstatus['deviceStatus'] + '","' + str(vpnstatus['exportedSubnets'])+ '"') &lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 05 Jan 2021 21:43:18 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/how-do-i-view-the-actual-subnets-merkai-has-assigned-to-remote/m-p/5446827#M7296</guid>
      <dc:creator>JamesGill5290</dc:creator>
      <dc:date>2021-01-05T21:43:18Z</dc:date>
    </item>
  </channel>
</rss>

