cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Bookmark
|
Subscribe
|
408
Views
1
Helpful
3
Replies

Unable to upgrade Catalyst 9200

JAISONTHOMAS
Level 1
Level 1

Folks, I was trying to upgrade one of our catalyst 9200 switches to 17.09.06a through DNAC and it failed because of flash space. Error below,
Switch 1 FAILED: /flash requires 1077997 KB of free space, but only 777148 KB is available FAILED: install_add /mnt/sd3/user/cat9k_lite_iosxe_npe.17.09.06a.SPA.bin Thu Apr 03 23:38:44 BST 2025)

 

I tried install remove inactive and it didn't remove any files. And the command request platform software package clean isn't working on this switch,

 

xxxx#sh flash:
-#- --length-- ---------date/time--------- path
2 2350 Apr 02 2025 22:46:56.0000000000 +00:00 boothelper.log
3 4096 Feb 02 2024 10:26:53.0000000000 +00:00 .rommon_sync
4 871 Apr 02 2025 22:48:43.0000000000 +00:00 .rommon_sync/env_var
5 4096 Apr 03 2025 23:38:50.0000000000 +00:00 .installer
6 5 Jul 04 2024 22:33:13.0000000000 +00:00 .installer/install_global_trans_lock
7 14 Apr 02 2025 22:47:46.0000000000 +00:00 .installer/watchlist
8 4096 Jan 11 2024 11:57:34.0000000000 +00:00 .installer/rollback
9 112 Jul 04 2024 22:33:13.0000000000 +00:00 .installer/rollback/rollback_points.txt
10 4096 Jul 04 2024 22:33:13.0000000000 +00:00 .installer/rollback/rb_points
11 4096 Jan 11 2024 11:55:23.0000000000 +00:00 .installer/rollback/rb_points/2
12 10 Jan 11 2024 11:55:23.0000000000 +00:00 .installer/rollback/rb_points/2/patch.sta
13 4930 Jan 11 2024 11:55:23.0000000000 +00:00 .installer/rollback/rb_points/2/packages.conf
14 14 Jan 11 2024 11:55:23.0000000000 +00:00 .installer/rollback/rb_points/2/bootdir
15 0 Jan 11 2024 11:55:23.0000000000 +00:00 .installer/rollback/rb_points/2/patch0.sta
16 625 Jan 11 2024 11:55:23.0000000000 +00:00 .installer/rollback/rb_points/2/pkginfo
17 4096 Jul 04 2024 22:33:13.0000000000 +00:00 .installer/rollback/rb_points/3
18 4921 Jul 04 2024 22:33:13.0000000000 +00:00 .installer/rollback/rb_points/3/packages.conf
19 14 Jul 04 2024 22:33:13.0000000000 +00:00 .installer/rollback/rb_points/3/bootdir
20 645 Jul 04 2024 22:33:13.0000000000 +00:00 .installer/rollback/rb_points/3/pkginfo
21 0 Jul 04 2024 22:33:13.0000000000 +00:00 .installer/rollback/rb_points/3/patch0.sta
22 10 Jul 04 2024 22:33:13.0000000000 +00:00 .installer/rollback/rb_points/3/patch.sta
23 0 Jul 04 2024 22:08:30.0000000000 +00:00 .installer/.install_add_pkg_list.prev.txt
24 870 Jul 04 2024 22:12:26.0000000000 +00:00 .installer/install_add_oper.log
25 57 Jul 04 2024 22:33:13.0000000000 +00:00 .installer/install_mgr_state_file
26 4096 Jul 04 2024 22:33:12.0000000000 +00:00 .rollback_timer
27 592 Apr 02 2025 22:46:32.0000000000 +00:00 bootloader_evt_handle.log
28 4096 Jul 20 2021 15:40:04.0000000000 +00:00 core
29 4096 Jul 20 2021 15:38:05.0000000000 +00:00 core/modules
30 1 Apr 04 2025 10:48:42.0000000000 +00:00 core/.callhome
31 4096 Apr 02 2025 22:48:16.0000000000 +00:00 .prst_sync
32 233 Apr 02 2025 22:46:51.0000000000 +00:00 .prst_sync/log
33 27 Apr 02 2025 22:48:43.0000000000 +00:00 .prst_sync/reload_history
34 5242880 Jul 20 2021 15:38:08.0000000000 +00:00 ssd
35 4096 Jul 20 2021 15:38:08.0000000000 +00:00 ss_disc
36 4096 Jul 04 2024 22:23:56.0000000000 +00:00 tech_support
37 21698 Apr 02 2025 22:46:52.0000000000 +00:00 tech_support/igmp-snooping.tcl
38 19990 Apr 02 2025 22:46:52.0000000000 +00:00 tech_support/mld-snooping.tcl
39 15828 Apr 02 2025 22:46:52.0000000000 +00:00 tech_support/multicast.tcl
40 1330 Apr 02 2025 22:46:52.0000000000 +00:00 tech_support/pkt-drop-stats-dump.tcl
41 14047 Apr 02 2025 22:46:52.0000000000 +00:00 tech_support/pkt-drop-stats.tcl
42 1365 Apr 02 2025 22:46:52.0000000000 +00:00 tech_support/platform-fabric-iid-ethernet.tcl
43 2107 Apr 02 2025 22:46:52.0000000000 +00:00 tech_support/platform-fabric-iid-ipv4.tcl
44 2109 Apr 02 2025 22:46:52.0000000000 +00:00 tech_support/platform-fabric-iid-ipv6.tcl
45 2729 Apr 02 2025 22:46:52.0000000000 +00:00 tech_support/platform-fabric-vrf-ipv4.tcl
46 2757 Apr 02 2025 22:46:52.0000000000 +00:00 tech_support/platform-fabric-vrf-ipv6.tcl
47 53606 Apr 02 2025 22:46:52.0000000000 +00:00 tech_support/platform-fabric-vrf-source.tcl
48 21805 Apr 02 2025 22:46:52.0000000000 +00:00 tech_support/platform-fabric.tcl
49 1548 Apr 02 2025 22:46:52.0000000000 +00:00 tech_support/platform_evpn_vxlan.tcl
50 26175 Apr 02 2025 22:46:52.0000000000 +00:00 tech_support/port.tcl
51 3215 Apr 02 2025 22:46:52.0000000000 +00:00 tech_support/port_dump.tcl
52 9197 Apr 02 2025 22:46:52.0000000000 +00:00 tech_support/port_utils.tcl
53 16524 Apr 02 2025 22:46:52.0000000000 +00:00 tech_support/stack.tcl
54 7389 Apr 02 2025 22:46:52.0000000000 +00:00 tech_support/stackwise-virtual.tcl
55 1496 Apr 02 2025 22:46:52.0000000000 +00:00 tech_support/tech-support-confidential.tcl
56 685 Apr 02 2025 22:46:52.0000000000 +00:00 tech_support/tech-support-dump.tcl
57 38541 Apr 02 2025 22:46:52.0000000000 +00:00 tech_support/unicast.tcl
58 336 Apr 02 2025 22:46:52.0000000000 +00:00 tech_support/utils.tcl
59 11696 Apr 02 2025 22:46:52.0000000000 +00:00 tech_support/phy.tcl
60 4096 Apr 02 2025 22:46:52.0000000000 +00:00 dc_profile_dir
61 303808 Apr 02 2025 22:46:52.0000000000 +00:00 dc_profile_dir/dc_default_profiles.txt
62 303808 Feb 26 2025 20:05:04.0000000000 +00:00 dc_profile_dir/dc_default_profiles.txt.bkp
63 796 Apr 02 2025 22:48:31.0000000000 +00:00 vlan.dat
64 4096 Jul 20 2021 15:38:10.0000000000 +00:00 sys_report
65 4096 Jul 20 2021 15:38:25.0000000000 +00:00 .USWAP
66 4096 Apr 02 2025 22:53:08.0000000000 +00:00 .USWAP/rp
67 4096 Apr 02 2025 22:51:01.0000000000 +00:00 .USWAP/rp/sif_mgr
68 9736192 Apr 02 2025 22:51:01.0000000000 +00:00 .USWAP/rp/sif_mgr/4550.uswap
69 4096 Apr 02 2025 22:51:01.0000000000 +00:00 .USWAP/rp/stack_mgr
70 729088 Apr 03 2025 23:36:55.0000000000 +00:00 .USWAP/rp/stack_mgr/4890.uswap
71 4096 Apr 02 2025 22:51:06.0000000000 +00:00 .USWAP/rp/lman
72 335872 Apr 03 2025 23:36:55.0000000000 +00:00 .USWAP/rp/lman/7700.uswap
73 4096 Apr 02 2025 22:51:07.0000000000 +00:00 .USWAP/rp/keyman
74 270336 Apr 02 2025 22:51:07.0000000000 +00:00 .USWAP/rp/keyman/7457.uswap
75 4096 Apr 02 2025 22:51:11.0000000000 +00:00 .USWAP/rp/btman
76 270336 Apr 02 2025 22:51:11.0000000000 +00:00 .USWAP/rp/btman/7903.uswap
77 4096 Apr 02 2025 22:51:24.0000000000 +00:00 .USWAP/rp/cmand
78 10194944 Apr 04 2025 10:58:56.0000000000 +00:00 .USWAP/rp/cmand/5624.uswap
79 4096 Apr 02 2025 22:51:46.0000000000 +00:00 .USWAP/rp/install_mgr
80 290816 Apr 03 2025 23:47:36.0000000000 +00:00 .USWAP/rp/install_mgr/11191.uswap
81 4096 Apr 02 2025 22:51:47.0000000000 +00:00 .USWAP/rp/hman
82 450560 Apr 04 2025 10:58:55.0000000000 +00:00 .USWAP/rp/hman/8028.uswap
83 4096 Apr 02 2025 22:51:49.0000000000 +00:00 .USWAP/rp/psd
84 626688 Apr 02 2025 22:51:49.0000000000 +00:00 .USWAP/rp/psd/16855.uswap
85 4096 Apr 02 2025 22:51:53.0000000000 +00:00 .USWAP/rp/service_mgr
86 286720 Apr 02 2025 22:51:53.0000000000 +00:00 .USWAP/rp/service_mgr/18712.uswap
87 4096 Apr 02 2025 22:51:54.0000000000 +00:00 .USWAP/rp/repm
88 364544 Apr 04 2025 10:58:30.0000000000 +00:00 .USWAP/rp/repm/18898.uswap
89 4096 Apr 02 2025 22:51:55.0000000000 +00:00 .USWAP/rp/plogd
90 266240 Apr 02 2025 22:51:55.0000000000 +00:00 .USWAP/rp/plogd/19150.uswap
91 4096 Apr 02 2025 22:52:01.0000000000 +00:00 .USWAP/rp/sessmgrd
92 1564672 Apr 04 2025 10:58:30.0000000000 +00:00 .USWAP/rp/sessmgrd/18033.uswap
93 4096 Apr 02 2025 22:52:07.0000000000 +00:00 .USWAP/rp/tms
94 274432 Apr 02 2025 22:52:07.0000000000 +00:00 .USWAP/rp/tms/23100.uswap
95 4096 Apr 02 2025 22:52:09.0000000000 +00:00 .USWAP/rp/cmm
96 270336 Apr 02 2025 22:52:09.0000000000 +00:00 .USWAP/rp/cmm/23829.uswap
97 4096 Apr 02 2025 22:52:13.0000000000 +00:00 .USWAP/rp/cli_agent
98 729088 Apr 02 2025 22:52:13.0000000000 +00:00 .USWAP/rp/cli_agent/23955.uswap
99 4096 Apr 02 2025 22:52:14.0000000000 +00:00 .USWAP/rp/linux_iosd-image
100 28004352 Apr 04 2025 10:58:56.0000000000 +00:00 .USWAP/rp/linux_iosd-image/4235.uswap
101 4096 Apr 02 2025 22:52:14.0000000000 +00:00 .USWAP/rp/fman_rp
102 995328 Apr 04 2025 10:57:59.0000000000 +00:00 .USWAP/rp/fman_rp/23481.uswap
103 4096 Apr 02 2025 22:52:16.0000000000 +00:00 .USWAP/rp/dbm
104 1941504 Apr 04 2025 10:38:27.0000000000 +00:00 .USWAP/rp/dbm/23691.uswap
105 4096 Apr 02 2025 22:53:08.0000000000 +00:00 .USWAP/rp/smand
106 884736 Apr 04 2025 10:58:56.0000000000 +00:00 .USWAP/rp/smand/22883.uswap
107 4096 Apr 02 2025 22:51:53.0000000000 +00:00 .USWAP/fp
108 4096 Apr 02 2025 22:51:00.0000000000 +00:00 .USWAP/fp/btman
109 270336 Apr 02 2025 22:51:00.0000000000 +00:00 .USWAP/fp/btman/5972.uswap
110 4096 Apr 02 2025 22:51:06.0000000000 +00:00 .USWAP/fp/fed
111 12361728 Apr 04 2025 10:58:56.0000000000 +00:00 .USWAP/fp/fed/5504.uswap
112 4096 Apr 02 2025 22:51:47.0000000000 +00:00 .USWAP/fp/service_mgr
113 286720 Apr 02 2025 22:51:47.0000000000 +00:00 .USWAP/fp/service_mgr/15552.uswap
114 4096 Apr 02 2025 22:51:53.0000000000 +00:00 .USWAP/fp/fman_fp_image
115 888832 Apr 04 2025 10:57:59.0000000000 +00:00 .USWAP/fp/fman_fp_image/16488.uswap
116 4096 Apr 02 2025 22:51:48.0000000000 +00:00 .USWAP/cc
117 4096 Apr 02 2025 22:51:48.0000000000 +00:00 .USWAP/cc/iomd
118 1736704 Apr 02 2025 22:51:48.0000000000 +00:00 .USWAP/cc/iomd/15515.uswap
119 4096 Jul 20 2021 15:38:15.0000000000 +00:00 .CRFT
120 137995 Apr 02 2025 22:46:58.0000000000 +00:00 memleak.tcl
121 4096 Jul 20 2021 15:38:16.0000000000 +00:00 Tbot
122 117906 Apr 02 2025 22:46:58.0000000000 +00:00 Tbot/HealthCheckDebugInfra.py
123 265373 Apr 02 2025 22:46:58.0000000000 +00:00 Tbot/L3ParseOutputs.py
124 365279 Apr 02 2025 22:46:58.0000000000 +00:00 Tbot/L3DebugInfraAPIs.py
125 155706 Apr 02 2025 22:46:58.0000000000 +00:00 Tbot/L2DebugInfraAPIs.py
126 164575 Apr 02 2025 22:46:58.0000000000 +00:00 Tbot/L2ParseOutputs.py
127 155706 Apr 02 2025 22:46:58.0000000000 +00:00 Tbot/L2DebugInfraScript.py
128 13 Jul 20 2021 15:38:17.0000000000 +00:00 NVRAM
129 4096 Feb 17 2025 19:23:08.0000000000 +00:00 .dbpersist
130 4096 Jul 20 2021 15:39:12.0000000000 +00:00 .dbpersist/history
131 4096 Apr 03 2025 23:36:56.0000000000 +00:00 .dbpersist/DMI_STATE_DB
132 15861 Apr 03 2025 23:36:56.0000000000 +00:00 .dbpersist/DMI_STATE_DB/DMI_STATE_DB
133 172 Apr 03 2025 23:36:56.0000000000 +00:00 .dbpersist/DMI_STATE_DB/DMI_STATE_DB.meta
134 17884 Apr 03 2025 23:36:56.0000000000 +00:00 .dbpersist/stats
135 15528 Apr 02 2025 22:48:29.0000000000 +00:00 rdope_out.txt
136 89 Apr 02 2025 22:48:26.0000000000 +00:00 rdope.log
137 0 Apr 02 2025 22:48:29.0000000000 +00:00 dope_hist
138 4096 Jul 20 2021 15:39:42.0000000000 +00:00 onep
139 4096 Jul 20 2021 15:39:42.0000000000 +00:00 onep/apps-cli
140 4096 Jul 20 2021 15:39:43.0000000000 +00:00 pnp-info
141 4096 Apr 02 2025 22:48:34.0000000000 +00:00 license_evlog
142 2614 Jul 20 2021 15:43:02.0000000000 +00:00 license_evlog/SAEventRegular20210720_144004.log
143 2731 Jul 20 2021 15:58:29.0000000000 +00:00 license_evlog/SAEventRegular20210720_145747.log
144 3779 Jul 20 2021 16:02:53.0000000000 +00:00 license_evlog/SAEventRegular20210720_150122.log
145 13394 Feb 02 2024 12:16:58.0000000000 +00:00 license_evlog/SAEventRegular20240202_113453.log
146 6411 Feb 03 2024 12:06:20.0000000000 +00:00 license_evlog/SAEventRegular20240203_120336.log
147 8756 Jul 04 2024 22:13:54.0000000000 +00:00 license_evlog/SAEventRegular20240203_124840.log
148 6957 Aug 11 2024 05:34:47.0000000000 +00:00 license_evlog/SAEventRegular20240704_222817.log
149 8640 Oct 25 2024 15:26:01.0000000000 +00:00 license_evlog/SAEventRegular20240825_045134.log
150 6345 Apr 03 2025 23:36:55.0000000000 +00:00 license_evlog/SAEventRegular20250402_224834.log
151 6447 Feb 26 2025 09:47:53.0000000000 +00:00 license_evlog/SAEventRegular20250218_112150.log
152 6549 Apr 02 2025 10:44:39.0000000000 +00:00 license_evlog/SAEventRegular20250226_200643.log
153 2097152 Apr 03 2025 23:36:55.0000000000 +00:00 nvram_config
154 2097152 Apr 03 2025 23:36:55.0000000000 +00:00 nvram_config_bkup
155 4096 Jul 20 2021 15:40:26.0000000000 +00:00 pnp-tech
156 5579 Jul 20 2021 15:40:26.0000000000 +00:00 pnp-tech/pnp-tech-time
157 130808 Jul 20 2021 15:40:26.0000000000 +00:00 pnp-tech/pnp-tech-discovery-summary
158 4921 Jul 04 2024 22:20:31.0000000000 +00:00 packages.conf
159 796 Apr 02 2025 22:50:57.0000000000 +00:00 stby-vlan.dat
160 265 Apr 02 2025 22:45:05.0000000000 +00:00 lateshutdown.log
161 4096 Dec 16 2020 17:25:21.0000000000 +00:00 SHARED-IOX
162 4096 Jul 04 2024 22:23:56.0000000000 +00:00 gs_script
163 402411520 Jul 04 2024 22:10:34.0000000000 +00:00 cat9k_lite-rpbase.17.12.03.SPA.pkg
164 0 Dec 16 2020 17:25:21.0000000000 +00:00 mode_event_log
165 4096 Dec 16 2020 17:25:21.0000000000 +00:00 pcap
166 2351 Feb 26 2025 20:05:08.0000000000 +00:00 boothelper.log.old
167 4096 Feb 17 2025 19:40:46.0000000000 +00:00 .images
168 44395339 Jul 04 2024 22:12:22.0000000000 +00:00 cat9k_lite-rpboot.17.12.03.SPA.pkg
169 6316032 Jul 04 2024 22:10:46.0000000000 +00:00 cat9k_lite-srdriver.17.12.03.SPA.pkg
170 11763712 Jul 04 2024 22:10:46.0000000000 +00:00 cat9k_lite-webui.17.12.03.SPA.pkg
171 4921 Jul 04 2024 22:12:22.0000000000 +00:00 cat9k_lite_iosxe_npe.17.12.03.SPA.conf
172 4096 Jul 04 2024 22:23:56.0000000000 +00:00 EDScisco
173 4096 Jul 04 2024 22:24:00.0000000000 +00:00 fp_cc_crash
174 1338 Jul 04 2024 22:26:40.0000000000 +00:00 DigiCertGlobalRootCA.ca
175 1924 Jul 04 2024 22:26:40.0000000000 +00:00 ISRGRootX1CrossSignDST.ca
176 1261 Jul 04 2024 22:26:40.0000000000 +00:00 Baltimore.ca
177 1606 Jul 04 2024 22:26:40.0000000000 +00:00 StarfieldServicesRootCA.ca
178 17 Apr 02 2025 22:47:05.0000000000 +00:00 rmon_var_template
1302298624 bytes available (555139072 bytes used)

 

xxx#install remove inactive
install_remove: START Fri Apr 04 11:00:47 BST 2025
install_remove: Removing IMG
Cleaning 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 ...
[R0]: /flash/packages.conf File is in use, will not delete.
[R1]: /flash/packages.conf File is in use, will not delete.
[R0]: /flash/cat9k_lite-rpbase.17.12.03.SPA.pkg File is in use, will not delete.
[R1]: /flash/cat9k_lite-rpbase.17.12.03.SPA.pkg File is in use, will not delete.
[R0]: /flash/cat9k_lite-rpboot.17.12.03.SPA.pkg File is in use, will not delete.
[R1]: /flash/cat9k_lite-rpboot.17.12.03.SPA.pkg File is in use, will not delete.
[R0]: /flash/cat9k_lite-srdriver.17.12.03.SPA.pkg File is in use, will not delete.
[R1]: /flash/cat9k_lite-srdriver.17.12.03.SPA.pkg File is in use, will not delete.
[R0]: /flash/cat9k_lite-webui.17.12.03.SPA.pkg File is in use, will not delete.
[R1]: /flash/cat9k_lite-webui.17.12.03.SPA.pkg File is in use, will not delete.
[R0]: /flash/cat9k_lite_iosxe_npe.17.12.03.SPA.conf File is in use, will not delete.
[R1]: /flash/cat9k_lite_iosxe_npe.17.12.03.SPA.conf File is in use, will not delete.

SUCCESS: No extra package or provisioning files found on media. Nothing to clean.
SUCCESS: Files deleted.

--- Starting Post_Remove_Cleanup ---
Performing REMOVE_POSTCHECK on all members
Finished Post_Remove_Cleanup
SUCCESS: install_remove Fri Apr 04 11:00:47 BST 2025

anything else I can try to free up some space to complete the upgrade? Thank you

 

 

3 Replies 3

balaji.bandi
Hall of Fame
Hall of Fame

Looks like you already have latest code 17.12, how come you looking to downgrade(upgrade ) to  17.9.6a ?

check on switch, show version (see what version of code running)

some new device shipped with Latest code you can not downgrade to lower version.

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

JAISONTHOMAS
Level 1
Level 1

Sorry I used the wrong word. was trying to downgrade. There was a request to downgrade it to a lower version, and completed the same on a few other switches successfully. But failing on this switch because of space issues

 

Leo Laohoo
Hall of Fame
Hall of Fame

Do this: 

conf t
 iox
exit
guestshell enable 
guestshell destroy 
conf t
 no iox
end

If this works, then it is CSCwa71156.