cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
27789
Views
0
Helpful
16
Replies

How to copy a configuration from one router to another?

uzmausmani
Level 1
Level 1

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.

16 Replies 16

Pravin Phadte
Level 5
Level 5

Hi,

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.

do...

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
Level 7
Level 7

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.

Cheers:

Istvan

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.

um a console port isn't used for that

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
Level 1
Level 1

Hi,

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

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

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
Level 2
Level 2

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
Level 1
Level 1

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/

Thanks

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.

http://tftpd32.jounin.net/

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.

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.

(in privilaged mode)

erase ru

reload

then wait for the rotuer to restart

type no to the auto setup

en

conf t

then paste your configuration

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.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card