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

Cat3750 - Delete Flash Directory

Robert Ho
Level 1
Level 1

hey all, any secret on how to delete the entire directory in flash? it is empty as we have upgraded to a new version.

Switch#dir

Directory of flash:/

3 -rwx 616 Feb 28 1993 14:00:52 -10:00 vlan.dat

4 drwx 64 Feb 28 1993 14:02:35 -10:00 crashinfo_ext

458 drwx 128 Feb 28 1993 14:03:34 -10:00 c3750-advipservicesk9-mz.122-25.SEE4

459 drwx 128 Feb 28 1993 14:00:49 -10:00 crashinfo

462 -rwx 7106 Feb 28 1993 14:17:15 -10:00 config.text

463 -rwx 46 Feb 28 1993 14:17:15 -10:00 private-config.text

464 drwx 192 Feb 28 1993 14:10:59 -10:00 c3750-advipservicesk9-mz.122-44.SE2

790 -rwx 113 Feb 28 1993 14:10:59 -10:00 info

791 -rwx 1048 Feb 28 1993 14:17:17 -10:00 multiple-fs

15998976 bytes total (1657856 bytes free)

Switch#delete ?

/force Force delete

/recursive Recursive delete

flash1: File to be deleted

flash: File to be deleted

nvram: File to be deleted

Switch#delete /force flash:/c3750-advipservicesk9-mz.122-25.SEE4

Delete filename [c3750-advipservicesk9-mz.122-25.SEE4]?

%Error deleting flash:/c3750-advipservicesk9-mz.122-25.SEE4 (Is a directory)

Switch#

Switch#delete flash:/c3750-advipservicesk9-mz.122-25.SEE4

Delete filename [c3750-advipservicesk9-mz.122-25.SEE4]?

Delete flash:/c3750-advipservicesk9-mz.122-25.SEE4? [confirm]

%Error deleting flash:/c3750-advipservicesk9-mz.122-25.SEE4 (Is a directory)

Switch#

5 Replies 5

Elly Bornstein
Cisco Employee
Cisco Employee

delete /recursive flash:/....

HI Elly,

i have a cisco switch of model c3750G -24TS -S.

My switch is not able to boot by itself.

i am in switch : mode.

when i fire dir flash: command then it shows

switch : dir flash:

           

 Unable to boot
                                                       Crashinfo files have been created.
                                                        
                                                        Switch : dir flash:
                                                        Directory of flash:/
                                 
                                                        2 -rwx 11494274  <date>   c3750-ipbase9-mz.122-53.SE2.bin
                                                        3 dwrx 896          <date>   crashinfo_ext
                                                        4 -rwx 1048         <date>   multiple-fs
                                                        6 dwrx 6464        <date>   crashinfo
Tell me how to delete the complete flash.
Also i tried delete /force /recursive
                                              
                   delete /recursive /force.
but no luck.
Kindly advice me.

Duplicate thread. 

Kindly post all response(s) into the main thread (HERE).

rajesh.mk
Level 1
Level 1

Recursive and Force delete ( does not ask for confirmation to delete )

delete /recursive /force flash:/foldername

 

 

 

 

biju.digiana
Level 1
Level 1

Hello Guys,

I am facing the same problem .

i am not able to delete the crashinfo folder.

I am getting the same error.

Though i tried

switch ; delete /force /recursive flash:/foldername

           : delete /recursive /force flash :/folderneme

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card