Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Copy Config to router

Status
Not open for further replies.

bbell22

IS-IT--Management
Apr 13, 2005
65
US
I have a router configuation in a text file that I copied from an existing router. I want to take the text file and copy it to a Cisco 1751 router. How do I do that?
 
Console into the router and transfer it via HyperTerminal (Windows). Or tftp the config to your computer and then tftp to the 1751...which would you like to do? I recommend tftp, as transfering it via text file sometimes screws up characters, and you could lock yourself out of the router.

Burt
 
The issue is the router is in one location and I am in another. I want to copy the config and edit it to meet my needs at this location, then I want to copy it to the non production router.

How do I tftp from the production router? Will it cause any slowness tftping?
 
bbell22,

On the production router, enter this (remote host is the TFTP server) -

Lab-B-Boston#copy startup-config tftp
Address or name of remote host []? 192.168.100.6
Destination filename [lab-b-boston-confg]?
!!
2356 bytes copied in 0.297 secs (7933 bytes/sec)
Lab-B-Boston#

Config files are very small and transfer takes very little time or resources from the production router.

Then you have the complete config file on your TFTP for you to later download to your lab router.

Hope this helps!

E.A. Broda
CCNA, CCDA, CCAI, Network +
 
Thank you for all of the info. As far as the TFTP server. can it be any server and is there software to make a TFTP server?
 
bbell22,

It is just software running on any PC.

I use the free download from Solarwinds -

I used the one we got from Cisco years ago but it seemed to be buggy and would crash once in a while. Have had no issues with this freeby from Solarwinds.

Hope this helps!


E.A. Broda
CCNA, CCDA, CCAI, Network +
 
ok i downloaded it the the tftp server. Now how do I upload it to the lab router?
 
Just login to the lab router and copy the config down in much the same way you copied it from the router to the server. Just type "copy" and then hit "?" if you need help with the commands.
 
Hello
To make life much easier.I would increase the buffer size on terminal program.Do a "show run" then copy and paste the conf to a notepad.Then modify your and paste it in your lab router.No TFTP server needed.
Regards
 
I am getting an error when I am trying to copy from the tftp server. %error opening tftp://address/sourcefilename (Timed out)
 
Can you ping the machine that TFTP is running on? Most likely not. You need to be able to reach the machine (from the remote router) that TFTP is running on.
 
Hi
Go for the instructions I gived you!!You will save yourself a lot of time!!.A production router will not let just any address tftp to it for security reason.
Regards
 
where do you paste it back into the labrouter at?
 
Hello
You clean-up the conf to much installed interfaces.And the past it into the the router's prompt.If you get errors it mean the line aren't supported on the lab router.

Router(config)#


Regards
 
A tip if you are using copy & paste-to-host in Hyperterminal. Set a line delay in the ASCII settings of Hyperterminal of 40 milliseconds.

If you do that then you don't get any parts of the config dropping out because of the lack of flow control on the console port.

EB
 
The easiest way to do this is to telnet the remote router and go into config mode. Then paste the config from tne text file to the router. I do this all the time...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top