Updating Meraki guest SSID

Solved
JCGreco
Comes here often

Updating Meraki guest SSID

Has anyone ever created a script to update the guest SSID MX 68? I have about 200 deployed right now and am looking to change the guest password for all the units simultaneously. 

1 Accepted Solution
Ryan_Miles
Meraki Employee
Meraki Employee

They're speaking about configuration templates which you create in dashboard and bind networks to them. https://documentation.meraki.com/Architectures_and_Best_Practices/Cisco_Meraki_Best_Practice_Design/...

Ryan

If you found this post helpful, please give it Kudos. If my answer solves your problem please click Accept as Solution so others can benefit from it.

View solution in original post

9 Replies 9
RaphaelL
Kind of a big deal
Kind of a big deal

Hi , 

 

I have not , but it is simple enough if you have a minimum of knowledge of the Meraki API and Python ( or any scripting language ) 

 

You would have to use atleast this endpoint : https://developer.cisco.com/meraki/api-v1/#!update-network-wireless-ssid to update the SSID. 

 

The logic could be like that : 

 

1- Loop through all networks

2- Get the Wireless SSIDs numbers

3- Get the Wireless SSID configuration of the desired SSID

4- Update with the correct SSID configuration of the desired SSID

 

Voilà !  Obviously you want to test your script before running it , unless you plan on explaining why the Wifi is no longer working 🙂 

 

 

 

EDIT:  Only for MR. Not working for MX. There are no endpoints available to my knowledge.

ww
Kind of a big deal
Kind of a big deal

Does that work for mx now? I thought at some point there was no working api for mx ssid anymore

RaphaelL
Kind of a big deal
Kind of a big deal

Good point. It doesnt. My eyes skipped the MX part of the OP

RaphaelL
Kind of a big deal
Kind of a big deal

At that point ( 200 MX ) I would try to use templates if possible

JCGreco
Comes here often

Where would i get the template from ? I have been searching all over

Ryan_Miles
Meraki Employee
Meraki Employee

They're speaking about configuration templates which you create in dashboard and bind networks to them. https://documentation.meraki.com/Architectures_and_Best_Practices/Cisco_Meraki_Best_Practice_Design/...

Ryan

If you found this post helpful, please give it Kudos. If my answer solves your problem please click Accept as Solution so others can benefit from it.
AxL1971
Building a reputation

I have written an application to to exactly this, change password for the Guest User Account across all networks.

JCGreco
Comes here often

can you share the code so i can look at it?

AxL1971
Building a reputation

all the code does it loop thru all the networks calling an API call passing the network ID, Unique ID of the user and a json string with the new password

 

JSON Format to send over
 
{password : <password>}
 
APi Call
 
https://api.meraki.com/api/v1/networks/<network ID>/merakiAuthUsers/<User ID> 
  
Header of HTTP Call 
 
Content-Type,application/json
Accept,application/json
X-Cisco-Meraki-API-Key,<API Key>

 

Get notified when there are additional replies to this discussion.
Welcome to the Meraki Community!
To start contributing, simply sign in with your Cisco account. If you don't yet have a Cisco account, you can sign up.
Labels