Cisco Systems Copy all files from tftp to flash and vice versa, possible?

Bookmark this page:  YahooMyWeb Yahoo!  Google Google  Windows Live Favorites Windows Live  del.icio.us del.icio.us  digg digg  Add to Netscape Netscape
Subject Author Date
Copy all files from tftp to flash and vice versa, possible? Peter Danes 08-02-08
Posted by Peter Danes on August 2, 2008, 10:17 pm
Please log in for more thread options
Hi,

I have 6 2610XM-2611XM routers that I need to upgrade the IOS for and I
have about 10 configuration files backed up in the flash file system.

The flash file system has enough space but when I try copying a new IOS
over it says I don't have enough space.

Does anyone know of a command or an easy way to copy all files from
flash to a tftp server?

I want to also copy the backup configuration files back at some point so
I'll also need a way to copy all the files from the tftp server back to
flash.

Any assistance will be greatly appreciated.

Thanks

Peter

Posted by Merv on August 3, 2008, 1:10 pm
Please log in for more thread options
> Hi,
>
> I have 6 2610XM-2611XM routers that I need to upgrade the IOS for and I
> have about 10 configuration files backed up in the flash file system.
>
> The flash file system has enough space but when I try copying a new IOS
> over it says I don't have enough space.
>
> Does anyone know of a command or an easy way to copy all files from
> flash to a tftp server?
>
> I want to also copy the backup configuration files back at some point so
> I'll also need a way to copy all the files from the tftp server back to
> flash.
>
> Any assistance will be greatly appreciated.
>
> Thanks
>
> Peter


to backup flash: directory to TFTP server

dir flash:

copy flash:<filename-1> tftp://<tftp server ip address>/<filename-1>

copy flash:<filename-2> tftp://<tftp server ip address>/<filename-2>

copy flash:<filename-3> tftp://<tftp server ip address>/<filename3>

etc


Posted by headsetadapter.com on August 4, 2008, 7:44 am
Please log in for more thread options
Peter,

Use "dir" command, and see how much FREE space available on the router. If
you deleted files, but didn't "squeezed" the flash, your space was not
really released. So, every time after deleting any file in your router, use
the command "sque bootflash:" (or "suqe flash"). Newer routers and switches
have different filesystem on the flash, and don't need to be "defragmented".

Good luck,

Mike
CCNP, CCDP, CCSP, CCVP, MCSE W2K, MCSE+I, Security+, etc.
CCIE Voice (in progress), CCIE R&S (next)
------
Headset Adapters for Cisco IP Phones
www.ciscoheadsetadapter.com
www.headsetadapter.com



> Hi,
>
> I have 6 2610XM-2611XM routers that I need to upgrade the IOS for and I
> have about 10 configuration files backed up in the flash file system.
>
> The flash file system has enough space but when I try copying a new IOS
> over it says I don't have enough space.
>
> Does anyone know of a command or an easy way to copy all files from flash
> to a tftp server?
>
> I want to also copy the backup configuration files back at some point so
> I'll also need a way to copy all the files from the tftp server back to
> flash.
>
> Any assistance will be greatly appreciated.
>
> Thanks
>
> Peter



Similar ThreadsPosted
Copy all files from tftp to flash and vice versa, possible? August 2, 2008, 10:17 pm
No copy tftp: flash: on 2503 November 25, 2005, 11:40 am
copy tftp ? October 15, 2007, 8:49 pm
Renaming files in the flash. August 17, 2005, 5:08 pm
force a source port for: copy start tftp May 24, 2006, 5:22 pm
flash to tftp problems October 13, 2006, 11:22 pm
booting router from tftp: image is stored within a sub-dir in tftp root February 13, 2007, 6:31 am
Database Files November 10, 2005, 11:45 am
Files on a C3560? March 1, 2006, 6:48 am
Router looking for .cfg files June 2, 2006, 2:20 am
Copy software from one PIX to another November 22, 2006, 5:07 am
Copy PIX Config November 29, 2006, 6:22 pm
Copy Config December 1, 2006, 7:02 pm
deleting files on VPN3000 August 21, 2005, 8:55 am
Second Request for IPS signature files August 28, 2006, 3:32 am