The Meraki Community
Register or Sign in
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • About Raphael_M
Raphael_M

Raphael_M

Here to help

Member since Jun 26, 2019

Kudos from
User Count
akfrnd
akfrnd
1
PhilipDAth
Kind of a big deal PhilipDAth
2
BrechtSchamp
BrechtSchamp
1
Roska
Roska
1
SoCalRacer
SoCalRacer
1
View All
Kudos given to
User Count
CptnCrnch
Kind of a big deal CptnCrnch
1
DexterLaBora
Meraki Employee DexterLaBora
1
sbcoms
sbcoms
1
SoCalRacer
SoCalRacer
1
PhilipDAth
Kind of a big deal PhilipDAth
3
View All

Community Record

19
Posts
13
Kudos
0
Solutions

Badges

ECMS1
ECMS2
First 5 Posts
First 10 Kudos
Lift-Off View All
Latest Contributions by Raphael_M
  • Topics Raphael_M has Participated In
  • Latest Contributions by Raphael_M

Re: "Claimed At" attribute in inventory API endpoint

by Raphael_M in Developers & APIs
‎12-03-2019 04:28 AM
‎12-03-2019 04:28 AM
I knew it had something really simple 😅   Thanks for the quick answer ! ... View more

"Claimed At" attribute in inventory API endpoint

by Raphael_M in Developers & APIs
‎12-03-2019 03:23 AM
‎12-03-2019 03:23 AM
Hello everyone,   I am struggling to understand how to interpret the "Claimed At" attribute that is returned in the "getOrganizationInventory" endpoint. I guess this is supposed to indicate the date at which the device was claimed, but I don't get which date format it is using.   Below is an extract from the official API documentation.   Does anyone know how to convert this integer (1518365681 in this case) into a date ? ... View more
Labels:
  • Labels:
  • Dashboard API

Re: Clone existing network configuration while creating a new network throu...

by Raphael_M in Developers & APIs
‎11-26-2019 05:35 AM
‎11-26-2019 05:35 AM
It seems like the postman collection is completely broken 😥   I think that I was using an old version of the collection (few weeks old maybe) because now that I have updated it (using postman.meraki.com, same as you) I see some very weird things: There is no description associated to each endpoint anymore you are right The parameters in the URL start with a colon (eg ":networkId") instead of behing put between two brackets like before : "{{networkId}}", so Postman is not able to interpret them as parameters anymore Headers seem to be empty, while they used to contain at least the "application/content" and the "X-Cisco-Meraki-API-Key" keys   Not sure to whom this should be reported to... ... View more

Re: Clone existing network configuration while creating a new network throu...

by Raphael_M in Developers & APIs
‎11-26-2019 03:04 AM
‎11-26-2019 03:04 AM
Strange indeed... The postman collection does shows the parameter, so I guess it's only missing in the Postman docs   ... View more

Re: Clone existing network configuration while creating a new network throu...

by Raphael_M in Developers & APIs
‎11-26-2019 01:39 AM
3 Kudos
‎11-26-2019 01:39 AM
3 Kudos
Hello Ritish,   There is an option to do that using the Dashboard API. Use the "Create a new network" endpoint and put the network id of the network you want to clone in the payload: def payload = [ name: xxx, type: xxx, timeZone : xxx, tags: xxx, copyFromNetworkId: network_id ]   ... View more

Re: AirPlay Devices Not Showing up

by Raphael_M in Wireless LAN
‎10-17-2019 08:04 AM
‎10-17-2019 08:04 AM
Have you tried disabling the Bonjour Forwarding feature ? I don't know if this could explain your issue (don't think so) but If all devices are in the same VLAN it shouldn't be required anyway. ... View more

API endpoint to configure SSID visibility

by Raphael_M in Wireless LAN
‎10-07-2019 07:17 AM
‎10-07-2019 07:17 AM
Hello,   Has anyone tried to configure SSID visiblity (ie whether the SSID is hidden or not) using APIs ? When creating a SSID via API you can't control its visibility and there is not other API endpoint that seem to do the job.   That would definitely be a good candidate for a make a wish but I prefer to check if I'm not missing something first!    Thanks. ... View more

Re: "Update the attributes of an SSID" - AP endpoint broken ?

by Raphael_M in Wireless LAN
‎09-25-2019 01:17 AM
‎09-25-2019 01:17 AM
Turns out that this is supposed to be a "one-time error" from Meraki. Their golden rule is that new API releases should not break the structure of existing API requests, which they have failed to achieve in this case.   The solution was "simply" to remove the encryptionMode attribute from the request. ... View more

Re: "Update the attributes of an SSID" - AP endpoint broken ?

by Raphael_M in Wireless LAN
‎09-24-2019 12:43 AM
1 Kudo
‎09-24-2019 12:43 AM
1 Kudo
That is exactly what my Meraki SE suggested to me: using the Webex Teams to follow closely what they release on the API sode.   Still, I'm a bit pissed off that they don't provide "retro-compatibility" when they modify their APIs, it should be a basic rule.   I will try your suggestion (removing the encryptionmode attribute) but I noticed that they have also: Added new attributes that seem to be mandatory Removed the possibility to set some existing attributes to "null"   If I find the right modifications in the payload I will share it in this thread.   PS : The Webex teams logs does show that they have changed the encryptionmode attribute: old objects: {'description': "The psk encryption mode for the SSID ('wpa', 'wep' or 'wpa-eap')"} new objects: {'description': "The psk encryption mode for the SSID ('wep' or 'wpa'). This param is only valid if the authMode is 'psk'"} ... View more

"Update the attributes of an SSID" - AP endpoint broken ?

by Raphael_M in Wireless LAN
‎09-23-2019 08:17 AM
‎09-23-2019 08:17 AM
Hello everyone,   I have already opened a case to the support but I want to know if anybody else is facing the same issue.   Since last Friday approximately our provisioning scripts (provisioning of networks and SSIDs) keep failing. More precisely they fail when we call the API to create an SSID with WPA-EAP encryption. We get a 400 Bad Request from Meraki with the error message : 'encryptionMode' must be one of: 'wep' or 'wpa'.   It used to work perfectly until last Friday and nothing has changed on our side, so I strongly suspect an issue with the API endpoint itself. Has anyone else noticed the same thing recently ?   Below is the payload of the request, I obfuscated info related to our RADIUS servers: { "name": "Lab O&I - Redwood", "enabled": true, "splashPage": "None", "ssidAdminAccessible": false, "authMode": "8021x-radius", "encryptionMode": "wpa-eap", "wpaEncryptionMode": "WPA2 only", "radiusServers": [ { "host": "x.x.x.x", "port": 1812, "secret":"xxx" } ], "radiusAccountingEnabled": true, "radiusAccountingServers": [ { "host": "x.x.x.x", "port": 1813, "secret":"xxx" } ], "radiusCoaEnabled": false, "radiusAttributeForGroupPolicies": "Filter-Id", "radiusFailoverPolicy": null, "radiusLoadBalancingPolicy": null, "ipAssignmentMode": "Bridge mode", "useVlanTagging": true, "defaultVlanId": 900, "radiusOverride": true, "minBitrate": 11, "bandSelection": "Dual band operation with Band Steering", "perClientBandwidthLimitUp": 0, "perClientBandwidthLimitDown": 0, "lanIsolationEnabled": false }   ... View more

Re: Cycle Port

by Raphael_M in Developers & APIs
‎09-12-2019 01:19 AM
‎09-12-2019 01:19 AM
Since the API endpoint doesn't seem to exist, have you tried adapting your script to: Disable the email alert that is triggered by the port status change Disable the port Enable the port Enable the email alert again   Of course you'll need to get the network ID for each switch but that shouldn't be a big problem. ... View more

Re: Radius Server Testing Failed

by Raphael_M in Wireless LAN
‎09-03-2019 07:47 AM
3 Kudos
‎09-03-2019 07:47 AM
3 Kudos
Hello Prashan,   That's a funny coincidence, I noticed the exact same issue earlier today. I spent a few hours scratching my head and switching between the Meraki dashboard and our Cisco ISE (which handles the RADIUS requests) and I finally figured out what was the issue.   In our case: all our ISE policies start with a "if Wireless_802.1X". This checks two things from the RADIUS request fields: NAS-Port-Type = Wireless-802.11 Service-Type = Framed Interestingly enough, it turns out that if you use the "Test" button the Meraki AP will not include the "Service-Type" information in its RADIUS request. Because of that the request does not pass the "if Wireless_802.1X" condition and is rejected.   You can see this behavior with a packet capture of the AP uplink port. As you can see below  only the NAS-Port-Type is sent:   However during a real user authentication, the AP correctly sends both information to the RADIUS server so the authentication is working fine.   So I would check whether you are also using the "Wireless_802.1X" condition on your RADIUS server or not. ... View more

Re: SSID Reporting

by Raphael_M in Dashboard & Administration
‎08-28-2019 07:53 AM
4 Kudos
‎08-28-2019 07:53 AM
4 Kudos
Alright, here it is. A few comments: Just update everything that is between <> and the script should run fine We only have 3 organizations so I decided to hard code the org name and org ids in the script out of laziness ; now of course you can use an API endpoint to get this information and put it in an array instead of hardcoding it The scripts only reports SSID information that I cared about but of course you can update it to collect more/everything import json import requests import sys import csv # Define organizations orgs={'<orgName 1>':'<org Id 1>','<orgName 2>':'<org Id 2>','<orgName 3>':'<org Id 3>'} org_names=orgs.keys() # Define API URL and API key base_url='https://api.meraki.com/api/v0/' API_KEY = '<ApiKey>' with open('<filepath>', mode='w',newline='') as report_csv: report = csv.writer(report_csv, delimiter=',', quotechar='"', quoting=csv.QUOTE_MINIMAL) report.writerow(['Org name','Network name','SSID name','SSID Authmode','SSID Encryption mode','WPA mode','VLAN','RADIUS servers']) for org_name in org_names: #Get list of networks in each organization print("Cycling through organization " + org_name) session = requests.session() headers = {'X-Cisco-Meraki-API-Key': API_KEY, 'Content-Type': 'application/json'} networks = json.loads(session.get(base_url + 'organizations/' + orgs[org_name] + '/networks', headers=headers).text) #Get list of SSIDs in each network for net in networks: ssids=json.loads(session.get(base_url + 'networks/' + net['id'] + '/ssids', headers=headers).text) #Write csv file with various information for ssid in ssids: if "Unconfigured" in ssid['name']: break elif '8021x' in ssid['authMode'] and ssid['useVlanTagging']: row=[org_name,net['name'],ssid['name'],ssid['authMode'],ssid['encryptionMode'],ssid['wpaEncryptionMode'],ssid['defaultVlanId']] for index,radius in enumerate(ssid['radiusServers']): row.insert(7+index,radius['host']) report.writerow(row) elif '8021x' in ssid['authMode']: row=[org_name,net['name'],ssid['name'],ssid['authMode'],ssid['encryptionMode'],ssid['wpaEncryptionMode'],'No tagging'] for index,radius in enumerate(ssid['radiusServers']): row.insert(7+index,radius['host']) report.writerow(row) elif ssid['useVlanTagging']: report.writerow([org_name,net['name'],ssid['name'],ssid['authMode'],'','',ssid['defaultVlanId']]) else: report.writerow([org_name,net['name'],ssid['name'],ssid['authMode'],'','','No tagging']) report_csv.close   ... View more

Re: SSID Reporting

by Raphael_M in Dashboard & Administration
‎08-28-2019 05:25 AM
1 Kudo
‎08-28-2019 05:25 AM
1 Kudo
I've written a small Python script for this exact same need. It goes through all our organizations and their attached networks and lists all SSIDs in a csv file. You can PM me if you want the script, it'll probably need some adjustments but that's not a lot of work.   The script is probably ugly so I prefer not to attach it to this thread, but it does the job. ... View more

Re: Dashboard Templates and Networks

by Raphael_M in Wireless LAN
‎07-19-2019 06:07 AM
1 Kudo
‎07-19-2019 06:07 AM
1 Kudo
Hi BBDave,   We ran into the same kind of discussions when we had to choose how we would use the dashboard. We decided not to use templates because once a network is attached to one there are not so many settings that can be overriden. In a way it is good since you are making sure all of your networks are configured in the same way but in the other hand you give up on some flexibility if you want to fine tune some settings that are specific to a site.   We prefer to create new networks by copying from an "empty" one which has all our settings, and then we are free to adjust them network by network. ... View more

Configure 802.11r via API calls

by Raphael_M in Wireless LAN
‎07-02-2019 02:19 AM
‎07-02-2019 02:19 AM
Hello everyone,   I am writing a script to configure SSIDs automatically based on user inputs in a form. Right now I can't figure out a way to configure 802.11r and 802.11w throug the API endpoint used to updates SSIDs "(PUT)Update the attributes of an SSID".   In the documentation I can't find any parameter to configure 802.11r/w using this endpoint.   Has anyone faced this problematic before ? Any suggestion on how I could make it work ?   Thanks. ... View more

Re: Adding Meraki AP as a "network device" on a Cisco ISE

by Raphael_M in Wireless LAN
‎06-27-2019 09:13 AM
‎06-27-2019 09:13 AM
I guess this is how we are going to configure it in the end if there is no "cleaner" way ! ... View more

Re: Adding Meraki AP as a "network device" on a Cisco ISE

by Raphael_M in Wireless LAN
‎06-27-2019 04:54 AM
‎06-27-2019 04:54 AM
This document is quite detailed, I had never seen it before. That being said it goes a bit quickly on how to configure thousands and thousands of access points :   "Repeat steps 1 through 7 for additional Meraki access points that will be used in the ISE deployment"   I really want to avoid having to manually configure a network device on the ISE everytime we deploy a new AP. ... View more

Adding Meraki AP as a "network device" on a Cisco ISE

by Raphael_M in Wireless LAN
‎06-27-2019 02:56 AM
‎06-27-2019 02:56 AM
Hello everybody,   I tried to search if this had already been discussed somewhere but I can't find anything.   In our environment we use a Cisco ISE used to authenticate our WiFi clients. As you may know, before the authentification takes place, the device sending the RADIUS request has to be added as a "network device" on the ISE with a shared secret to make sure it is allowed to perform the RADIUS request.   In a traditional Cisco WiFi deplyoment with controllers all we had to do was add all our controllers to this list, which was manageable (<10). Now, is there any best practice on how to do this when we have potentially thousands of Meraki APs sending RADIUS requests to our ISE (since there is no controller anymore in the Meraki world) ?   Is there any integration between the ISE and the Meraki dashboard to automatically trust and configure the Meraki APs on the ISE once they are added to the dashboard ? Should we configure a single network device (for instance with 10.0.0.0/8 range) that will cover all APs, but using the same shared secret ?                                       Any help would be appreciated ! Thanks. ... View more
Kudos from
User Count
akfrnd
akfrnd
1
PhilipDAth
Kind of a big deal PhilipDAth
2
BrechtSchamp
BrechtSchamp
1
Roska
Roska
1
SoCalRacer
SoCalRacer
1
View All
Kudos given to
User Count
CptnCrnch
Kind of a big deal CptnCrnch
1
DexterLaBora
Meraki Employee DexterLaBora
1
sbcoms
sbcoms
1
SoCalRacer
SoCalRacer
1
PhilipDAth
Kind of a big deal PhilipDAth
3
View All
My Top Kudoed Posts
Subject Kudos Views

Re: SSID Reporting

Dashboard & Administration
4 1993

Re: Clone existing network configuration while creating a new network throu...

Developers & APIs
3 4397

Re: Radius Server Testing Failed

Wireless LAN
3 13026

Re: "Update the attributes of an SSID" - AP endpoint broken ?

Wireless LAN
1 1637

Re: SSID Reporting

Dashboard & Administration
1 2007
View All
Powered by Khoros
custom.footer.
  • Community Guidelines
  • Cisco Privacy
  • Khoros Privacy
  • Privacy Settings
  • Terms of Use
© 2023 Meraki