Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Why this error while copying IOS files.

I was trying to upgrade the IOS of my cisco 7206VXR having ATA PCMCIA card from my local ftp server. Following errors are genarating while issuing the copy commands.

What is wrong with it .

14 REPLIES

Re: Why this error while copying IOS files.

Hi Jay

Are you able to ping the FTP server from your router and also have you mapped the local directory of the FTP server to the directory where you have the IOS (.bin) file ?

Also did you try formatting the Disk0 before loading the ios code ?

Also try simple copy ftp disk0 instead of mentioning copy ftp://192.168.5.2 disk0

regds

New Member

Re: Why this error while copying IOS files.

Hi Kumar,

1.Are you able to ping the FTP server from your router and also have you mapped the local directory of the FTP server to the directory where you have the IOS (.bin) file ?

Yes

2. Also did you try formatting the Disk0 before loading the ios code ?

Yes

3.Also try simple copy ftp disk0 instead of mentioning copy ftp://192.168.5.2 disk0

Still the same.

Thanks for the help

Regds

Jay

Re: Why this error while copying IOS files.

The error is: (No such device)

This means that the ftp server (ftp://192.168.5.2) from which you want to load the file is not available.

Perhaps this machine is only running tftp?

Regards,

Leo

New Member

Re: Why this error while copying IOS files.

Hi Leo,

Ftp is up and running.

Thanks

Regards

Jay

Re: Why this error while copying IOS files.

OK Jay, then you must check that there is an incoming connection from the router.

There seems to be a connectivty problem although it may also be that the file you want to copy is not in the directory where the session connects.

Regards,

Leo

New Member

Re: Why this error while copying IOS files.

Hi,

When you use Internet explorer to test your FTP, you enter a username/ password. Once you have done this, are you directed to the directory of your image? If not, the router cannot access where the image is on the ftp. Make sure the correct root dir on the ftp server is associated with the correct user.

See the format for using ftp:

Router# copy flash-filesystem:filename ftp:[[[//[username

[:password]@]location]/directory]/filename]

Once you have confirmed the FTP is working 100%, try the command again and enter your username/ password when executing the command.

ie: copy ftp://username:password@192.168.1.1/imagename.bin

slot0

New Member

Re: Why this error while copying IOS files.

Hi,

This I already tried out and noting is wrong with it.

Another thing I found is getting the same error when I try a copy run tftp.

Thanks

Jay

Silver

Re: Why this error while copying IOS files.

Hello,

Below you find the command:

copy ftp://192.168.5.2 disk0:/

Let me know if the above solve your problem,

Regards,

New Member

Re: Why this error while copying IOS files.

Hi,

This seems an issue related to flash/IOS.I have the vty session used for the copy command is still active and I am not able to clear it.

Also I am having the following outputs.

sh file descriptors

File Descriptors:

FD Position Open PID Path

0 0 0001 39 ftp://192.168.5.2/c7200p-ipbasek9-mz.124-4.XD5.bin

sh processes cpu | in 39

39 1404 2473 567 0.00% 0.00% 0.00% 3 Virtual Exec

New Member

Re: Why this error while copying IOS files.

Hi,

Can you ensure that you donot have any access lists between the router & ftp/tftp server? If so, can you temp remove them and try again?

New Member

Re: Why this error while copying IOS files.

Hello,

There is no acl's acting between them.

Regds

Jay

New Member

Re: Why this error while copying IOS files.

Hi Jay,

Please post the output from the following commands from your router:

telnet 192.168.5.2 69

and

telnet 192.168.5.2 21

Thanks

New Member

Re: Why this error while copying IOS files.

I have exaclty the same problem but no solution till now, anyone find a solution for this?

Re: Why this error while copying IOS files.

You're copying a file from FTP to your router disk0

I find something wrong with the error attachment. Why there is a space between "ftp://192.168.5.2" and "/c7200p-ipbasek9-mz.124-4.XD5.bin" ?

Try to eliminate the space as that is the reason for "(no such device)" error.

I usually use the following;

copy ftp://192.168.5.2/c7200p-ipbasek9-mz.124-4.XD5.bin disk0:/c7200p-ipbasek9-mz.124-4.XD5.bin

Make sure you have exatly this file c7200p-ipbasek9-mz.124-4.XD5.bin in the root directory of your FTP server.

376
Views
0
Helpful
14
Replies