×

Warning message

  • Cisco Support Forums is in Read Only mode while the site is being migrated.
  • Cisco Support Forums is in Read Only mode while the site is being migrated.

2950 - %Error opening flash:

Answered Question
May 13th, 2014
User Badges:

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)

 

Correct Answer by Leo Laohoo about 3 years 3 months ago

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. 

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Correct Answer
Leo Laohoo Tue, 05/13/2014 - 14:42
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    The Hall of Fame designation is a lifetime achievement award based on significant overall achievements in the community. 

  • Cisco Designated VIP,

    2017 LAN, Wireless

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. 

Ben Lavender Thu, 05/15/2014 - 13:12
User Badges:

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

Leo Laohoo Thu, 05/15/2014 - 22:13
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    The Hall of Fame designation is a lifetime achievement award based on significant overall achievements in the community. 

  • Cisco Designated VIP,

    2017 LAN, Wireless

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

venkat.avula2015 Thu, 07/20/2017 - 04:01
User Badges:

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.

 

Leo Laohoo Thu, 07/20/2017 - 04:37
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    The Hall of Fame designation is a lifetime achievement award based on significant overall achievements in the community. 

  • Cisco Designated VIP,

    2017 LAN, Wireless

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.

Actions

This Discussion

Related Content