Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Community Member

Deleting files on Cat 4006 flash

Hi,

Config files have been saved to flash on a 4006 running CatOS 6.3(3).

Having tried:

delete flash:xxxxx.cfg

the switch response was " cannot delete files on device.

The output from "sh deleted" actually shows the file however the "squeeze" command has no effect by not removing the files permanently.

Any ideas please?

Cheers

Ali

9 REPLIES
Community Member

Re: Deleting files on Cat 4006 flash

Sorry if this sounds obvious but where abouts are the files located?

The reason I ask is that they may be on a Flash card, bootflash etc which will be addressed differently.

Regards

John

Community Member

Re: Deleting files on Cat 4006 flash

Sorry, forgot to specify.

The flash is on a Sup II (WS-X4013?). No Flash cards.

Ali

Cisco Employee

Re: Deleting files on Cat 4006 flash

Can you try "delete bootflash:"

Community Member

Re: Deleting files on Cat 4006 flash

I'll give it a go tomorrow.

Cheers

Ali

Community Member

Re: Deleting files on Cat 4006 flash

Tried that but no joy.

Switch returns:

error= -9

file not found

Any other suggestions please?

Ali

Silver

Re: Deleting files on Cat 4006 flash

Is this on board flash or a PCMCIA card ?

Community Member

Re: Deleting files on Cat 4006 flash

On board

Cisco Employee

Re: Deleting files on Cat 4006 flash

can you paste the output of "dir bootflash:". Also do a "squeeze bootflash:"

If nothing works, reformat the bootflash with "format bootflash:" but make sure you TFTP back a valid CAT OS file

Community Member

Re: Deleting files on Cat 4006 flash

Resolved:

FYI

From command prompt :

cd slot0:

your now on the flash disk so able to delete files as required.

Easy eh! Wish I knew that at the time!!

Ali

284
Views
0
Helpful
9
Replies
CreatePlease to create content