cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
89971
Views
115
Helpful
32
Replies

copy flash tftp command failed on Cisco 3750 switch

Nabaruma
Level 1
Level 1

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.

2 Accepted Solutions

Accepted Solutions

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,

View solution in original post

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

View solution in original post

32 Replies 32

Nagaraja Thanthry
Cisco Employee
Cisco Employee

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

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

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

Hi Reza,

I'm actually moving the file from flash to tftp not the reverse.

Thanks for the effort.

Usman

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

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!

it worked.. thanks a lot.

Mohammed, Good job  legend 

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,.

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)

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 ?

Thank you,.

This was very helpful.

tobyh4444
Level 1
Level 1

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

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

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:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco