Automation & Tools

Remote Configuration Tip

Tony Mattke · 2011.04.18 · 1 min read

I got asked a rather interested question the other day. An engineer needed to make remote configuration changes to a router, but do the commands he needed to run, he would be disconnected in the middle of his configuration. He asked me if I could write an EEM, or TCL script to make the changes for him. This seemed like a reasonable request, until I thought about it for a bit.

The solution I came up with is much, much simpler than doing any scripting. Create a file with the changes you wish to make, place it within the scope of your TFTP server and once its there, simply issue a copy tftp: running-config making sure to pass the correct IP and file name. Even so the command states its doing a copy, it will not over write your current running configuration. This will simply merge the contents of your file with the current running-config. Tada!

More in Automation & Tools
Tags :

Related Posts

2010.06.09 Networking 5 min read

More IOS Tips

Learning the particulars of Cisco IOS is one of the most valuable things a network engineer can do. These skills will be the basis of everything you do on the lab and on your network.

2009.05.27 Networking 3 min read

Cisco IOS Tips and Tricks

So, I’m sure these have been posted almost on every networking blog under the sun, but who knows, right?