cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
6726
Views
0
Helpful
5
Replies

2950 - %Error opening flash:

Ben Lavender
Beginner
Beginner

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)

 

1 ACCEPTED SOLUTION

Accepted Solutions

Leo Laohoo
VIP Community Legend VIP Community Legend
VIP Community Legend

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. 

View solution in original post

5 REPLIES 5

Leo Laohoo
VIP Community Legend VIP Community Legend
VIP Community Legend

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. 

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

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

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.

 

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.

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: