01-29-2007 04:11 AM - edited 03-05-2019 02:02 PM
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 .
01-29-2007 04:16 AM
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
01-29-2007 04:21 AM
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
01-29-2007 04:19 AM
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
01-29-2007 04:23 AM
Hi Leo,
Ftp is up and running.
Thanks
Regards
Jay
01-29-2007 05:00 AM
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
01-29-2007 04:46 AM
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
01-29-2007 05:05 AM
01-29-2007 04:16 PM
Hello,
Below you find the command:
copy ftp://192.168.5.2 disk0:/
Let me know if the above solve your problem,
Regards,
01-29-2007 08:35 PM
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
01-30-2007 01:44 AM
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?
01-30-2007 02:19 AM
Hello,
There is no acl's acting between them.
Regds
Jay
01-30-2007 02:51 AM
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
02-20-2007 05:32 AM
I have exaclty the same problem but no solution till now, anyone find a solution for this?
02-20-2007 05:52 AM
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.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide