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

2950 - %Error opening flash:

Hello,

Trying to copy the booted IOS image to my TFTP server but for some odd reason it’s failing to locate the file, even though you can see it in the flash directory:

SWT001#show flash:

Directory of flash:/

    2  -rwx          45  Mar 01 1993 00:02:09 +00:00  env_vars
    3  -rwx     3699303  Mar 01 1993 00:03:38 +00:00  c2950-i6k2l2q4-mz.121-22.EA6.bin
    5  -rwx        1420  Mar 01 1993 00:07:32 +00:00  startup-conifg
    6  -rwx         616  Mar 01 1993 00:51:16 +00:00  vlan.dat
    7  -rwx        2359  Mar 01 1993 01:01:55 +00:00  config.text
    8  drwx        4416  Oct 03 2009 15:17:27 +00:00  html
  362  -rwx        1929  Mar 01 1993 01:01:55 +00:00  private-config.text

7741440 bytes total (2154496 bytes free)
SWT001#copy flash:c2950-i6k212q4-mz.121-22.EA6.bin tftp
Address or name of remote host []? 192.168.0.2
Destination filename [c2950-i6k212q4-mz.121-22.EA6.bin]?
%Error opening flash:c2950-i6k212q4-mz.121-22.EA6.bin (No such file or directory)

 

Everyone's tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions
Hall of Fame Super Gold

Do this first:  config ttftp

Do this first: 

 

config t
tftp flash:c2950-i6k2l2q4-mz.121-22.EA6.bin
end

 

After this you can copy the file to the TFTP server.  No need to save the config.  

 

Don't forget to rate our useful posts. 

5 REPLIES
Hall of Fame Super Gold

Do this first:  config ttftp

Do this first: 

 

config t
tftp flash:c2950-i6k2l2q4-mz.121-22.EA6.bin
end

 

After this you can copy the file to the TFTP server.  No need to save the config.  

 

Don't forget to rate our useful posts. 

Community Member

Thanks Leo, that worked. May

Thanks Leo, that worked. May I ask what the problem is actually?

Hall of Fame Super Gold

The command tells the switch

The command tells the switch to enable TFTP and specify the file to be "hosted".  

Community Member

Hi 

Hi 

am following your comments.in my case am unable to copy IOS from flash to tftp vice-versa eventhough i done it for above you suggested 

am able to copy running config from flash to tftp again.could you please help on it.

 

Hall of Fame Super Gold

This thread is >3 years old.

This thread is >3 years old.  

Kindly create a new thread so we can provide assistance.  

Also provide us details about what you're trying to do and command syntax used.

1813
Views
0
Helpful
5
Replies
CreatePlease to create content