cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
702
Views
0
Helpful
7
Replies

Router Files in Flash

mparella
Level 1
Level 1

I have a 3745 router running 12.2 IOS. I am trying to rename some files in flash (name.old)and TFTP some new files in to test. This seems pretty straight forward, any help would be appreciated. Will rate.

7 Replies 7

copy bootflash:filename bootflash:

delete bootflash:filename

copy tftp: bootflash:

Hope that helps.

Thanks. I only have "flash" not "bootflash". When I do issue the command though, I get "error opening flash:new-name (Device in exclusive use)" Ideas?

situwayne
Level 1
Level 1

RouterA#sh flash

-#- --length-- ---------date/time--------- path

1 24696600 Feb 28 1993 16:13:20 -08:00 c3745-advipservicesk9-mz.123-4.T4.bin

2 1888 Feb 28 1993 16:14:32 -08:00 sdmconfig-36xx-37xx.cfg

3 16264 Feb 28 1993 16:14:40 -08:00 sdm.shtml

4 3176448 Feb 28 1993 16:15:42 -08:00 sdm.tar

5 1462 Feb 28 1993 16:15:54 -08:00 home.html

6 216064 Feb 28 1993 16:16:06 -08:00 home.tar

7 22966284 Feb 28 2002 16:11:04 -08:00 c3745-jk9o3s-mz.123-10.bin

12791808 bytes available (51089408 bytes used)

RouterA#rename flash:c3745-advipservicesk9-mz.123-4.T4.bin test.bin

Destination filename [test.bin]?

RouterA#copy tftp flash

Address or name of remote host []? 10.150.204.21

Source filename []? c3745-jk9o3s-mz.123-11.bin

Destination filename [c3745-jk9o3s-mz.123-11.bin]?

RouterA#delete flash:c3745-advipservicesk9-mz.123-4.T4.bin

Delete filename [c3745-advipservicesk9-mz.123-4.T4.bin]?

Thanks for the response. Unfortunately I do not have "rename" as an available command in any mode.

It does somewhat. I am unsure what a "class c" file system is in flash. Am I to understand that I cannot rename anything in my flash if the command is not available?

Will rate the response. Thanks.

Hi,

If you are unable to rename a file then you may want to copy that file to a new name (copy File2 file3)

then delete file2

Hope this Helps

Regards

Shaheen

Review Cisco Networking products for a $25 gift card