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

BGP Tips! multipath load balancing

BGP Tips! multipath load balancing

Previous thoughts on load balancing BGP were that it is not a load balancing protocol and in order to achieve any sort of balanced traffic you would have to perform some sort of …

Read More
Introducing Graphiant: The Future of Network-as-a-Service

Introducing Graphiant: The Future of Network-as-a-Service

As businesses continue to shift towards remote and distributed work environments, the need for secure and reliable network infrastructure has never been greater. Enter Graphiant, a …

Read More
Juniper QFabric, Junosphere, Automation, and More

Juniper QFabric, Junosphere, Automation, and More

The second day of Network Field Day 2 started early at the Juniper EBC, luckily Abner Germanow was prepared with breakfast for the weary and slightly hung over delegates. He gave …

Read More