cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2070
Views
1
Helpful
5
Replies

How to delete unknow file from bootflash of C4500

Maria Moraes
Level 1
Level 1

I need to delete a file from the bootflash to be able to upload a new file.

I tried the command "del bootflash:[file.name].bin" but it gave me an error message.

When i checked the bootflash again, the file is still there. 

Could anybory please help me to delete this file permanently?

5 Replies 5

Reza Sharifi
Hall of Fame
Hall of Fame

Hi,

What is the error you are getting? try:

delete bootflash:/<name of the file>

HTH

 

M02@rt37
VIP
VIP

Hello @Maria Moraes,

What is the error message please?

 

Best regards
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.

do 
show file system 

  • bootflash: Boot Flash memory. Bootflash is a generic term normally used for the flash of both route flash and switch flash.
  • disk0: Rotating media.
  • flash: Flash memory. This prefix is available on all platforms. For platforms that do not have a device named flash:, the prefix flash: is aliased to slot0:. Therefore, you can use the prefix flash: to refer to the main Flash memory storage area on all platforms.
  • flh: Flash load helper log files.
  • ftp: FTP network server.
  • null: Null destination for copies. You can copy a remote file to null to determine its size.
  • nvram: NVRAM. Also where the configuration is saved when you copy run start.
  • rcp: Remote copy protocol network server.
  • slavebootflash: Internal Flash memory on a slave RSP card of a router configured for high system availability (HSA).
  • slavenvram: NVRAM on a slave Route/Switch Processor (RSP) card of a router configured for HSA.
  • slaveslot0: First PCMCIA card on a slave RSP card of a router configured for HSA.
  • slaveslot1: Second PCMCIA card on a slave RSP card of a router configured for HSA.
  • slot0: First PCMCIA Flash memory card.
  • slot1: Second PCMCIA Flash memory card.
  • system: Contains the system memory, including the running configuration. tftp: TFTP network server.
  • xmodem: Obtain the file from a network machine using the Xmodem protocol.
  • ymodem: Obtain the file from a network machine using the Ymodem protocol.

it can that the .bin is not save in bootflash or file system is different and there is no bootflash

Leo Laohoo
Hall of Fame
Hall of Fame

Post the complete output to the command "sh version".  

The supervisor card is either old or running a fairly ancient IOS version and requires a two-step process.  After using the command "delete", the flash needs the additional command "squeeze".

Joseph W. Doherty
Hall of Fame
Hall of Fame

What was the error message, exactly?