To delete a file in flash , you have to use the below command .
Switch#show flash
Directory of flash:/
2 -rwx 3096 Mar 1 1993 00:02:54 +00:00 multiple-fs
3 -rwx 3016 Jul 27 2023 12:29:32 +00:00 vlan.dat.renamed
4 -rwx 1591 Mar 1 1993 00:17:21 +00:00 config.text.renamed
5 -rwx 1915 Mar 1 1993 02:55:06 +00:00 private-config.text
6 -rwx 5 Mar 1 1993 00:17:21 +00:00 private-config.text.renamed
7 -rwx 16312320 Mar 1 1993 04:18:43 +00:00 c2960-lanbasek9-tar.150-2.SE11-1.tar
8 drwx 512 Mar 1 1993 00:24:11 +00:00 c2960s-universalk9-mz.122-55.SE7
588 -rwx 12556 Mar 1 1993 00:02:22 +00:00 vlan.dat
589 -rwx 3547 Mar 1 1993 02:55:06 +00:00 config.text
590 drwx 512 Jan 1 1970 00:05:00 +00:00 c2960-lanbasek9-mz.150-2.SE11
1175 -rwx 107 Mar 1 1993 04:30:48 +00:00 info
57931776 bytes total (21661696 bytes free)
Directory of flash:/
2 -rwx 3096 Mar 1 1993 00:02:54 +00:00 multiple-fs
3 -rwx 3016 Jul 27 2023 12:29:32 +00:00 vlan.dat.renamed
4 -rwx 1591 Mar 1 1993 00:17:21 +00:00 config.text.renamed
5 -rwx 1915 Mar 1 1993 02:55:06 +00:00 private-config.text
6 -rwx 5 Mar 1 1993 00:17:21 +00:00 private-config.text.renamed
7 -rwx 16312320 Mar 1 1993 04:18:43 +00:00 c2960-lanbasek9-tar.150-2.SE11-1.tar
8 drwx 512 Mar 1 1993 00:24:11 +00:00 c2960s-universalk9-mz.122-55.SE7
588 -rwx 12556 Mar 1 1993 00:02:22 +00:00 vlan.dat
589 -rwx 3547 Mar 1 1993 02:55:06 +00:00 config.text
590 drwx 512 Jan 1 1970 00:05:00 +00:00 c2960-lanbasek9-mz.150-2.SE11
1175 -rwx 107 Mar 1 1993 04:30:48 +00:00 info
57931776 bytes total (21661696 bytes free)
Switch#delete flash:c2960-lanbasek9-tar.150-2.SE11-1.tar
Delete filename [c2960-lanbasek9-tar.150-2.SE11-1.tar]?
Delete flash:c2960-lanbasek9-tar.150-2.SE11-1.tar? [confirm]
Switch#show flash
Directory of flash:/
2 -rwx 3096 Mar 1 1993 00:02:54 +00:00 multiple-fs
3 -rwx 3016 Jul 27 2023 12:29:32 +00:00 vlan.dat.renamed
4 -rwx 1591 Mar 1 1993 00:17:21 +00:00 config.text.renamed
5 -rwx 1915 Mar 1 1993 02:55:06 +00:00 private-config.text
6 -rwx 5 Mar 1 1993 00:17:21 +00:00 private-config.text.renamed
8 drwx 512 Mar 1 1993 00:24:11 +00:00 c2960s-universalk9-mz.122-55.SE7
588 -rwx 12556 Mar 1 1993 00:02:22 +00:00 vlan.dat
589 -rwx 3547 Mar 1 1993 02:55:06 +00:00 config.text
590 drwx 512 Jan 1 1970 00:05:00 +00:00 c2960-lanbasek9-mz.150-2.SE11
1175 -rwx 107 Mar 1 1993 04:30:48 +00:00 info
57931776 bytes total (38105600 bytes free)
Switch#
No comments:
Post a Comment