Solved

How to recover a config from TFTP when the router config won't allow connection to tftp?

Posted on 2003-11-23
8
627 Views
Last Modified: 2013-11-29
I have a config file stored on a TFTP server.  

What if I make changes to the configuration, then do a copy run start and a reload and the new configuration is so messed up I don't have network access to the TFTP server?

How do I get the old config file from the TFTP server into the router.

The TFTP server is in the same room as the router and a console connection is possible between the two machines.

(This hasn't happened to me and I don't expect it to, but I do want to be ready for worst-case-scenario).
0
Comment
Question by:gateguard
  • 3
  • 2
  • 2
  • +1
8 Comments
 

Author Comment

by:gateguard
Comment Utility
There is no floppy drive on the router.
0
 
LVL 79

Accepted Solution

by:
lrmoore earned 300 total points
Comment Utility
Assuming you have console access to the router, the simplest thing is to do a 'write erase' reboot with no config, open  the saved config in notepad, under each used interface, add "no shut", Edit/select all, copy, then from the hyperterm console connection;
router#config t
router(config)# {paste to host}

sit back and watch it fly!
0
 
LVL 18

Expert Comment

by:chicagoan
Comment Utility
and should you need to recover an IOS image:
http://www.cisco.com/warp/public/130/xmodem_generic.pdf
0
 
LVL 18

Expert Comment

by:chicagoan
Comment Utility
BTW: The most time consuming thing we run into all the time is getting the user to get a working terminal going.
They can't find the cables, don't have a laptop with a configured terminal, etc.
Hook up the console cable and leave it there, you get one with every router.
Get a terminal app working with each device and save it's config on a utility laptop.
It's silly to have a router down for 4 hours because somebody inadvertantly shut down an interface.
Out Of Band management is important on remote routers.
Get a pots line and a modem going on the aux port when you set up the router.
Trying to talk a secretary through configs at the Minnesota Field Office will take years off your life.
 
0
NetScaler Deployment Guides and Resources

Citrix NetScaler is certified to support many of the most commonly deployed enterprise applications. Deployment guides provide in-depth recommendations on configuring NetScaler to meet specific application requirements.

 
LVL 79

Expert Comment

by:lrmoore
Comment Utility
Chicagoan,
>Get a pots line and a modem going on the aux port
I beg to differ on this one point. put the modem on the Console port.
The aux port is not active until the config is loaded. you can't recover from rommon> crash over the modem unless it is connected to console port.
Also, be careful what kind of modem you use, and be sure to lock down console access with AAA login, or consider a secure modem with username/password protection in it. I've seen lots of companies get slammed on an audit because they have open access points into the network with modems connected directly to routers..
0
 
LVL 18

Assisted Solution

by:chicagoan
chicagoan earned 100 total points
Comment Utility
quite right - we have all our console ports going to a multiserial card that we can telnet or dial into and the modem on the aux ports as backup - good point
0
 
LVL 5

Assisted Solution

by:epylko
epylko earned 100 total points
Comment Utility
Do a "copy run flash" and you can save the working config to the flash on the device. If you really hose it (and you should notice that _before_ you reboot it), you can do the "write erase" and then "copy flash run" and "no shut" the interfaces. That is the easiest, quickest way to recover.

-Eric
0
 

Author Comment

by:gateguard
Comment Utility
thanks
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

Configuring network clients can be a chore, especially if there are a large number of them or a lot of itinerant users.  DHCP dynamically manages this process, much to the relief of users and administrators alike!
Data center, now-a-days, is referred as the home of all the advanced technologies. In-fact, most of the businesses are now establishing their entire organizational structure around the IT capabilities.
Viewers will learn how to properly install and use Secure Shell (SSH) to work on projects or homework remotely. Download Secure Shell: Follow basic installation instructions: Open Secure Shell and use "Quick Connect" to enter credentials includi…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now