cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2986
Views
40
Helpful
25
Replies

copying the image from one router to an other .

cisco steps
Level 1
Level 1

I would like to copy one ios image from one router to an other. we just put in 2x VWIC card on 3745 and we could not detect the card . the ios is ipvoice.. we have an other location that have ipbase ios and we can see the VWIC there. so we call cisco and tech said ya U need to chng the ios , no that may not be true . but just for the heck of it I will do it,

now I just need a baby steps and easy way to do it with out taking down the router ..

Thanks

25 Replies 25

Download and install any TFTP Server software on your laptop/desktop.

(Example: tftpd from http://tftpd32.jounin.net/).

Make sure you can ping from your router to your laptop.

Copy the image from the router to your tftp server. (Use the copy command from CLI)

Download the image from the tftp to your second router.

Change the boot string on your second router to boot from this new image.

Reload your second router.

Abracadabra !

did what you said pthiagas now i have an other copy on my router.. it did not work look @ the final result . now I need to delete # 2 cause it was not in there

r1 #ping x.x.x.x---my laptop

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to x.x.x.x, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 264/264/268 ms

r1#show flash

-#- --length-- -----date/time------ path

1 14450024 Mar 01 1993 00:04:08 -05:00 c3745-ipbase-mz.124-1b.bin

17879040 bytes available (14450688 bytes used)

r1#copy flash:c3745-ipbase-mz.124-1b.bin tffp

Destination filename [tffp]? x.x.x.x...my laptop

Copy in progress...CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC

CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC

CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC

CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC

CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC

CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC

CCCCCCCCCCCCCCCCCCCCC

14450024 bytes copied in 30.972 secs (466551 bytes/sec)

r1#show flash

-#- --length-- -----date/time------ path

1 14450024 Mar 01 1993 00:04:08 -05:00 c3745-ipbase-mz.124-1b.bin

2 14450024 Dec 24 2008 12:51:48 -05:00 x.x.x.x

3428352 bytes available (28901376 bytes used)

how I can delete the one that I just added .. Thanks

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello Octorbust,

one router can act as tftp server for the other

you need to specify the file name

example:

tftp-server flash:c3640-js-mz.124-18.bin

use dir /all to find the ios name

do it on the source router

on the target router verify if you have enough space to write the new image

I do think so with a C3745

on the target c3745

copy tftp flash type enter

you are asked the ip address

the remote filename

the local filename

verify before you have connectivity with the source router.

after downloading the file check it with verify command

using show bootvar or sh run | inc boot

you need to add a

boot system flash statement with the new file in first position.

when it is fine save the configuration.

during a scheduled downtime issue the reload command

the target router should load the new image

Hope to help

Giuseppe

Giuseppe ..

I would like to try ur option , nothing against pthiagas response it just did not work or what not clear what needs to be done, but know I am stucked w/ an extra image on my source router.. can you help on how to delete that one w/ out taking the netwok down.. Thanks

Ocportbust,

Do delete an image from router 1,

"delete flash:filename_to_delete"

What you did wrong is:

r1#copy flash:c3745-ipbase-mz.124-1b.bin tffp

Destination filename [tffp]? x.x.x.x...my laptop

What you should have done is:

r1#copy flash:c3745-ipbase-mz.124-1b.bin tftp:

Destination filename

Note the spelling mistake for tftp and a missing ":"

The first question it prompts is a file name and not an IP Address.

Please make sure you take time to do this and never do it in a hurry as you may end up without an image on your router.

so in this case its

r1#delete flash:192.168.1.20

is that correct? because x.x.x. is the name that was in there wich is the Ip address of the server

Thanks

Dont delete any file now.

U want to copy image from router 1 to router 2. So u have to copy from router 1 to ur laptop. Which is not successful as u copied to R1 itself instead tftp server.

Can you see c3745-ipbase-mz.124-1b.bin on ur tftp server in ur laptop. if not copy again this timeit shd be tftp: not tffp.

If yes, ping from other router to your laptop if success ful .

Go to other router

copy from tftp: flash:

then provide ur tftp server IP

Once new image is there on your router 2, manually boot from router 2 using new image.Set bootpath for new image.

IF it works fine then do any delete work.

In case any doubt post it.

thanks for your input . the new problem that I have know is that this is a router in production ,, I just added an extra image wich is the same one look @ show flash input

r1#show flash

-#- --length-- -----date/time------ path

1 14450024 Mar 01 1993 00:04:08 -05:00 c3745-ipbase-mz.124-1b.bin

2 14450024 Dec 24 2008 12:51:48 -05:00 192.168.1.20

I need to take this one out first

2 14450024 Dec 24 2008 12:51:48 -05:00 192.168.1.20

so my question is should I do

r1# delete flash:192.168.1.20

Thanks

if u have just copied and not done anything else then u can delete ur command is correct.

r1#delete flash:?

flash:192.168.1.20 flash:c3745-ipbase-mz.124-1b.bin

r1#delete flash:192.168.1.20

Delete filename [192.168.1.20]? yes

Delete flash:yes? [confirm]

%Error deleting flash:yes (File not found)

r1#

am I doing something wrong

done .. Thanks A lot .. now I am going to take a break and do the copying later ... Thanks all for your help and sorry for the confusion.,.

now I am going to get back to copying the file .. here is what I have in mind going to happen ,, this just something that I type it and would like your opinion on it ,,I will start with

r1#config t

(config)#tftp-server flash:c3745-ipbase-mz.124-1b.bin

(config)#end

r1#wr

then when I go to r2 and I do the command I should see this,,

r2#copy tftp flash:

Address or name of remote host []? 192.168.1.20

Source filename []? c3745-ipbase-mz.124-1b.bin

Destination filename [c3745-ipbase-mz.124-1b.bin]?

Accessing ftp://192.168.1.20/c5350-is-mz.123-14.T7.bin...

This router is in production and I just want to put the image there for now t'l safe time and I will do the upgrade ,

question :

this should not effect the performance or take the router down,.,

u r trying now router to router transfer

check with router 2 if it can hold 2 image. If it doesnot have space for 2 image then you cannot copy while your nework is running.

While copying if it ask something like this

Accessing tftp://10.10.10.1//c2500-js-l.122-10b...

Erase flash: before copying? [confirm]

DONT CONFIRM as it is going to erase ur old file and reload and bring your network down.

this should not effect the performance or take the router down

If you have space to 2 image on router 2

If you dont change bootpath then having 2 image will not effect the performance or bring the router down.

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: