Categories
Welcome Center
Education & Development
Discussions
Certification Preparation
Recent Posts
Groups
Free Resources
Ebooks
Free Workshops
Trending Certifications Infographic
Infosec Training
IT & Security Training
Live Boot Camps
Security Awareness Training
About Infosec Institute
Home
Certification Preparation
Cisco
CCST & CCNA (Entry-level & Associate)
Copy flash tftp when IOS image is in a folder
alejob
So I got this switch and I want to back up the IOS image. Every darn place explains how to do it when the IOS image is in the root directory in flash, which is pretty simple. But mine is in a directory called flash.
When the prompt asks for the file name I typed flash/longname.bin and a bunch of combinations without success. I can't believe something this simple is giving me so much trouble.
Any idea?
Find more posts tagged with
Save $250 on 2025 certification boot camps from Infosec!
Book now with code EOY2025
Button
Comments
sputnic68
here is an example:
switch#sh flash
Directory of flash:/
2 -rwx 99 Feb 24 2005 11:16:03 -05:00 private-config.text
3 -rwx 8149 Feb 24 2005 11:16:03 -05:00 config.text
4 -rwx 804 Jun 10 2004 18:45:09 -04:00 vlan.dat
6 -rwx 342 Jun 10 2004 11:36:32 -04:00 system_env_vars
24 drwx 192 Jun 10 2004 11:36:23 -04:00 c3550-i5q3l2-mz.121-20.EA2
7 -rwx 18 Jun 10 2004 11:36:32 -04:00 env_vars
15998976 bytes total (8269312 bytes free)
c3550-i5q3l2-mz.121-20.EA2 is the directory that the IOS file is in
This gives you the IOS file name in the directory
switch#cd flash:/c3550-i5q3l2-mz.121-20.EA2
switch#sh flash
Directory of flash:/c3550-i5q3l2-mz.121-20.EA2/
25 drwx 2688 Jun 10 2004 11:34:50 -04:00 html
107 -rwx 4219426 Jun 10 2004 11:36:23 -04:00 c3550-i5q3l2-mz.121-20.EA2.bin
108 -rwx 252 Jun 10 2004 11:36:23 -04:00 info
15998976 bytes total (8269312 bytes free)
Next copy the IOS to the tftp server
switch#copy flash tftp
Source filename [flash:/c3550-i5q3l2-mz.121-20.EA2.bin]? flash:/c3550-i5q3l2-mz.121-20.EA2/c3550-i5q3l2-mz.121-20.EA2.bin
Address or name of remote host []? 10.1.1.1
Destination filename [/c3550-i5q3l2-mz.121-20.EA2/c3550-i5q3l2-mz.121-20.EA2.bin]? c3550-i5q3l2-mz.121-20.EA2.bin
That should complete the copy of the IOS to the tftp server when it is in a directory
Abhishake
Thank you so much for this method...:)
Quick Links
All Categories
Recent Posts
Activity
Unanswered
Groups
Best Of
INFOSEC Boot Camps
$250
OFF
Use code
EOY2025
to receive $250 off your 2025 certification boot camp!
BROWSE BOOT CAMPS