Cat3750 - Delete Flash Directory

Unanswered Question
Jan 22nd, 2009

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#

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.

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.
rajesh.mk Mon, 04/07/2014 - 10:33

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

delete /recursive /force flash:/foldername

 

 

 

 

Actions

This Discussion