Python script to import 100+ static routes

Here to help

Python script to import 100+ static routes

Hi All, apologies if this question has already been asked.

I'm in need to add 150+ static routes in total into network(s) and just wondering if there's already a public python script available to bulk import static routes?

Kind of a big deal
Kind of a big deal

Hi ,


150 static routes 😲 


You can use this endpoint :!create-network-appliance-static-route

or!create-device-switch-routing-static-route if the routing is done on a MS L3 switch.


I would also consider running an IGP instead of 150 static routes , seems like a nightmare is about to happen.

Thank a lot, I'll check it out. Its actually just max 60+ statics per a network but will have to import 150+ in total across couple of networks. Unfortunately can't run dynamic as the statics routes are for existing B2B connection...the whole solution is complicated enough.

Kind of a big deal
Kind of a big deal

Check out this script from the Meraki github to add static routes from a CSV file. 

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.