<?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: Configuring Local Breakout via script error in Network Platform API</title>
    <link>https://community.cisco.com/t5/network-platform-api/configuring-local-breakout-via-script-error/m-p/5409241#M1694</link>
    <description>&lt;P&gt;Do you have the SD-WAN plus license? If you don't have it, you won't be able to enable it.&lt;/P&gt;&lt;P&gt;Requirements:&lt;/P&gt;&lt;P&gt;The following are the requirements to utilize this feature in a network:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Meraki AutoVPN support: This feature requires the Meraki MX on MX 15+ series firmware&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Non-Meraki VPN support: This feature requires the Meraki MX on MX 18.1+ series firmware &lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Minimum License Type: Secure SD-WAN Plus or Advance Teleworker&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;All other requirements listed for IP/URL based Local Internet Breakout&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://documentation.meraki.com/MX/Site-to-site_VPN/VPN_Full-Tunnel_Exclusion_(Application_and_IP%2F%2FURL_Based_Local_Internet_Breakout" target="_blank" rel="noopener nofollow noreferrer"&gt;https://documentation.meraki.com/MX/Site-to-site_VPN/VPN_Full-Tunnel_Exclusion_(Application_and_IP%2F%2FURL_Based_Local_Internet_Breakout&lt;/A&gt;)&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
    <pubDate>Thu, 29 Feb 2024 18:58:17 GMT</pubDate>
    <dc:creator>aleabrahao</dc:creator>
    <dc:date>2024-02-29T18:58:17Z</dc:date>
    <item>
      <title>Configuring Local Breakout via script error</title>
      <link>https://community.cisco.com/t5/network-platform-api/configuring-local-breakout-via-script-error/m-p/5409240#M1693</link>
      <description>&lt;P&gt;meraki: ERROR &amp;gt; appliance, updateNetworkApplianceTrafficShapingVpnExclusions - 400 Bad Request, {'errors': ['Configuring Major Application VPN exclusion rules requires the SDWAN+ license']}&lt;/P&gt;&lt;P&gt;Local Breakout by application requires this enhanced license. Local breakout by IP does not.&lt;/P&gt;&lt;P&gt;But the function in the library doesn't seem to care much. It seems to try to configure major application rules even when there's no code to do so.&lt;/P&gt;&lt;P&gt;Anyone know of any workarounds?&lt;/P&gt;</description>
      <pubDate>Thu, 29 Feb 2024 18:39:41 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/configuring-local-breakout-via-script-error/m-p/5409240#M1693</guid>
      <dc:creator>JRobinson855</dc:creator>
      <dc:date>2024-02-29T18:39:41Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring Local Breakout via script error</title>
      <link>https://community.cisco.com/t5/network-platform-api/configuring-local-breakout-via-script-error/m-p/5409241#M1694</link>
      <description>&lt;P&gt;Do you have the SD-WAN plus license? If you don't have it, you won't be able to enable it.&lt;/P&gt;&lt;P&gt;Requirements:&lt;/P&gt;&lt;P&gt;The following are the requirements to utilize this feature in a network:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Meraki AutoVPN support: This feature requires the Meraki MX on MX 15+ series firmware&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Non-Meraki VPN support: This feature requires the Meraki MX on MX 18.1+ series firmware &lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Minimum License Type: Secure SD-WAN Plus or Advance Teleworker&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;All other requirements listed for IP/URL based Local Internet Breakout&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://documentation.meraki.com/MX/Site-to-site_VPN/VPN_Full-Tunnel_Exclusion_(Application_and_IP%2F%2FURL_Based_Local_Internet_Breakout" target="_blank" rel="noopener nofollow noreferrer"&gt;https://documentation.meraki.com/MX/Site-to-site_VPN/VPN_Full-Tunnel_Exclusion_(Application_and_IP%2F%2FURL_Based_Local_Internet_Breakout&lt;/A&gt;)&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Thu, 29 Feb 2024 18:58:17 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/configuring-local-breakout-via-script-error/m-p/5409241#M1694</guid>
      <dc:creator>aleabrahao</dc:creator>
      <dc:date>2024-02-29T18:58:17Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring Local Breakout via script error</title>
      <link>https://community.cisco.com/t5/network-platform-api/configuring-local-breakout-via-script-error/m-p/5409242#M1695</link>
      <description>&lt;P&gt;What is the payload that you are sending ? &lt;/P&gt;</description>
      <pubDate>Thu, 29 Feb 2024 20:00:59 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/configuring-local-breakout-via-script-error/m-p/5409242#M1695</guid>
      <dc:creator>Raphael_L</dc:creator>
      <dc:date>2024-02-29T20:00:59Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring Local Breakout via script error</title>
      <link>https://community.cisco.com/t5/network-platform-api/configuring-local-breakout-via-script-error/m-p/5409243#M1696</link>
      <description>&lt;P&gt;I'm using the Python Library and only using the 'custom' payload.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;dashboard&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;appliance&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;updateNetworkApplianceTrafficShapingVpnExclusions&lt;/SPAN&gt;&lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;network_id&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt;&lt;SPAN&gt; custom&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt;[&lt;/SPAN&gt;&lt;SPAN class=""&gt;{&lt;/SPAN&gt;&lt;SPAN class=""&gt;'protocol'&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;'tcp'&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt; &lt;SPAN class=""&gt;'destination'&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;'192.168.3.0/24'&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt; &lt;SPAN class=""&gt;'port'&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;'8000'&lt;/SPAN&gt;&lt;SPAN class=""&gt;}&lt;/SPAN&gt;&lt;SPAN class=""&gt;]&lt;/SPAN&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Put this example for reference&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I understand the Application exclusion requires the SDWAN+ license, but I shouldn't need it to execute code that isn't deploying that feature.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Feb 2024 20:36:52 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/configuring-local-breakout-via-script-error/m-p/5409243#M1696</guid>
      <dc:creator>JRobinson855</dc:creator>
      <dc:date>2024-02-29T20:36:52Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring Local Breakout via script error</title>
      <link>https://community.cisco.com/t5/network-platform-api/configuring-local-breakout-via-script-error/m-p/5409244#M1697</link>
      <description>&lt;P&gt;I'm not trying to enable Application Exclusion, I'm trying to write a script using the Meraki Python library for VPN exclusion by IP, which is a feature I'm already using on several networks&lt;/P&gt;</description>
      <pubDate>Thu, 29 Feb 2024 20:39:39 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/configuring-local-breakout-via-script-error/m-p/5409244#M1697</guid>
      <dc:creator>JRobinson855</dc:creator>
      <dc:date>2024-02-29T20:39:39Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring Local Breakout via script error</title>
      <link>https://community.cisco.com/t5/network-platform-api/configuring-local-breakout-via-script-error/m-p/5409245#M1698</link>
      <description>&lt;P&gt;And can you share the script so I can try to find the error? Just to make it clear that the previous question was because you didn't mention that you have the license. &lt;SPAN class="lia-unicode-emoji" title=":winking_face:"&gt;&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Feb 2024 20:47:00 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/configuring-local-breakout-via-script-error/m-p/5409245#M1698</guid>
      <dc:creator>aleabrahao</dc:creator>
      <dc:date>2024-02-29T20:47:00Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring Local Breakout via script error</title>
      <link>https://community.cisco.com/t5/network-platform-api/configuring-local-breakout-via-script-error/m-p/5409246#M1699</link>
      <description>&lt;P&gt;According to the endpoint docs schema definition, it looks like that both "custom" and "majorApplications" are required fields. So I don't think you can use that endpoint without also setting "majorApplications". And since that is a SDW+ feature, I guess it would fail for you.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Feb 2024 20:47:54 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/configuring-local-breakout-via-script-error/m-p/5409246#M1699</guid>
      <dc:creator>Rasmus Hoffmann Birkelund</dc:creator>
      <dc:date>2024-02-29T20:47:54Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring Local Breakout via script error</title>
      <link>https://community.cisco.com/t5/network-platform-api/configuring-local-breakout-via-script-error/m-p/5409247#M1700</link>
      <description>&lt;P&gt;This is an example script.&lt;/P&gt;&lt;P&gt;import requests&lt;/P&gt;&lt;P&gt;# Replace with your own API key and Meraki organization ID&lt;BR /&gt;api_key = "YOUR_API_KEY"&lt;BR /&gt;org_id = "YOUR_ORG_ID"&lt;/P&gt;&lt;P&gt;# Define the API endpoint for VPN exclusions&lt;BR /&gt;url = f"&lt;A href="https://api.meraki.com/api/v1/organizations/{org_id}/appliance/vpn/exclusions" target="_blank" rel="nofollow noopener noreferrer"&gt;https://api.meraki.com/api/v1/organizations/{org_id}/appliance/vpn/exclusions&lt;/A&gt;"&lt;/P&gt;&lt;P&gt;# Example payload for application-based exclusion&lt;BR /&gt;payload = {&lt;BR /&gt;"name": "Office 365 Suite",&lt;BR /&gt;"type": "application",&lt;BR /&gt;"value": "office365",&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;# Make the API request&lt;BR /&gt;headers = {"X-Cisco-Meraki-API-Key": api_key}&lt;BR /&gt;response = requests.post(url, json=payload, headers=headers)&lt;/P&gt;&lt;P&gt;if response.status_code == 201:&lt;BR /&gt;print("Exclusion rule added successfully!")&lt;BR /&gt;else:&lt;BR /&gt;print(f"Error: {response.status_code} - {response.text}")&lt;/P&gt;</description>
      <pubDate>Thu, 29 Feb 2024 20:48:07 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/configuring-local-breakout-via-script-error/m-p/5409247#M1700</guid>
      <dc:creator>aleabrahao</dc:creator>
      <dc:date>2024-02-29T20:48:07Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring Local Breakout via script error</title>
      <link>https://community.cisco.com/t5/network-platform-api/configuring-local-breakout-via-script-error/m-p/5409248#M1701</link>
      <description>&lt;P&gt;If you pass it with an empty list, does that make a difference? I.e.&lt;/P&gt;&lt;PRE class="lia-code-sample language-python"&gt;&lt;CODE&gt;response = dashboard.appliance.updateNetworkApplianceTrafficShapingVpnExclusions(network_id,
    custom=[{'protocol': 'tcp', 'destination': '192.168.3.0/24', 'port': '8000'}],
    majorApplications=[]
)&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 29 Feb 2024 20:50:59 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/configuring-local-breakout-via-script-error/m-p/5409248#M1701</guid>
      <dc:creator>Rasmus Hoffmann Birkelund</dc:creator>
      <dc:date>2024-02-29T20:50:59Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring Local Breakout via script error</title>
      <link>https://community.cisco.com/t5/network-platform-api/configuring-local-breakout-via-script-error/m-p/5409249#M1702</link>
      <description>&lt;P&gt;It didn't seem to appreciate an empty list much, lol. Had the same error&lt;/P&gt;</description>
      <pubDate>Thu, 29 Feb 2024 21:22:54 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/configuring-local-breakout-via-script-error/m-p/5409249#M1702</guid>
      <dc:creator>JRobinson855</dc:creator>
      <dc:date>2024-02-29T21:22:54Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring Local Breakout via script error</title>
      <link>https://community.cisco.com/t5/network-platform-api/configuring-local-breakout-via-script-error/m-p/5409250#M1703</link>
      <description>&lt;P&gt;I'll see if I can give this a shot&lt;/P&gt;</description>
      <pubDate>Thu, 29 Feb 2024 21:24:33 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/configuring-local-breakout-via-script-error/m-p/5409250#M1703</guid>
      <dc:creator>JRobinson855</dc:creator>
      <dc:date>2024-02-29T21:24:33Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring Local Breakout via script error</title>
      <link>https://community.cisco.com/t5/network-platform-api/configuring-local-breakout-via-script-error/m-p/5409251#M1704</link>
      <description>&lt;P&gt;Does your Spoke site have a Default Route configured on the VPN?&lt;/P&gt;&lt;H2 id="toc-hId-1646638815"&gt;Configuring VPN Exclusion Rules (IP/Port)&lt;/H2&gt;&lt;P&gt;The L3 VPN Exclusion configuration is available under &lt;STRONG&gt;Security &amp;amp; SD-WAN &amp;gt; SD-WAN and Traffic Shaping &lt;/STRONG&gt;or &lt;STRONG&gt;Teleworker Gateway &amp;gt; Traffic Shaping.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The configuration option will appear if:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The spoke has at least one default route configured for a hub or&lt;/LI&gt;&lt;LI&gt;A hub is sharing the default route via an advanced routing protocol or&lt;/LI&gt;&lt;LI&gt;A hub with at least one exit hub configured.&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Thu, 29 Feb 2024 21:35:23 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/configuring-local-breakout-via-script-error/m-p/5409251#M1704</guid>
      <dc:creator>Rasmus Hoffmann Birkelund</dc:creator>
      <dc:date>2024-02-29T21:35:23Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring Local Breakout via script error</title>
      <link>https://community.cisco.com/t5/network-platform-api/configuring-local-breakout-via-script-error/m-p/5409252#M1705</link>
      <description>&lt;P&gt;There's a default route at one of the hubs shared out via SDWAN&lt;/P&gt;</description>
      <pubDate>Fri, 01 Mar 2024 14:30:10 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/configuring-local-breakout-via-script-error/m-p/5409252#M1705</guid>
      <dc:creator>JRobinson855</dc:creator>
      <dc:date>2024-03-01T14:30:10Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring Local Breakout via script error</title>
      <link>https://community.cisco.com/t5/network-platform-api/configuring-local-breakout-via-script-error/m-p/5409253#M1706</link>
      <description>&lt;P&gt;Did you ever manage to work this one our or is the license required?&lt;BR /&gt;&lt;BR /&gt;I've just built an app to push VPNExclusions to our sites as adding them manually to each site is a pain.&lt;/P&gt;&lt;P&gt;We only have IP and DNS exclusions, no applications but I get the same error when I try to push via the API.&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2024 04:01:55 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/configuring-local-breakout-via-script-error/m-p/5409253#M1706</guid>
      <dc:creator>TomStewart</dc:creator>
      <dc:date>2024-11-22T04:01:55Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring Local Breakout via script error</title>
      <link>https://community.cisco.com/t5/network-platform-api/configuring-local-breakout-via-script-error/m-p/5409254#M1707</link>
      <description>&lt;P&gt;SDW+ license is not required but you do need to pass any empty array for major applications. &lt;/P&gt;&lt;P&gt;If using the Python SDK it will look like this. &lt;/P&gt;&lt;PRE class="lia-code-sample language-markup"&gt;&lt;CODE&gt;dashboard.appliance.updateNetworkApplianceTrafficShapingVpnExclusions(network, custom = exclusionsPayload, majorApplications = [])&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 25 Nov 2024 23:44:50 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/configuring-local-breakout-via-script-error/m-p/5409254#M1707</guid>
      <dc:creator>chgleaso</dc:creator>
      <dc:date>2024-11-25T23:44:50Z</dc:date>
    </item>
  </channel>
</rss>

