cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
482
Views
1
Helpful
10
Replies

Unable to upgrade 9200

JAISONTHOMAS
Level 1
Level 1

Hi,

I am trying to upgrade a catalyst 9200 to 17.9.7. But stuck with flash space issues. Flash is telling me only 650MB is free. Tried install remove inactive, but no luck.

SW01#install remove inactive
install_remove: START Fri May 23 10:23:37 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.
[R0]: /flash/cat9k_lite_iosxe_npe.17.09.06a.SPA.conf File is in use, will not delete.
[R0]: /flash/cat9k_lite-rpbase.17.09.06a.SPA.pkg File is in use, will not delete.
[R0]: /flash/cat9k_lite-rpboot.17.09.06a.SPA.pkg File is in use, will not delete.
[R0]: /flash/cat9k_lite-srdriver.17.09.06a.SPA.pkg File is in use, will not delete.
[R0]: /flash/cat9k_lite-webui.17.09.06a.SPA.pkg 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 May 23 10:23:37 BST 2025

 

Any idea folks how to fix this? Thank you

 

10 Replies 10

Tshepo
Level 1
Level 1

Try issue a reboot after "install remove inactive"

Rebooted it, still the same amount of free space

Royalty
Level 1
Level 1

Hi @JAISONTHOMAS,

Have you reviewed the contents of flash: to delete any other unnecessary files that are taking up space? Judging by the output you have posted of 'install remove inactive' it looks like this is not a switch stack. Can you confirm?

How are you trying to upgrade the switch? Are you trying to upgrade through DNAC or an NMS, or are you upgrading via the CLI? If upgrading via the CLI, are you trying to upgrade the switch in Bundle Mode or Install Mode? I am assuming you are trying to upgrade with Install Mode from what I can gather by your post.

Check dir flash: from privileged-exec mode for any large files that need removing. At the bottom of the output will also show you the amount of space in bytes that are free. If you are looking at a switch stack, make sure you check each individual stack member's flash with dir flash-1: and dir flash-2: etc. Delete any unused files and try again.

If you are still having problems, upgrade the switch by using Bundle Mode first and then switch to Install Mode. Bundle Mode uses less system flash space due to its monolothic nature, rather than using individual packages which are pre-extracted for booting.

For example:
conf t
 no boot system
 boot system flash:<IOS_file_name.bin>
 end

(or use boot system switch all flash:<IOS_file_name.bin>) if upgrading a switch stack.

When the switch is reloaded, you can issue the 'install remove inactive' command again which should delete the old IOS files. Then you can go through the steps to put this switch in Install Mode, which will require another reboot. Again, this should work as Bundle Mode consumes less resources than Install Mode.

If you are still having problems with free space, there is one thing we can do to get you upgraded. You can boot the existing IOS in bundle mode and then when it is reloaded, delete all packages of Install Mode using 'install remove inactive'. I can help with this method if you are still having issues.

Alternatively, contact TAC who will be able to help free up space. This can sometimes happen and requires shell access to remove large files.

Hi,

 

Its not a stack switch. Its a single switch and I am trying to upgrade this through catalyst centre (DNAC)

Below are the files in flash and dir

SW01#sh flash:
-#- --length-- ---------date/time--------- path
2 2138 May 21 2025 19:46:57.0000000000 +00:00 boothelper.log
3 796 May 21 2025 19:48:01.0000000000 +00:00 vlan.dat
4 4096 May 21 2025 21:38:59.0000000000 +00:00 .installer
5 14 May 21 2025 19:47:34.0000000000 +00:00 .installer/watchlist
6 5 Jan 03 2025 06:23:06.0000000000 +00:00 .installer/install_global_trans_lock
7 4096 Jul 31 2024 21:02:19.0000000000 +00:00 .installer/rollback
8 168 Jan 03 2025 06:23:06.0000000000 +00:00 .installer/rollback/rollback_points.txt
9 4096 Jan 03 2025 06:23:06.0000000000 +00:00 .installer/rollback/rb_points
10 4096 Jul 31 2024 21:29:59.0000000000 +00:00 .installer/rollback/rb_points/3
11 4921 Jul 31 2024 21:29:59.0000000000 +00:00 .installer/rollback/rb_points/3/packages.conf
12 14 Jul 31 2024 21:29:59.0000000000 +00:00 .installer/rollback/rb_points/3/bootdir
13 645 Jul 31 2024 21:29:59.0000000000 +00:00 .installer/rollback/rb_points/3/pkginfo
14 0 Jul 31 2024 21:29:59.0000000000 +00:00 .installer/rollback/rb_points/3/patch0.sta
15 10 Jul 31 2024 21:29:59.0000000000 +00:00 .installer/rollback/rb_points/3/patch.sta
16 4096 Jan 03 2025 06:23:06.0000000000 +00:00 .installer/rollback/rb_points/4
17 4934 Jan 03 2025 06:23:06.0000000000 +00:00 .installer/rollback/rb_points/4/packages.conf
18 14 Jan 03 2025 06:23:06.0000000000 +00:00 .installer/rollback/rb_points/4/bootdir
19 648 Jan 03 2025 06:23:06.0000000000 +00:00 .installer/rollback/rb_points/4/pkginfo
20 0 Jan 03 2025 06:23:06.0000000000 +00:00 .installer/rollback/rb_points/4/patch0.sta
21 10 Jan 03 2025 06:23:06.0000000000 +00:00 .installer/rollback/rb_points/4/patch.sta
22 4096 Jan 18 2023 10:55:39.0000000000 +00:00 .installer/rollback/rb_points/2
23 4920 Jan 18 2023 10:55:17.0000000000 +00:00 .installer/rollback/rb_points/2/packages.conf
24 6 Jan 18 2023 10:55:17.0000000000 +00:00 .installer/rollback/rb_points/2/bootdir
25 625 Jan 18 2023 10:55:39.0000000000 +00:00 .installer/rollback/rb_points/2/pkginfo
26 10 Jan 18 2023 10:55:39.0000000000 +00:00 .installer/rollback/rb_points/2/patch.sta
27 0 Jul 31 2024 21:08:36.0000000000 +00:00 .installer/.install_add_pkg_list.prev.txt
28 869 Jul 31 2024 21:12:31.0000000000 +00:00 .installer/install_add_oper.log
29 10 Jan 03 2025 06:23:05.0000000000 +00:00 .installer/install_state
30 56 Jan 03 2025 06:23:06.0000000000 +00:00 .installer/install_mgr_state_file
31 481 May 21 2025 19:46:32.0000000000 +00:00 bootloader_evt_handle.log
32 4096 Feb 08 2025 06:49:25.0000000000 +00:00 core
33 1 May 23 2025 11:03:09.0000000000 +00:00 core/.callhome
34 4096 May 21 2025 19:47:47.0000000000 +00:00 .prst_sync
35 233 May 21 2025 19:46:52.0000000000 +00:00 .prst_sync/log
36 27 May 21 2025 19:48:07.0000000000 +00:00 .prst_sync/reload_history
37 4096 Jan 03 2025 06:23:05.0000000000 +00:00 .rollback_timer
38 4096 Jul 31 2024 21:22:47.0000000000 +00:00 tech_support
39 21698 May 21 2025 19:46:52.0000000000 +00:00 tech_support/igmp-snooping.tcl
40 19990 May 21 2025 19:46:52.0000000000 +00:00 tech_support/mld-snooping.tcl
41 15828 May 21 2025 19:46:52.0000000000 +00:00 tech_support/multicast.tcl
42 1365 May 21 2025 19:46:52.0000000000 +00:00 tech_support/platform-fabric-iid-ethernet.tcl
43 2107 May 21 2025 19:46:52.0000000000 +00:00 tech_support/platform-fabric-iid-ipv4.tcl
44 2109 May 21 2025 19:46:52.0000000000 +00:00 tech_support/platform-fabric-iid-ipv6.tcl
45 2729 May 21 2025 19:46:52.0000000000 +00:00 tech_support/platform-fabric-vrf-ipv4.tcl
46 2757 May 21 2025 19:46:52.0000000000 +00:00 tech_support/platform-fabric-vrf-ipv6.tcl
47 53606 May 21 2025 19:46:52.0000000000 +00:00 tech_support/platform-fabric-vrf-source.tcl
48 21805 May 21 2025 19:46:52.0000000000 +00:00 tech_support/platform-fabric.tcl
49 1548 May 21 2025 19:46:52.0000000000 +00:00 tech_support/platform_evpn_vxlan.tcl
50 26175 May 21 2025 19:46:52.0000000000 +00:00 tech_support/port.tcl
51 3215 May 21 2025 19:46:52.0000000000 +00:00 tech_support/port_dump.tcl
52 9197 May 21 2025 19:46:52.0000000000 +00:00 tech_support/port_utils.tcl
53 16477 May 21 2025 19:46:52.0000000000 +00:00 tech_support/stack.tcl
54 5069 May 21 2025 19:46:52.0000000000 +00:00 tech_support/stackwise-virtual.tcl
55 38541 May 21 2025 19:46:52.0000000000 +00:00 tech_support/unicast.tcl
56 336 May 21 2025 19:46:52.0000000000 +00:00 tech_support/utils.tcl
57 1330 May 21 2025 19:46:52.0000000000 +00:00 tech_support/pkt-drop-stats-dump.tcl
58 14047 May 21 2025 19:46:52.0000000000 +00:00 tech_support/pkt-drop-stats.tcl
59 1496 May 21 2025 19:46:52.0000000000 +00:00 tech_support/tech-support-confidential.tcl
60 685 May 21 2025 19:46:52.0000000000 +00:00 tech_support/tech-support-dump.tcl
61 11696 May 21 2025 19:46:52.0000000000 +00:00 tech_support/phy.tcl
62 4096 May 21 2025 19:46:52.0000000000 +00:00 dc_profile_dir
63 296166 May 21 2025 19:46:52.0000000000 +00:00 dc_profile_dir/dc_default_profiles.txt
64 296166 Jan 03 2025 06:19:17.0000000000 +00:00 dc_profile_dir/dc_default_profiles.txt.bkp
65 0 May 21 2025 19:48:13.0000000000 +00:00 dope_hist
66 137940 May 21 2025 19:46:57.0000000000 +00:00 memleak.tcl
67 13 Jun 27 2021 20:45:29.0000000000 +00:00 NVRAM
68 4096 Jan 18 2023 11:00:11.0000000000 +00:00 .dbpersist
69 4096 May 21 2025 21:38:38.0000000000 +00:00 .dbpersist/DMI_STATE_DB
70 15861 May 21 2025 21:38:38.0000000000 +00:00 .dbpersist/DMI_STATE_DB/DMI_STATE_DB
71 171 May 21 2025 21:38:38.0000000000 +00:00 .dbpersist/DMI_STATE_DB/DMI_STATE_DB.meta
72 16467 May 21 2025 21:38:38.0000000000 +00:00 .dbpersist/stats
73 4096 Jan 18 2023 11:00:11.0000000000 +00:00 .dbpersist/history
74 4096 Jun 27 2021 20:46:25.0000000000 +00:00 onep
75 4096 Jun 27 2021 20:46:25.0000000000 +00:00 onep/apps-cli
76 4096 May 21 2025 19:48:03.0000000000 +00:00 license_evlog
77 2389 Jun 27 2021 20:49:32.0000000000 +00:00 license_evlog/SAEventRegular20210627_194649.log
78 2374 Jun 27 2021 21:03:00.0000000000 +00:00 license_evlog/SAEventRegular20210627_200214.log
79 2981 Jun 27 2021 21:06:41.0000000000 +00:00 license_evlog/SAEventRegular20210627_200541.log
80 4836 Jan 18 2023 10:45:08.0000000000 +00:00 license_evlog/SAEventRegular20230118_091152.log
81 4140 Jan 18 2023 11:23:23.0000000000 +00:00 license_evlog/SAEventRegular20230118_110027.log
82 6412 Jun 13 2024 11:28:15.0000000000 +00:00 license_evlog/SAEventRegular20230120_102409.log
83 4858 Jul 31 2024 21:13:40.0000000000 +00:00 license_evlog/SAEventRegular20240617_185613.log
84 7175 Jan 03 2025 06:13:37.0000000000 +00:00 license_evlog/SAEventRegular20240731_212608.log
85 5019 May 21 2025 14:28:48.0000000000 +00:00 license_evlog/SAEventRegular20250103_062028.log
86 3750 May 21 2025 21:38:36.0000000000 +00:00 license_evlog/SAEventRegular20250521_194803.log
87 15116 May 21 2025 19:48:13.0000000000 +00:00 rdope_out.txt
88 89 May 21 2025 19:48:11.0000000000 +00:00 rdope.log
89 2097152 May 21 2025 21:38:35.0000000000 +00:00 nvram_config
90 2097152 May 21 2025 21:38:35.0000000000 +00:00 nvram_config_bkup
91 35 Jan 18 2023 09:14:11.0000000000 +00:00 pnp-tech-time
92 117289 Jan 18 2023 09:14:14.0000000000 +00:00 pnp-tech-discovery-summary
93 4934 Jan 03 2025 06:16:57.0000000000 +00:00 packages.conf
94 5242880 Jan 18 2023 10:57:35.0000000000 +00:00 ssd
95 4096 Jan 18 2023 10:57:42.0000000000 +00:00 Tbot
96 117906 May 21 2025 19:46:57.0000000000 +00:00 Tbot/HealthCheckDebugInfra.py
97 265373 May 21 2025 19:46:57.0000000000 +00:00 Tbot/L3ParseOutputs.py
98 365279 May 21 2025 19:46:57.0000000000 +00:00 Tbot/L3DebugInfraAPIs.py
99 155706 May 21 2025 19:46:57.0000000000 +00:00 Tbot/L2DebugInfraAPIs.py
100 164575 May 21 2025 19:46:57.0000000000 +00:00 Tbot/L2ParseOutputs.py
101 155706 May 21 2025 19:46:57.0000000000 +00:00 Tbot/L2DebugInfraScript.py
102 304 May 21 2025 19:45:30.0000000000 +00:00 lateshutdown.log
103 4096 Dec 16 2020 17:25:21.0000000000 +00:00 SHARED-IOX
104 4096 Jul 31 2024 21:22:47.0000000000 +00:00 gs_script
105 0 Dec 16 2020 17:25:21.0000000000 +00:00 mode_event_log
106 4096 Dec 16 2020 17:25:21.0000000000 +00:00 pcap
107 2137 Jan 03 2025 06:19:22.0000000000 +00:00 boothelper.log.old
108 4096 Jan 03 2025 06:08:47.0000000000 +00:00 .images
109 4096 Jan 03 2025 06:12:56.0000000000 +00:00 .images/17.09.06a.0.12.1727961875
110 1116 Jan 03 2025 06:08:47.0000000000 +00:00 .images/17.09.06a.0.12.1727961875/cat9k_lite_iosxe_npe.17.09.06a.SPA.bin.hdr
111 4934 Jan 03 2025 06:12:52.0000000000 +00:00 .images/17.09.06a.0.12.1727961875/packages.conf
112 42 Jan 03 2025 06:12:56.0000000000 +00:00 .images/17.09.06a.0.12.1727961875/cat9k_lite-rpbase.17.09.06a.SPA.pkg.lnk
113 42 Jan 03 2025 06:12:56.0000000000 +00:00 .images/17.09.06a.0.12.1727961875/cat9k_lite-rpboot.17.09.06a.SPA.pkg.lnk
114 44 Jan 03 2025 06:12:56.0000000000 +00:00 .images/17.09.06a.0.12.1727961875/cat9k_lite-srdriver.17.09.06a.SPA.pkg.lnk
115 41 Jan 03 2025 06:12:56.0000000000 +00:00 .images/17.09.06a.0.12.1727961875/cat9k_lite-webui.17.09.06a.SPA.pkg.lnk
116 368 Jan 03 2025 06:12:56.0000000000 +00:00 .images/17.09.06a.0.12.1727961875/install_add_pkg_list.txt
117 1024 Jan 03 2025 06:12:56.0000000000 +00:00 .images/17.09.06a.0.12.1727961875/checksum
118 1024 Jan 03 2025 06:12:56.0000000000 +00:00 .images/17.09.06a.0.12.1727961875/src_filename
119 1024 Jan 03 2025 06:12:56.0000000000 +00:00 .images/17.09.06a.0.12.1727961875/cisco_image_name
120 4934 Jan 03 2025 06:12:56.0000000000 +00:00 cat9k_lite_iosxe_npe.17.09.06a.SPA.conf
121 437035008 Jan 03 2025 06:11:17.0000000000 +00:00 cat9k_lite-rpbase.17.09.06a.SPA.pkg
122 44296103 Jan 03 2025 06:12:51.0000000000 +00:00 cat9k_lite-rpboot.17.09.06a.SPA.pkg
123 4096 Jan 18 2023 10:57:35.0000000000 +00:00 ss_disc
124 4096 Jan 18 2023 10:57:37.0000000000 +00:00 sys_report
125 4096 Jan 18 2023 10:59:32.0000000000 +00:00 .USWAP
126 4096 May 21 2025 19:52:36.0000000000 +00:00 .USWAP/rp
127 4096 May 21 2025 19:51:00.0000000000 +00:00 .USWAP/rp/sif_mgr
128 9719808 May 21 2025 19:51:00.0000000000 +00:00 .USWAP/rp/sif_mgr/3166.uswap
129 4096 May 21 2025 19:51:01.0000000000 +00:00 .USWAP/rp/stack_mgr
130 716800 May 23 2025 11:01:05.0000000000 +00:00 .USWAP/rp/stack_mgr/3395.uswap
131 4096 May 21 2025 19:51:06.0000000000 +00:00 .USWAP/rp/lman
132 319488 May 21 2025 21:38:36.0000000000 +00:00 .USWAP/rp/lman/6262.uswap
133 4096 May 21 2025 19:51:06.0000000000 +00:00 .USWAP/rp/keyman
134 262144 May 21 2025 19:51:06.0000000000 +00:00 .USWAP/rp/keyman/6026.uswap
135 4096 May 21 2025 19:51:11.0000000000 +00:00 .USWAP/rp/btman
136 270336 May 21 2025 19:51:11.0000000000 +00:00 .USWAP/rp/btman/6487.uswap
137 4096 May 21 2025 19:51:22.0000000000 +00:00 .USWAP/rp/cmand
138 10194944 May 23 2025 11:05:03.0000000000 +00:00 .USWAP/rp/cmand/4046.uswap
139 4096 May 21 2025 19:51:33.0000000000 +00:00 .USWAP/rp/hman
140 303104 May 23 2025 11:05:04.0000000000 +00:00 .USWAP/rp/hman/6650.uswap
141 4096 May 21 2025 19:51:34.0000000000 +00:00 .USWAP/rp/install_mgr
142 278528 May 23 2025 10:23:37.0000000000 +00:00 .USWAP/rp/install_mgr/9751.uswap
143 4096 May 21 2025 19:51:35.0000000000 +00:00 .USWAP/rp/psd
144 618496 May 21 2025 19:51:35.0000000000 +00:00 .USWAP/rp/psd/14618.uswap
145 4096 May 21 2025 19:51:39.0000000000 +00:00 .USWAP/rp/service_mgr
146 278528 May 21 2025 19:51:39.0000000000 +00:00 .USWAP/rp/service_mgr/16238.uswap
147 4096 May 21 2025 19:51:41.0000000000 +00:00 .USWAP/rp/repm
148 352256 May 21 2025 19:51:41.0000000000 +00:00 .USWAP/rp/repm/16630.uswap
149 4096 May 21 2025 19:51:42.0000000000 +00:00 .USWAP/rp/plogd
150 258048 May 21 2025 19:51:42.0000000000 +00:00 .USWAP/rp/plogd/17067.uswap
151 4096 May 21 2025 19:51:44.0000000000 +00:00 .USWAP/rp/linux_iosd-image
152 25137152 May 23 2025 11:05:04.0000000000 +00:00 .USWAP/rp/linux_iosd-image/2872.uswap
153 4096 May 21 2025 19:51:45.0000000000 +00:00 .USWAP/rp/tms
154 266240 May 21 2025 19:51:45.0000000000 +00:00 .USWAP/rp/tms/17354.uswap
155 4096 May 21 2025 19:51:46.0000000000 +00:00 .USWAP/rp/cmm
156 262144 May 21 2025 19:51:46.0000000000 +00:00 .USWAP/rp/cmm/18201.uswap
157 4096 May 21 2025 19:51:47.0000000000 +00:00 .USWAP/rp/sessmgrd
158 1556480 May 23 2025 09:02:37.0000000000 +00:00 .USWAP/rp/sessmgrd/15246.uswap
159 4096 May 21 2025 19:51:51.0000000000 +00:00 .USWAP/rp/fman_rp
160 1007616 May 23 2025 09:02:37.0000000000 +00:00 .USWAP/rp/fman_rp/17849.uswap
161 4096 May 21 2025 19:51:51.0000000000 +00:00 .USWAP/rp/cli_agent
162 1249280 May 23 2025 10:39:13.0000000000 +00:00 .USWAP/rp/cli_agent/18332.uswap
163 4096 May 21 2025 19:51:54.0000000000 +00:00 .USWAP/rp/dbm
164 1966080 May 23 2025 10:39:13.0000000000 +00:00 .USWAP/rp/dbm/18081.uswap
165 4096 May 21 2025 19:52:36.0000000000 +00:00 .USWAP/rp/smand
166 892928 May 23 2025 11:05:03.0000000000 +00:00 .USWAP/rp/smand/15794.uswap
167 4096 May 21 2025 19:51:40.0000000000 +00:00 .USWAP/fp
168 4096 May 21 2025 19:50:59.0000000000 +00:00 .USWAP/fp/btman
169 270336 May 21 2025 19:50:59.0000000000 +00:00 .USWAP/fp/btman/4655.uswap
170 4096 May 21 2025 19:51:06.0000000000 +00:00 .USWAP/fp/fed
171 12292096 May 23 2025 11:05:01.0000000000 +00:00 .USWAP/fp/fed/4180.uswap
172 4096 May 21 2025 19:51:34.0000000000 +00:00 .USWAP/fp/service_mgr
173 278528 May 21 2025 19:51:34.0000000000 +00:00 .USWAP/fp/service_mgr/13929.uswap
174 4096 May 21 2025 19:51:40.0000000000 +00:00 .USWAP/fp/fman_fp_image
175 888832 May 23 2025 09:02:41.0000000000 +00:00 .USWAP/fp/fman_fp_image/14781.uswap
176 4096 May 21 2025 19:51:35.0000000000 +00:00 .USWAP/cc
177 4096 May 21 2025 19:51:35.0000000000 +00:00 .USWAP/cc/iomd
178 1708032 May 21 2025 19:51:35.0000000000 +00:00 .USWAP/cc/iomd/13894.uswap
179 4096 Jan 18 2023 10:57:41.0000000000 +00:00 .CRFT
180 4096 Jul 31 2024 21:22:47.0000000000 +00:00 EDScisco
181 4096 Jul 31 2024 21:22:51.0000000000 +00:00 fp_cc_crash
182 4096 Jul 31 2024 21:24:59.0000000000 +00:00 .rommon_sync
183 856 May 21 2025 19:48:13.0000000000 +00:00 .rommon_sync/env_var
184 1338 Jul 31 2024 21:25:03.0000000000 +00:00 DigiCertGlobalRootCA.ca
185 1924 Jul 31 2024 21:25:03.0000000000 +00:00 ISRGRootX1CrossSignDST.ca
186 1606 Jul 31 2024 21:25:03.0000000000 +00:00 StarfieldServicesRootCA.ca
187 1261 Jul 31 2024 21:25:03.0000000000 +00:00 Baltimore.ca
188 17 Jul 31 2024 21:25:07.0000000000 +00:00 rmon_var_template
189 6045696 Jan 03 2025 06:11:17.0000000000 +00:00 cat9k_lite-srdriver.17.09.06a.SPA.pkg
190 14876672 Jan 03 2025 06:11:17.0000000000 +00:00 cat9k_lite-webui.17.09.06a.SPA.pkg
764796928 bytes available (1092640768 bytes used)

SW01#dir flash:
Directory of flash:/

32387 drwx 4096 May 21 2025 21:38:59 +01:00 .installer
32400 -rw- 2097152 May 21 2025 21:38:35 +01:00 nvram_config_bkup
32399 -rw- 2097152 May 21 2025 21:38:35 +01:00 nvram_config
32395 -rw- 15116 May 21 2025 19:48:13 +01:00 rdope_out.txt
32415 -rw- 0 May 21 2025 19:48:13 +01:00 dope_hist
32396 -rw- 89 May 21 2025 19:48:11 +01:00 rdope.log
105249 drwx 4096 May 21 2025 19:48:03 +01:00 license_evlog
32402 -rw- 796 May 21 2025 19:48:01 +01:00 vlan.dat
72865 drwx 4096 May 21 2025 19:47:47 +01:00 .prst_sync
32392 -rw- 137940 May 21 2025 19:46:57 +01:00 memleak.tcl
32391 -rw- 2138 May 21 2025 19:46:57 +01:00 boothelper.log
72887 drwx 4096 May 21 2025 19:46:52 +01:00 dc_profile_dir
32389 -rw- 481 May 21 2025 19:46:32 +01:00 bootloader_evt_handle.log
32405 -rw- 304 May 21 2025 19:45:30 +01:00 lateshutdown.log
32390 drwx 4096 Feb 8 2025 06:49:25 +00:00 core
89057 drwx 4096 Jan 3 2025 06:23:05 +00:00 .rollback_timer
32388 -rw- 2137 Jan 3 2025 06:19:22 +00:00 boothelper.log.old
32458 -rw- 4934 Jan 3 2025 06:16:57 +00:00 packages.conf
32418 -rw- 4934 Jan 3 2025 06:12:56 +00:00 cat9k_lite_iosxe_npe.17.09.06a.SPA.conf
64780 -rw- 44296103 Jan 3 2025 06:12:51 +00:00 cat9k_lite-rpboot.17.09.06a.SPA.pkg
64779 -rw- 14876672 Jan 3 2025 06:11:17 +00:00 cat9k_lite-webui.17.09.06a.SPA.pkg
64778 -rw- 6045696 Jan 3 2025 06:11:17 +00:00 cat9k_lite-srdriver.17.09.06a.SPA.pkg
64777 -rw- 437035008 Jan 3 2025 06:11:17 +00:00 cat9k_lite-rpbase.17.09.06a.SPA.pkg
64771 drwx 4096 Jan 3 2025 06:08:47 +00:00 .images
32454 -rw- 17 Jul 31 2024 21:25:07 +01:00 rmon_var_template
32453 -rw- 1261 Jul 31 2024 21:25:03 +01:00 Baltimore.ca
32452 -rw- 1606 Jul 31 2024 21:25:03 +01:00 StarfieldServicesRootCA.ca
32451 -rw- 1924 Jul 31 2024 21:25:03 +01:00 ISRGRootX1CrossSignDST.ca
32450 -rw- 1338 Jul 31 2024 21:25:03 +01:00 DigiCertGlobalRootCA.ca
32448 drwx 4096 Jul 31 2024 21:24:59 +01:00 .rommon_sync
32446 drwx 4096 Jul 31 2024 21:22:51 +01:00 fp_cc_crash
32445 drwx 4096 Jul 31 2024 21:22:47 +01:00 EDScisco
72868 drwx 4096 Jul 31 2024 21:22:47 +01:00 tech_support
32394 drwx 4096 Jan 18 2023 11:00:11 +00:00 .dbpersist
8097 drwx 4096 Jan 18 2023 10:57:42 +00:00 Tbot
32423 drwx 4096 Jan 18 2023 10:57:37 +00:00 sys_report
32412 -rw- 5242880 Jan 18 2023 10:57:35 +00:00 ssd
32401 -rw- 117289 Jan 18 2023 09:14:14 +00:00 pnp-tech-discovery-summary
32398 -rw- 35 Jan 18 2023 09:14:11 +00:00 pnp-tech-time
72889 drwx 4096 Jun 27 2021 20:46:25 +01:00 onep
32444 drwx 4096 Dec 16 2020 17:25:21 +00:00 pcap
32442 -rwx 0 Dec 16 2020 17:25:21 +00:00 mode_event_log
32407 drwx 4096 Dec 16 2020 17:25:21 +00:00 SHARED-IOX

1956839424 bytes total (764796928 bytes free)

 

Royalty
Level 1
Level 1

Hi @JAISONTHOMAS,

You will need to go through the file system and check the contents within any directories to see if there any large files that you can remove. You can use commands like 'dir flash: sizesort' and dir flash:<directory_name/> to check the contents of said directories. 'show file systems' will also help you to narrow down anything using flash space.

Alternatively, if that takes too long and downtime can be scheduled without impacting live operations, do you have a file server (e.g. TFTP/SFTP) that you can use to copy the new IOS-XE.bin file to the switch? If so, copy the 17.9.7 image to the switch manually via CLI. Once done, issue the following commands:

1. Set boot statement to Bundle Mode

conf t
 no boot system

 boot system flash:<New_IOS-XE_file_name.bin>
 end
wr

2. Reload the switch.

3. Once switch has booted, issue 'install remove inactive'

4. Now issue 'install add file flash:<New_IOS-XE_file_name.bin>' to convert it to Install Mode which will require another reboot. Or leave it in bundle mode. Do note that leaving a switch running in bundle mode does result in higher

---------------------------

SHow system files giving me the below,

 

SW01#show file systems
File Systems:

Size(b) Free(b) Type Flags Prefixes
- - opaque rw system:
- - opaque rw tmpsys:
825638912 757878784 disk rw crashinfo:
* 1956839424 764796928 disk rw flash: bootflash:
1319133184 1186443264 disk ro webui:
- - opaque rw null:
- - opaque ro tar:
- - network rw tftp:
2097152 2060439 nvram rw nvram:
- - opaque wo syslog:
- - network rw rcp:
- - network rw http:
- - network rw ftp:
- - network rw scp:
- - network rw sftp:
- - network rw https:
- - opaque ro cns:

 

Is it safe to delete crashinfor and webui? If so can you help me with the deletion commands

 

Leo Laohoo
Hall of Fame
Hall of Fame

Try this: 

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

And then execute Install Mode again. 

If this works, then this is CSCwa71156.

can this be tried while the switch is in operation or do we need downtime?

 

Hi @JAISONTHOMAS,

Yes, this can be done while the switch is in operation. Access the CLI/terminal and follow steps above by Leo Laohoo.

Let us know how you get on and if there's any further questions.


@JAISONTHOMAS wrote:
can this be tried while the switch is in operation or do we need downtime?

The initial commands to clear out guest shell can be done without any downtime. 

Upgrading the firmware, however, will require a downtime.