Remote Configuration Tip

Remote Configuration Tip

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!

Tags :
comments powered by Disqus

Related Posts

Network Field Day 2 — Comic Edition

Network Field Day 2 — Comic Edition

During the coarse of NFD2 I found an iPhone app called Halftone, and later, one named ComicStrip that allow you to add some fun effects and speech bubbles to your photos… So, I …

Netcat – secret weapon

Netcat – secret weapon

Netcat or nc, is a forgotten tool in too many arsenals these days. It lays dormant waiting at the command line to make connections across the globe for you. Knowing how to use it, …

RouterJockey is launching a clothing line?!?!???

RouterJockey is launching a clothing line?!?!???

Ok maybe that title is a bit grandiose… But due to the great response I received Friday morning from the launch of the original PCAP shirt, and the IPv6 follow-up, I decided to …