cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1715
Views
2
Helpful
6
Replies

Flash clean up unused files in WS-C3850-12S

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

6 Replies 6

del flash:/file name 

The flash: is usually read only. Cant just delete it. 

OK Any other cleanup command to do all unused file with single command ?

there is one but I think it risky it can delete all file, used and unused, 
so I prefer your del flash:

In IOS-XE version 3.X.X, the command is: 

software clean force

Richard Pidcock
Level 1
Level 1

Depends on what version of code you are running.  You might also try "install remove inactive"

What version of code are you running?

 

Richard W. Pidcock
Review Cisco Networking for a $25 gift card