06-07-2023 03:30 AM
Hello
What is the command to do the cleanup in flash . Below are the flasj files,i need to remove files which are unused. switch model is WS-C3850-12S
2 2097152 Dec 28 2022 11:54:11.0000000000 +00:00 nvram_config
3 79110340 Apr 25 2015 12:31:27.0000000000 +00:00 cat3k_caa-base.SPA.03.03.04SE.pkg
4 6521532 Apr 25 2015 12:31:28.0000000000 +00:00 cat3k_caa-drivers.SPA.03.03.04SE.pkg
5 34530288 Apr 25 2015 12:31:28.0000000000 +00:00 cat3k_caa-infra.SPA.03.03.04SE.pkg
6 34856268 Apr 25 2015 12:31:28.0000000000 +00:00 cat3k_caa-iosd-universalk9.SPA.150-1.EZ4.pkg
7 25172880 Apr 25 2015 12:31:28.0000000000 +00:00 cat3k_caa-platform.SPA.03.03.04SE.pkg
8 77445952 Apr 25 2015 12:31:28.0000000000 +00:00 cat3k_caa-wcm.SPA.10.1.140.0.pkg
9 1247 Apr 25 2015 12:31:35.0000000000 +00:00 packages.conf
10 1104 May 19 2021 14:42:15.0000000000 +00:00 vlan.dat
11 407449018 Feb 25 2020 14:34:40.0000000000 +00:00 cat3k_caa-universalk9.16.06.07.SPA.bin
12 4096 Dec 28 2022 11:49:38.0000000000 +00:00 .installer
06-07-2023 03:36 AM
del flash:/file name
03-27-2024 08:09 AM
The flash: is usually read only. Cant just delete it.
06-07-2023 03:45 AM
OK Any other cleanup command to do all unused file with single command ?
06-07-2023 03:50 AM
there is one but I think it risky it can delete all file, used and unused,
so I prefer your del flash:
06-07-2023 03:50 AM
In IOS-XE version 3.X.X, the command is:
software clean force
03-27-2024 08:29 AM - edited 03-27-2024 08:30 AM
Depends on what version of code you are running. You might also try "install remove inactive"
What version of code are you running?
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