<?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: Programmatically identify MX WAN Ports in Network Platform API</title>
    <link>https://community.cisco.com/t5/network-platform-api/programmatically-identify-mx-wan-ports/m-p/5404440#M1080</link>
    <description>&lt;P&gt;Interestingly, there is an endpoint that gets non WAN ports.  Hmmm.  Maybe one could make this call and assume the others are the WAN ports?  This should not be so difficult.&lt;BR /&gt;&lt;BR /&gt;Example:&lt;BR /&gt;&lt;BR /&gt;curl -L --request GET \&lt;BR /&gt;--url '&lt;A href="https://api.meraki.com/api/v1/networks/[Network_ID" target="_blank" rel="nofollow noopener noreferrer"&gt;https://api.meraki.com/api/v1/networks/[Network_ID&lt;/A&gt; Here]/appliance/ports' \&lt;BR /&gt;--header 'Authorization: Bearer [API Key Here]' \&lt;BR /&gt;--header 'Accept: application/json'&lt;BR /&gt;[&lt;BR /&gt;{"number":3,"enabled":true,"type":"access","dropUntaggedTraffic":false,"vlan":10,"accessPolicy":"open"},{"number":4,"enabled":true,"type":"trunk","dropUntaggedTraffic":true,"allowedVlans":"all"},{"number":5,"enabled":true,"type":"trunk","dropUntaggedTraffic":true,"allowedVlans":"all"},{"number":6,"enabled":true,"type":"trunk","dropUntaggedTraffic":true,"allowedVlans":"all"},{"number":7,"enabled":true,"type":"trunk","dropUntaggedTraffic":true,"allowedVlans":"all"},{"number":8,"enabled":true,"type":"trunk","dropUntaggedTraffic":false,"vlan":11,"allowedVlans":"10,11"},{"number":9,"enabled":true,"type":"trunk","dropUntaggedTraffic":false,"vlan":11,"allowedVlans":"10,11"},{"number":10,"enabled":true,"type":"trunk","dropUntaggedTraffic":true,"allowedVlans":"all"},{"number":11,"enabled":true,"type":"trunk","dropUntaggedTraffic":true,"allowedVlans":"all"}&lt;BR /&gt;]&lt;/P&gt;</description>
    <pubDate>Sat, 03 Feb 2024 20:31:43 GMT</pubDate>
    <dc:creator>Prodrick</dc:creator>
    <dc:date>2024-02-03T20:31:43Z</dc:date>
    <item>
      <title>Programmatically identify MX WAN Ports</title>
      <link>https://community.cisco.com/t5/network-platform-api/programmatically-identify-mx-wan-ports/m-p/5404436#M1076</link>
      <description>&lt;P&gt;What Dashboard API endpoint will help to positively identify which ports (interfaces) are configured as WAN1 and WAN2? An example device in the MX105&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Sat, 03 Feb 2024 04:14:37 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/programmatically-identify-mx-wan-ports/m-p/5404436#M1076</guid>
      <dc:creator>Prodrick</dc:creator>
      <dc:date>2024-02-03T04:14:37Z</dc:date>
    </item>
    <item>
      <title>Re: Programmatically identify MX WAN Ports</title>
      <link>https://community.cisco.com/t5/network-platform-api/programmatically-identify-mx-wan-ports/m-p/5404437#M1077</link>
      <description>&lt;P&gt;There is no specific API for what you want, the closest you will get is with this API.&lt;BR /&gt;&lt;A href="https://developer.cisco.com/meraki/api-v1/get-device-appliance-uplinks-settings/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://developer.cisco.com/meraki/api-v1/get-device-appliance-uplinks-settings/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 03 Feb 2024 12:00:51 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/programmatically-identify-mx-wan-ports/m-p/5404437#M1077</guid>
      <dc:creator>aleabrahao</dc:creator>
      <dc:date>2024-02-03T12:00:51Z</dc:date>
    </item>
    <item>
      <title>Re: Programmatically identify MX WAN Ports</title>
      <link>https://community.cisco.com/t5/network-platform-api/programmatically-identify-mx-wan-ports/m-p/5404438#M1078</link>
      <description>&lt;P&gt;This &lt;A href="https://developer.cisco.com/meraki/api-v1/get-network-appliance-traffic-shaping-uplink-selection/" target="_blank" rel="noopener nofollow noreferrer"&gt;https://developer.cisco.com/meraki/api-v1/get-network-appliance-traffic-shaping-uplink-selection/&lt;/A&gt; ? Not sure if you mean which interface is primary or something else?&lt;/P&gt;</description>
      <pubDate>Sat, 03 Feb 2024 15:37:03 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/programmatically-identify-mx-wan-ports/m-p/5404438#M1078</guid>
      <dc:creator>Ryan_Miles</dc:creator>
      <dc:date>2024-02-03T15:37:03Z</dc:date>
    </item>
    <item>
      <title>Re: Programmatically identify MX WAN Ports</title>
      <link>https://community.cisco.com/t5/network-platform-api/programmatically-identify-mx-wan-ports/m-p/5404439#M1079</link>
      <description>&lt;P&gt;Thanks &lt;A href="https://community.meraki.com/t5/user/viewprofilepage/user-id/326"&gt;@Ryan_Miles&lt;/A&gt; . Ultimately what I am trying to get is the status, loss and latency (which I get with the org-level uplink endpoints) and match them up with the send/receive traffic.&lt;/P&gt;&lt;P&gt;In most cases it’s easy to match the API data with the WAN interface data I get via snmp.meraki.com, but I’m unaware of an infallible method.&lt;/P&gt;&lt;P&gt;ideally, there would be a single org level endpoint that would provide the lloss, latency, send, and receive traffic for each WAN interface.&lt;/P&gt;&lt;P&gt;Without this I am relegated to matching up API data and snmp data which is challenging.&lt;/P&gt;&lt;P&gt;So, if there were an endpoint I could call to  reliably get the interface (port) numbers for WAN1 and WAN2 I’d be good to go.&lt;/P&gt;&lt;P&gt;alternatively, I’d be delighted for an API solution but it can’t be like switches where I have to query by serial number because that doesn’t scale.&lt;/P&gt;&lt;P&gt;Does that make sense?&lt;/P&gt;</description>
      <pubDate>Sat, 03 Feb 2024 17:21:14 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/programmatically-identify-mx-wan-ports/m-p/5404439#M1079</guid>
      <dc:creator>Prodrick</dc:creator>
      <dc:date>2024-02-03T17:21:14Z</dc:date>
    </item>
    <item>
      <title>Re: Programmatically identify MX WAN Ports</title>
      <link>https://community.cisco.com/t5/network-platform-api/programmatically-identify-mx-wan-ports/m-p/5404440#M1080</link>
      <description>&lt;P&gt;Interestingly, there is an endpoint that gets non WAN ports.  Hmmm.  Maybe one could make this call and assume the others are the WAN ports?  This should not be so difficult.&lt;BR /&gt;&lt;BR /&gt;Example:&lt;BR /&gt;&lt;BR /&gt;curl -L --request GET \&lt;BR /&gt;--url '&lt;A href="https://api.meraki.com/api/v1/networks/[Network_ID" target="_blank" rel="nofollow noopener noreferrer"&gt;https://api.meraki.com/api/v1/networks/[Network_ID&lt;/A&gt; Here]/appliance/ports' \&lt;BR /&gt;--header 'Authorization: Bearer [API Key Here]' \&lt;BR /&gt;--header 'Accept: application/json'&lt;BR /&gt;[&lt;BR /&gt;{"number":3,"enabled":true,"type":"access","dropUntaggedTraffic":false,"vlan":10,"accessPolicy":"open"},{"number":4,"enabled":true,"type":"trunk","dropUntaggedTraffic":true,"allowedVlans":"all"},{"number":5,"enabled":true,"type":"trunk","dropUntaggedTraffic":true,"allowedVlans":"all"},{"number":6,"enabled":true,"type":"trunk","dropUntaggedTraffic":true,"allowedVlans":"all"},{"number":7,"enabled":true,"type":"trunk","dropUntaggedTraffic":true,"allowedVlans":"all"},{"number":8,"enabled":true,"type":"trunk","dropUntaggedTraffic":false,"vlan":11,"allowedVlans":"10,11"},{"number":9,"enabled":true,"type":"trunk","dropUntaggedTraffic":false,"vlan":11,"allowedVlans":"10,11"},{"number":10,"enabled":true,"type":"trunk","dropUntaggedTraffic":true,"allowedVlans":"all"},{"number":11,"enabled":true,"type":"trunk","dropUntaggedTraffic":true,"allowedVlans":"all"}&lt;BR /&gt;]&lt;/P&gt;</description>
      <pubDate>Sat, 03 Feb 2024 20:31:43 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/programmatically-identify-mx-wan-ports/m-p/5404440#M1080</guid>
      <dc:creator>Prodrick</dc:creator>
      <dc:date>2024-02-03T20:31:43Z</dc:date>
    </item>
    <item>
      <title>Re: Programmatically identify MX WAN Ports</title>
      <link>https://community.cisco.com/t5/network-platform-api/programmatically-identify-mx-wan-ports/m-p/5404441#M1081</link>
      <description>&lt;P&gt;That request is just getting the LAN port configs&lt;/P&gt;</description>
      <pubDate>Sat, 03 Feb 2024 21:31:28 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/programmatically-identify-mx-wan-ports/m-p/5404441#M1081</guid>
      <dc:creator>Ryan_Miles</dc:creator>
      <dc:date>2024-02-03T21:31:28Z</dc:date>
    </item>
    <item>
      <title>Re: Programmatically identify MX WAN Ports</title>
      <link>https://community.cisco.com/t5/network-platform-api/programmatically-identify-mx-wan-ports/m-p/5404442#M1082</link>
      <description>&lt;P&gt;So, one might deduce that any other ports returned by snmp.meraki.com are WAN Ports?&lt;/P&gt;&lt;P&gt;Is there any API endpoint that returns Appliance interface traffic stats (send/receive bytes), or is snmp.meraki.com or local SNMP the only way? &lt;/P&gt;</description>
      <pubDate>Sat, 03 Feb 2024 21:41:08 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/programmatically-identify-mx-wan-ports/m-p/5404442#M1082</guid>
      <dc:creator>Prodrick</dc:creator>
      <dc:date>2024-02-03T21:41:08Z</dc:date>
    </item>
    <item>
      <title>Re: Programmatically identify MX WAN Ports</title>
      <link>https://community.cisco.com/t5/network-platform-api/programmatically-identify-mx-wan-ports/m-p/5404443#M1083</link>
      <description>&lt;P&gt;&lt;A href="https://developer.cisco.com/meraki/api-v1/get-organization-appliance-uplinks-usage-by-network/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://developer.cisco.com/meraki/api-v1/get-organization-appliance-uplinks-usage-by-network/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 03 Feb 2024 21:56:19 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/programmatically-identify-mx-wan-ports/m-p/5404443#M1083</guid>
      <dc:creator>Ryan_Miles</dc:creator>
      <dc:date>2024-02-03T21:56:19Z</dc:date>
    </item>
  </channel>
</rss>

