Hello good morning everyone
I am an admin user for the meraki console and my client asked me to create a script to block ip,
we currently have 400 active networks and making them once becomes complicated
is there the possibility to create a script for all the stores I have on the meraki console?
Thanks for the reply
Regards
Ciro Scalera
Hi Ciro,
yes, it‘s definitely possible to update Meraki firewall rules by using the API:
https://developer.cisco.com/meraki/api/#!update-network-l-3-firewall-rules
In a nutshell, you‘d have to write a script that cycles though all of your networks (https://developer.cisco.com/meraki/api/#!get-organization-networks) and add the wanted rule(s).
@Ciroski Apart from what @CptnCrnch provides, you can also have Python Script as well
https://developer.cisco.com/meraki/build/mx-firewall-control-python-script/
@Ciroski May be check this as well, it also shows with the IP address
https://developer.cisco.com/codeexchange/github/repo/CiscoSE/AddMerakiMXL3FirewallRuleToNetworks
can you help me create a script?
Try these scrips in postman: