cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

137
Views
20
Helpful
5
Replies
Highlighted
Beginner

C9200 install remove inactive

Hi all

I'm upgrading a switch Cisco9200-48p from IOS 16.12.02 to 16.12.03a in install mode.

I've seen that after upgrade, the flash disk space is under 1 GB.

 

97194 -rw- 390173716 May 8 2020 22:37:44 +00:00 cat9k_lite-rpbase.16.12.02.SPA.pkg
97197 -rw- 40638945 May 8 2020 22:38:39 +00:00 cat9k_lite-rpboot.16.12.02.SPA.pkg
97195 -rw- 4420628 May 8 2020 22:37:44 +00:00 cat9k_lite-srdriver.16.12.02.SPA.pkg
97196 -rw- 10146832 May 8 2020 22:37:45 +00:00 cat9k_lite-webui.16.12.02.SPA.pkg
32395 -rw- 391107604 Jul 30 2020 05:56:29 +00:00 cat9k_lite-rpbase.16.12.03a.SPA.pkg
32398 -rw- 40627985 Jul 30 2020 05:57:23 +00:00 cat9k_lite-rpboot.16.12.03a.SPA.pkg
32396 -rw- 4432916 Jul 30 2020 05:56:29 +00:00 cat9k_lite-srdriver.16.12.03a.SPA.pkg
32397 -rw- 10163220 Jul 30 2020 05:56:29 +00:00 cat9k_lite-webui.16.12.03a.SPA.pkg

1956839424 bytes total (509927424 bytes free)

 

I'd like remove the old IOS but the switch ask me to delete also these files : cat9k_lite_iosxe.16.12.03a.SPA.bin and cat9k_lite_iosxe.16.12.03a.SPA.conf.
that are files of the new IOS.
So my answer was no.
I guess if i had deleted the files of the 16.12.03 the switch would'nt reboot again.

Is this right or could I answer yes without care ?

 

follwing an extract of the command :

 

Switch#install remove inactive
install_remove: START Thu Jul 30 06:13:31 UTC 2020
Jul 30 06:13:33.381: %INSTALL-5-INSTALL_START_INFO: R0/0: install_engine: Started install remove
Jul 30 06:13:33.381 %INSTALL-5-INSTALL_START_INFO: R0/0: install_engine: Started install remove

*Jul 30 06:13:33.344: %INSTALL-5-INSTALL_START_INFO: Switch 1 R0/0: install_engine: Started install removeCleaning up unnecessary package files
No path specified, will use booted path flash:packages.conf
Cleaning flash:
Scanning boot directory for packages ... done.
Preparing packages list to delete ...
cat9k_lite-rpbase.16.12.03a.SPA.pkg
File is in use, will not delete.
cat9k_lite-rpboot.16.12.03a.SPA.pkg
File is in use, will not delete.
cat9k_lite-srdriver.16.12.03a.SPA.pkg
File is in use, will not delete.
cat9k_lite-webui.16.12.03a.SPA.pkg
File is in use, will not delete.
packages.conf
File is in use, will not delete.
done.

The following files will be deleted:
[switch 1]:
/flash/cat9k_lite-rpbase.16.12.02.SPA.pkg
/flash/cat9k_lite-rpboot.16.12.02.SPA.pkg
/flash/cat9k_lite-srdriver.16.12.02.SPA.pkg
/flash/cat9k_lite-webui.16.12.02.SPA.pkg
/flash/cat9k_lite_iosxe.16.12.03a.SPA.bin
/flash/cat9k_lite_iosxe.16.12.03a.SPA.conf

Do you want to remove the above files? [y/n]n
SUCCESS: install_remove Thu Jul 30 06:15:50 UTC 2020
Jul 30 06:15:51.965: %INSTALL-5-INSTALL_COMPLETED_INFO: R0/0: install_engine: Completed install remove
Jul 30 06:15:51.965 %INSTALL-5-INSTALL_COMPLETED_INFO: R0/0: install_engine: Completed install remove

Switch#

 

Thank's in advance

Fabrizio

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
VIP Advocate

Re: C9200 install remove inactive

Hi,

It is safe to press "Y". It is not required. The switch will not touch any new ios file (.bin is not counted as used file), and any other file transferred by the admin. 

 

Not required but better to run Wr Me command after deleting old files.

 

Regards,
Deepak Kumar,
Don't forget to vote and accept the solution If this comment will make help you!

View solution in original post

5 REPLIES 5
Highlighted
Hall of Fame Expert

Re: C9200 install remove inactive

Highlighted
VIP Advocate

Re: C9200 install remove inactive

Hi,

I'd like remove the old IOS but the switch ask me to delete also these files : cat9k_lite_iosxe.16.12.03a.SPA.bin and cat9k_lite_iosxe.16.12.03a.SPA.conf.
that are files of the new IOS.
So my answer was no.
I guess if i had deleted the files of the 16.12.03 the switch would'nt reboot again.

Could you share the "Show boot" command output? If you used the "Install" command for upgradation than it is safe to delete to .bin file. 

Regards,
Deepak Kumar,
Don't forget to vote and accept the solution If this comment will make help you!
Highlighted
Beginner

Re: C9200 install remove inactive

Hi Deepak

Yes, I used the "Install" command for upgradation to IOS 16.12.03a.

So I can feel myself safe for deletation the cat9k_lite_iosxe.16.12.03a.SPA.bin from flash disk

following the command output

Switch#show boot system
---------------------------
Switch 1
---------------------------
Current Boot Variables:
BOOT variable = flash:packages.conf;

Boot Variables on next reload:
BOOT variable = flash:packages.conf;
Manual Boot = no
Enable Break = no
Boot Mode = DEVICE
iPXE Timeout = 0
--------------------------------------------------------------------------------------------
show version (extract)

Switch Ports Model SW Version SW Image Mode
------ ----- ----- ---------- ---------- ----
* 1 56 C9200-48P 16.12.3a CAT9K_LITE_IOSXE INSTALL

 

Thank's

Highlighted
VIP Advocate

Re: C9200 install remove inactive

Hi,

It is safe to press "Y". It is not required. The switch will not touch any new ios file (.bin is not counted as used file), and any other file transferred by the admin. 

 

Not required but better to run Wr Me command after deleting old files.

 

Regards,
Deepak Kumar,
Don't forget to vote and accept the solution If this comment will make help you!

View solution in original post

Highlighted
Hall of Fame Community Legend

Re: C9200 install remove inactive

If you answered "y", then the old files will be deleted.
The new files, which are in use, will be un-touched.
Content for Community-Ad