05-13-2014 01:32 PM - edited 03-04-2019 10:59 PM
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)
Solved! Go to Solution.
05-13-2014 02:42 PM
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.
05-13-2014 02:42 PM
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.
05-15-2014 01:12 PM
Thanks Leo, that worked. May I ask what the problem is actually?
05-15-2014 10:13 PM
The command tells the switch to enable TFTP and specify the file to be "hosted".
07-20-2017 04:01 AM
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.
07-20-2017 04:37 AM
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.
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: