Router Files in Flash

Unanswered Question
Apr 11th, 2007
User Badges:

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.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Pari Thiagasundaram Wed, 04/11/2007 - 13:02
User Badges:
  • Silver, 250 points or more

copy bootflash:filename bootflash:

delete bootflash:filename

copy tftp: bootflash:


Hope that helps.

mparella Wed, 04/11/2007 - 13:21
User Badges:

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 Wed, 04/11/2007 - 13:50
User Badges:

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]?


mparella Wed, 04/11/2007 - 13:55
User Badges:

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

mparella Thu, 04/12/2007 - 04:03
User Badges:

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.

MUHAMMAD SHAHEEN Thu, 04/12/2007 - 07:12
User Badges:
  • Silver, 250 points or more

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

Actions

This Discussion