cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
910
Views
5
Helpful
3
Replies

Upgrading Cisco c3650 Switch

motiar
Level 1
Level 1

I want to upgrade 2 Cisco c3650 Switchs with the current releases either cat3k_caa-universalk9ldpe.SPA.03.06.06.E.152-2.E6.bin or cat3k_caa-universalk9.16.03.05b.SPA.bin, I see some IOS-related files already active in Flash and they are:

"cat3k_caa-base.SPA.03.06.00E.pkg
cat3k_caa-drivers.SPA.03.06.00E.pkg
cat3k_caa-infra.SPA.03.06.00E.pkg
cat3k_caa-platform.SPA.03.06.00E.pkg
cat3k_caa-iosd-universalk9.SPA.152-2.E.pkg
cat3k_caa-wcm.SPA.10.2.102.0.pkg"

 

My question is whether I can delete these .pkg files before or after upgrdading with the new release.

Best regards

Motiar

3 Replies 3

Mark Malone
VIP Alumni
VIP Alumni
For cleaning files in flash on ios-xe its best to use the software clean command after you have done the upgrade it will find anything not in use

software clean
To remove any and all packages and provisioning files that are no longer in use, use the software clean command in Privileged EXEC mode.

software clean [ filefile url ] [ switchnodes ] [ verbose ]

Syntax Description

filefile url


Full path to wildcarded filename(s). Optional when running in installed mode. When no command options are specified, all unused package, bundle and provisioning files in the current boot directory will be cleaned.

switchnodes


(optional) Specifies which switch(es) should perform the clean operation using '1,2,4' and/or '2-4' notation. Default is all switches in the stack.

verbose


(optional) provides some additional info in the log files .
Command Default

No software package(s) will be cleaned by default.


Usage Guidelines

If no specific file to be deleted is indicated, the installer will search for unused packages and provisioning files on a given media device (eg., bootflash:, usb0: etc) to delete. One or more nodes may be given.

With no options specified for software clean, all unused packages and provisioning files on the currently booted device will be cleaned. The currently booted device is where the committed packages.conf file resides.

Thank you mark for your reply and detailed infrmation.

Leo Laohoo
Hall of Fame
Hall of Fame
Read the Release Notes. There are commands to delete files which are not in use by the OS.