<?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: Add radius server for multiple networks in Network Platform API</title>
    <link>https://community.cisco.com/t5/network-platform-api/add-radius-server-for-multiple-networks/m-p/5455111#M8387</link>
    <description>&lt;P&gt;Error that i got &lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Rahali_0-1737668055739.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image.png"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/264182iDB94AF679DE02A91/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 23 Jan 2025 21:34:20 GMT</pubDate>
    <dc:creator>rahaliix131005</dc:creator>
    <dc:date>2025-01-23T21:34:20Z</dc:date>
    <item>
      <title>Add radius server for multiple networks</title>
      <link>https://community.cisco.com/t5/network-platform-api/add-radius-server-for-multiple-networks/m-p/5455110#M8386</link>
      <description>&lt;P&gt;Hey Guys,&lt;/P&gt;&lt;P&gt;I'm struggling to add a radius server for 50+ networks , tried to work with couple of python scripts but didn't work even when I used Meraki SDK couldn't make it work .&lt;/P&gt;&lt;P&gt;If anyone did this before or have an idea , please help !&lt;/P&gt;&lt;P&gt;one of the python script I used  using Meraki SDK&lt;/P&gt;&lt;P&gt;import meraki&lt;BR /&gt;import requests&lt;/P&gt;&lt;P&gt;# Replace with your actual Meraki API key and network ID&lt;BR /&gt;API_KEY = 'your_meraki_api_key'&lt;BR /&gt;NETWORK_ID = 'your_network_id'&lt;/P&gt;&lt;P&gt;# Define the RADIUS server details&lt;BR /&gt;radius_server = {&lt;BR /&gt;"host": "10.2.2.11", # Replace with your RADIUS server's IP address&lt;BR /&gt;"port": 1812, # Replace with the RADIUS port (usually 1812)&lt;BR /&gt;"secret": "" # Replace with your RADIUS secret&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;# Create the base URL for the Meraki API&lt;BR /&gt;url = f'&lt;A href="https://api.meraki.com/api/v1/networks/{NETWORK_ID}/wireless/radiusServers" target="_blank" rel="nofollow noopener noreferrer"&gt;https://api.meraki.com/api/v1/networks/{NETWORK_ID}/wireless/radiusServers&lt;/A&gt;'&lt;/P&gt;&lt;P&gt;# Set up headers with the Meraki API Key&lt;BR /&gt;headers = {&lt;BR /&gt;'X-Cisco-Meraki-API-Key': API_KEY,&lt;BR /&gt;'Content-Type': 'application/json'&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;# Prepare the payload to update the radius server&lt;BR /&gt;payload = [radius_server] # The payload must be a list of servers&lt;/P&gt;&lt;P&gt;# Make the PUT request to update the RADIUS server&lt;BR /&gt;try:&lt;BR /&gt;response = requests.put(url, headers=headers, json=payload)&lt;BR /&gt;response.raise_for_status() # Raise an exception for HTTP errors&lt;BR /&gt;print("RADIUS server updated successfully:", response.json())&lt;BR /&gt;except requests.exceptions.RequestException as e:&lt;BR /&gt;print(f"Error occurred while updating RADIUS server: {e}")&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jan 2025 21:32:20 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/add-radius-server-for-multiple-networks/m-p/5455110#M8386</guid>
      <dc:creator>rahaliix131005</dc:creator>
      <dc:date>2025-01-23T21:32:20Z</dc:date>
    </item>
    <item>
      <title>Re: Add radius server for multiple networks</title>
      <link>https://community.cisco.com/t5/network-platform-api/add-radius-server-for-multiple-networks/m-p/5455111#M8387</link>
      <description>&lt;P&gt;Error that i got &lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Rahali_0-1737668055739.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image.png"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/264182iDB94AF679DE02A91/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jan 2025 21:34:20 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/add-radius-server-for-multiple-networks/m-p/5455111#M8387</guid>
      <dc:creator>rahaliix131005</dc:creator>
      <dc:date>2025-01-23T21:34:20Z</dc:date>
    </item>
    <item>
      <title>Re: Add radius server for multiple networks</title>
      <link>https://community.cisco.com/t5/network-platform-api/add-radius-server-for-multiple-networks/m-p/5455112#M8388</link>
      <description>&lt;P&gt;I'm not sure where that URL is from (perhaps an older version of the api?) but the API to update radius for Wireless is this one: &lt;A href="https://developer.cisco.com/meraki/api-v1/update-network-wireless-ssid/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://developer.cisco.com/meraki/api-v1/update-network-wireless-ssid/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You have to do it per SSID.&lt;BR /&gt;&lt;BR /&gt;Org Wide Radius does exist but only for wired devices at this point.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jan 2025 22:08:09 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/add-radius-server-for-multiple-networks/m-p/5455112#M8388</guid>
      <dc:creator>mloraditch</dc:creator>
      <dc:date>2025-01-23T22:08:09Z</dc:date>
    </item>
    <item>
      <title>Re: Add radius server for multiple networks</title>
      <link>https://community.cisco.com/t5/network-platform-api/add-radius-server-for-multiple-networks/m-p/5455113#M8389</link>
      <description>&lt;P&gt;Have you looked at the org-wide RADIUS feature?&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.meraki.com/t5/Feature-Announcements/Public-Preview-Org-level-RADIUS-Server/ba-p/214187" target="_blank"&gt;https://community.meraki.com/t5/Feature-Announcements/Public-Preview-Org-level-RADIUS-Server/ba-p/214187&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2025 19:42:34 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/add-radius-server-for-multiple-networks/m-p/5455113#M8389</guid>
      <dc:creator>Philip D'Ath</dc:creator>
      <dc:date>2025-01-27T19:42:34Z</dc:date>
    </item>
    <item>
      <title>Re: Add radius server for multiple networks</title>
      <link>https://community.cisco.com/t5/network-platform-api/add-radius-server-for-multiple-networks/m-p/5455114#M8390</link>
      <description>&lt;P&gt;yes looked it up seems to be working only with the switch(wired devices), couldn't make it work with SSID's&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2025 23:19:25 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/add-radius-server-for-multiple-networks/m-p/5455114#M8390</guid>
      <dc:creator>rahaliix131005</dc:creator>
      <dc:date>2025-01-29T23:19:25Z</dc:date>
    </item>
  </channel>
</rss>

