Using TFTP to change external IP address remotely

Here’s  a quick update to using EEM to change external IP adresses remotely on a router. While I’ve had success with that method, it has also failed miserably on me (thanks to my stupid typos).  EEM is a format all it’s own, and I often will fat-finger the order of statements. So I’ve discovered another, more reliable method. Here it is:

Router# copy tftp startup
Address or name of remote host []? 10.0.0.1
Source filename[]? newconfig.txt
Destination filename [startup-config]?
Accessing tftp://10.0.0.1/newconfig.txt...
Loading newconfig.txt from 10.0.0.1: !
[OK - 6105 bytes]
[OK]
6105 bytes copied in 2.620 secs (2330 bytes/sec)
Router#

Copy the existing config to notepad, make the necessary changes, and quadruple-check them.  Then tftp or ftp or scp the new config back to the startup-config file. Reboot. If you’ve got the config correct, you’re back in business with just one reboot. It doesn’t show your panache or swagger like EEM does. But don’t worry about that – save it for Swashbuckling School.

This is plain old common and boring and unsexy. But it just works. And that’s what you want.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s