Fun with scripts
Today I worked on tweaking a script that I wrote two weeks ago, basically it telnet's into a router, graps the output of a command, parses it for the ip data only, then crafts it into a config statement and appends a line of my choosing. It then stores it locally, and uploads the command back to the router all in about 20 seconds.
It's not perl, or amazingly graceful....in truth it's visual basic hacked together, but it works and it will allow me to do 286 routers in the time it would take somebody to do a tenth of that by hand. It was actually fun to figure out.