Category Archives: Automate

How to write long iterative configs

Sometimes there is a problem: you need to write a really repetitive config with hundreds of nodes. Clear example would be dial peers in Cisco routers. It is immensely hard and dull to do this by hand or copy+paste. Here’s a simple python script to do it for you.