10-06-2010 08:52 AM - edited 03-06-2019 01:21 PM
I have a cisco 3750 swicth which i want to load a new ios to but unfortunately there's no enough space on the flash. This means that i need to backup the cureent (old) ios to my tftp server but the command keeps failing. It always gives 'No such file or directory' error .
The free space on the flash is 8mb and my new ios is about 11mb.
I also went inside the directory where the old is and inputed the same copy command but to no avail.
Below are some of the command failure on the swicth:
VNPSWITCH#sh flas
Directory of flash:/
2 -rwx 5 Mar 2 1993 16:31:57 +00:00 private-config.text
4 -rwx 1336 May 7 1993 02:07:25 +00:00 vlan.dat
5 drwx 192 Apr 4 1993 04:36:26 +00:00 c3750-ipbase-mz.122-25.SEB
4
363 -rwx 3919 Mar 2 1993 16:31:57 +00:00 config.text
15998976 bytes total (8884736 bytes free)
VNPSWITCH#copy fla
VNPSWITCH#copy flash tf
VNPSWITCH#copy flash tftp:
Source filename flash:c3750-ipbase-mz.122-25.SEB4/c3750-ipbase-mz.122-25.SEB4.bin
Address or name of remote host []? 172.19.2.214
Destination filename [c3750-ipbase-mz.122-25.SEB4.bin]?
%Error opening flash:c3750-ipbase-mz.122-25.SEB4/c3750-ipbase-mz.122-25.SEB4.bin
(No such file or directory)
Please assist.
Usman.
Solved! Go to Solution.
10-13-2010 04:19 AM
I guess the file you are looking for is there, without the .bin extension but it's there.
Could you have done something before that renamed the file?
Anyway, download it and compare its MD5/SHA with the original (not the IOS combined with the web files). As far as I remember you can get that hash from cisco.com.
Also, if you already know the IOS version that you are currently running, download it from cisco.com and keep it as a backup.
Cheers,
10-13-2010 04:28 AM
Hello,
Just a stupid question...have you tried to make a reload on the switch? I believe that he goes to rommon. It seems like someone delete the file. It should appears...
Regards,
Tiago
10-06-2010 08:58 AM
Hello,
Please try the following:
VNPSWITCH#copy flash tftp:
Source filename flash:/c3750-ipbase-mz.122-25.SEB4/c3750-ipbase-mz.122-25.SEB4.bin
Address or name of remote host []? 172.19.2.214
Destination filename [c3750-ipbase-mz.122-25.SEB4.bin]?
Hope this helps.
Regards,
NT
10-06-2010 10:36 AM
Hi Nagaraja,
I have tried it and below is the result:
VNPSWITCH#copy flas
VNPSWITCH#copy flash tf
VNPSWITCH#copy flash tftp:
Source filename [*flash:/c3750-ipbase-mz.122-25.SEB4/c3750-ipbase-mz.122-25.SEB4
.bin*]? flash:/c3750-ipbase-mz.122-25.SEB4/c3750-ipbase-mz.122-25.SEB4.bin
Address or name of remote host []? 172.19.2.214
Destination filename [c3750-ipbase-mz.122-25.SEB4.bin]?
%Error opening flash:/c3750-ipbase-mz.122-25.SEB4/c3750-ipbase-mz.122-25.SEB4.bi
n (No such file or directory)
VNPSWITCH#
Any more help from you guys.
Thanks,
Usman
10-06-2010 01:03 PM
Hi Usman,
From the error message, it sounds like you do not have the image in the right TFTP directory.
Try putting it in root of the TFTP server and test again,
HTH
Reza
10-07-2010 01:11 AM
Hi Reza,
I'm actually moving the file from flash to tftp not the reverse.
Thanks for the effort.
Usman
02-23-2017 12:22 AM
Hay Usman,
just try this i was having same issue & i get success.
run command
YourSwitchhostname#show version
find the line in out put of show version command System image file is "flash:/c3750e-universalk9-mz.150-2.SE4/c3750e-universalk9-mz.150-2.SE4.bin"
now copy from - flash:/c3750e-universalk9-mz.150-2.SE4/c3750e-universalk9-mz.150-2.SE4.bin
now run command
copy flash tftp:
Source filename flash:/c3750e-universalk9-mz.150-2.SE4/c3750e-universalk9-mz.150-2.SE4.bin (Past the copied path)
Address or name of remote host []? 192.168.16.150 (your tftp server address)
Destination filename [c3750e-universalk9-mz.150-2.SE4.bin]?
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
20397568 bytes copied in 168.544 secs (121022 bytes/sec)
Regards,
Mohammed Ahmad
please comment if you / any one get help from this post
04-13-2018 02:32 PM
Thanks Ahmad!! This worked for me. I copy and pasted the flash path from the show ver and it started copying!! Upon further investigation I was able to see that I was using the number "1" where there was the letter "l" instead. Case in point, part of the file name was "4l2" and I was manually typing in "412". It was driving me crazy. Thanks again!
06-25-2018 02:20 AM
it worked.. thanks a lot.
07-10-2019 03:26 AM
Mohammed, Good job legend
10-13-2010 03:14 AM
Hello Guys,
I still ca't locate the file (.bin) in the switch. I have changed directroy to flash:c3750-ipbase-mz.122-25.SEB4 but still can't find the file.
How do I locate this .bin file? I guess if I can locate it I would be good to go.
Guys, please don't give up.
Help out.
Usman,.
12-03-2012 08:02 AM
Hi,
Use only simple method,,,,,,,,,,,,,,,,,,
1) First Command : SSu-L3# sh flash :
2) 2nd Command : SSu-L3# sh flash: | redirect flash: Just press enter
3) 3rd Command : SSu-L3# copy flash: tftp:
: SSu-L3#Source File Name ?
:SSu-L3# Address or Name of remote host ?
:SSu-L3# Destination filenaem !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!}}] ? yes
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Done.
Best Regards,
Muhammad Imran
Network Engineer (SEQUEL SYSTEMS Inc.)
Network Engineer( NESPAK)
10-01-2013 06:34 AM
Dear Nagaraja
what about the reverse operation , i mean i faced the same ERROR when i try to copy the IOS image from TFTP to Flash ... please help to do correctly ?
11-17-2017 10:56 AM
Thank you,.
This was very helpful.
10-06-2010 12:06 PM
Hi you dont actually have enough space on flash anyway if the IOS is 11mb.
I would try though if there was enough storage copy flash:/c3750-ipbase-mz.122-25.SEB tftp
10-07-2010 01:13 AM
Hi Pal,
I have tried as you said and below is error again:
VNPSWITCH#cd flash:/c3750-ipbase-mz.122-25.SEB4
VNPSWITCH#copy flash:/c3750-ipbase-mz.122-25.SEB4 tftp
Address or name of remote host []? 172.19.2.214
Destination filename [c3750-ipbase-mz.122-25.SEB4]?
%Error reading flash:/c3750-ipbase-mz.122-25.SEB4 (Is a directory)
VNPSWITCH#$/c3750-ipbase-mz.122-25.SEB4/c3750-ipbase-mz.122-25.SEB4.bin tftp
Address or name of remote host []? 172.19.2.214
Destination filename [c3750-ipbase-mz.122-25.SEB4.bin]?
%Error opening flash:/c3750-ipbase-mz.122-25.SEB4/c3750-ipbase-mz.122-25.SEB4.bi
n (No such file or directory)
VNPSWITCH#
I appreciate your concern.
usman
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