How to copy a configuration from one router to another?

Unanswered Question
May 8th, 2008

Hi I have a 2600 that I need to use for a new gateway router. I need to copy the configuration from the old router to this one. I need to know how to do that the fastest way. If someone can help it would be appreciated. Thanks.

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Pravin Phadte Thu, 05/08/2008 - 08:34


Set the router as tftp server from where you want to copy the configuration.

config t

tftp-server nvram:startup-config

Check that the acl is not blcoking tftp(69) port.

go to the 2nd router to which it is connected try to ping the router which is configured as tftp.


copy tftf: to nvram:

specify what needs to file name of the startup config and ip address

let me know if this helps

Istvan_Rabai Fri, 05/09/2008 - 08:30

Hi Uzma,

1. Telnet into both routers from the same PC.

2. Then "sh run" on the source router.

3. Highlight the necessary config statements with your mouse and "Copy"

4. On the other router: "conf t"

5. "Paste" the config statements.



uzmausmani Fri, 05/09/2008 - 13:27

One router is connected to my console!!! It wont let me save the config off of the router that I'm consoled into to the tftp server on my laptop.

moses12315 Sat, 05/10/2008 - 04:49

Connect your router with the e0 and then copy it to the tftp server. Do the same with the other router also. And you will have backup the configuration file also.

zubaircco Tue, 05/13/2008 - 02:45


Did you manage to sort this issue out? Let me know. Rgds

sirdudesly Tue, 05/13/2008 - 03:38

there is no actual issue here, console isn't used for downloading/uploading (well there are options but hardly recommended)

moses12315 Tue, 05/13/2008 - 07:06

sirdudesly is right. You can not download from console . Anyway when you write copy tftp flash or copy tftp nvram etc then you will be asked to give the IP address. If you are using console there is no ip address neither for the tftp nor the router.( i mean you can not use them)

sirdudesly Tue, 05/13/2008 - 15:38

If you're looking for a free TFTP server check out Solarwinds TFTP. Nice and easy to use and above all it's free.

jafferderwish Wed, 05/14/2008 - 07:46

Since you are using console port; the fastest would be to copy your current config and paste in a text file format and then on your new router you can download it using the tftp command or you can just paste the config directly to the new router/


Pravin Phadte Wed, 05/14/2008 - 09:44

well i have this in mind which may help you.

You would need to have a public ip address to the machine you have consoled to and on internet.

Download the tftp software from below link.

This software does not only act as the tftp server but also you can select the interface of you ethernet card as tftp server ip address.

For ex if you are connected to a console and have a wireless card which is connected to internet also you connect you eth lan card to the eth or fast eth of the router.

you can select which ever interface you want to act as the tftp server.

you will need to add ip addres for you lan card and also config the router port as same if needed.

uzmausmani Wed, 05/14/2008 - 20:05

I just copy pasted the config. But I couldnt find a way to completely remove the running config and replace it with a new one (by copy pasting). I tried to add the new config (copy paste) but that just appended it to the existing config.

sirdudesly Wed, 05/14/2008 - 23:48

(in privilaged mode)

erase ru


then wait for the rotuer to restart

type no to the auto setup


conf t

then paste your configuration

moses12315 Thu, 05/15/2008 - 07:54

I think sirdudesly that he should erase the start-up config and no the running config first and without copy r s reload the router. Then he will prombt to the initial configuration . Then type no and then copy the it as you have said.

sirdudesly Thu, 05/15/2008 - 16:23

yeah you're right I meant startup-configuration

Just don't do what I see time and time again when someone types

erase flash

to clear the configuration

uzmausmani Thu, 05/15/2008 - 09:56

That should work!! I didnt think of that.I'll try it...Thanks!!!


This Discussion