cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3365
Views
11
Helpful
6
Replies

Anyone created a python script for changing the WPA-key on all sites for a customer?

MikaelLonnqvist_sweden
Community Member

Hi,
We have a customer with around 50 sites - all are using the same 3 SSID's. SSID "X" have the same key on all sites.
likewise for SSID "Y" and SSID "Z". Now out customer wants to change these 3 SSID wpa-keys - on all of the sites.h
At a specific date..

Is there someone that has done something like this, using python?
(new to scripting and python)

BR
/Milou

6 Replies 6

aleabrahao
Meraki Community All-Star
Meraki Community All-Star

I sent you a private message.

I am not a Cisco employee. My suggestions are based on documentation of Meraki best practices and day-to-day experience.

Please, if this post was useful, leave your kudos and mark it as solved.

ww^
Meraki Community All-Star
Meraki Community All-Star

Rasmus Hoffmann Birkelund
Meraki Community All-Star
Meraki Community All-Star

If I were to make a script, I would start off by getting a list of all networks, and then I’d get all the SSIDs on each network. For each SSID I’d check the name, and then update them with the new PSK.

#########
LinkedIn ::: https://blog.rhbirkelund.dk/
Like what you see? - Mark as helpful ## Did it answer your question? - Mark it as a Solution 🙂
All code examples are provided as is. Responsibility for Code execution is solely your own.

aleabrahao
Meraki Community All-Star
Meraki Community All-Star

A piece of advice, for these cases where there are multiple networks with the same configurations, the use of templates helps a lot.

I am not a Cisco employee. My suggestions are based on documentation of Meraki best practices and day-to-day experience.

Please, if this post was useful, leave your kudos and mark it as solved.

Jamiegprice15
Level 4
Level 4

Yes, this code will display PSK SSID per Network and generate a randomized password for you.

Merakicode/ChgPSKPassword at main · jadexing/Merakicode (github.com)