06-25-2024 09:09 AM
I'd like to clean up Flash:
I don't want to delete the BIN files
Can I delete just the crashinfo files?
The crashinfo seems really old. I can't think that I need them...
Can I delete using wild cards?
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 66472396 May 3 2022 08:46:42 -07:00 vg3x0-universalk9-mz.SPA.156-3.M5.bin
2 34 May 3 2022 08:47:22 -07:00 pnp-tech-time
3 40092 May 3 2022 08:47:24 -07:00 pnp-tech-discovery-summary
4 210114 Dec 28 2022 08:23:42 -08:00 crashinfo_20221228-082343-PST
5 198275 Dec 28 2022 08:29:28 -08:00 crashinfo_20221228-082928-PST
6 5333 Jan 4 2023 08:27:04 -08:00 starrt
7 205795 Jan 18 2023 15:15:10 -08:00 crashinfo_20230118-151509-PST
8 210003 Feb 28 2023 10:51:22 -08:00 crashinfo_20230228-105121-PST
9 192996 Mar 28 2023 09:20:32 -07:00 crashinfo_20230328-092032-PDT
10 201235 Jun 2 2023 10:57:40 -07:00 crashinfo_20230602-105740-PDT
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Looking to learn how to better manage our voice gateways and keep them clean and lean.
Looking to learn!!!
Solved! Go to Solution.
06-25-2024 09:31 AM
Yes you can delete just the crash files. If you do delete /f flash:crashinfo* it will delete all crash files and not ask for confirmation per file.
06-25-2024 03:18 PM
delete /f /r flash:crashinfo_202*
08-29-2024 03:27 PM
@kbeaton wrote:
My co-worker says for his network switches there is a clean command that will find all the unused files and delete them.
Because routers and switches are running IOS-XE and this OS have built-in scripts to remove unused package files when invoked.
VG3x0s and VG450s are classic IOS and they do not have this script. It is a manual process to clean up classic IOS for unwanted file(s).
06-25-2024 09:31 AM
Yes you can delete just the crash files. If you do delete /f flash:crashinfo* it will delete all crash files and not ask for confirmation per file.
06-25-2024 10:07 AM
And "delete flash:<filename>" allows you to delete any file you would like.
Maren
08-29-2024 09:02 AM
Hi Maren, is there a command that will clean all the unused files?
My co-worker says for his network switches there is a clean command that will find all the unused files and delete them.
Is there such a command for voice gateways? I have VG3x0s and VG450s at this time.
08-29-2024 11:22 AM
On switches and some newer routers there are two different modes of how IOS can be installed/updated, bundle and install mode. In install mode you can use a command to remove unused files. AFAIK this doesn’t exist on VGs.
08-29-2024 03:27 PM
@kbeaton wrote:
My co-worker says for his network switches there is a clean command that will find all the unused files and delete them.
Because routers and switches are running IOS-XE and this OS have built-in scripts to remove unused package files when invoked.
VG3x0s and VG450s are classic IOS and they do not have this script. It is a manual process to clean up classic IOS for unwanted file(s).
06-25-2024 12:36 PM
you could format flash if u feel lucky; meaning formatting might be a it risky process;
Regards, ML
**Please Rate All Helpful Responses **
06-25-2024 03:18 PM
delete /f /r flash:crashinfo_202*
07-22-2024 12:10 PM
The syntax with the other commands was not quite correct to clean out all the files from just the crashinfo folder.
Use: delete /f flash:/crashinfo/*
This command cleared out all the old crashinfo log files out of the crashinfo directory for me.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide