05-09-2023 04:35 AM
I am upgrading my Cisco 9200 switches to cat9k_lite_iosxe.17.06.03.SPA.bin, but on some of the switches I do have issues with space on my switch flashes
cisco C9200L-48P-4G (ARM64) processor with 519552K/3071K bytes of memory.
Processor board ID JAE231409GQ
8 Virtual Ethernet interfaces
52 Gigabit Ethernet interfaces
2048K bytes of non-volatile configuration memory.
1999164K bytes of physical memory.
819200K bytes of Crash Files at crashinfo:.
1941504K bytes of Flash at flash:.
0K bytes of WebUI ODM Files at webui:.
This is what my flash looks like if I do a dir flash:
24290 -rwx 343934509 Jan 1 1970 02:39:57 +02:00 cat9k_lite_iosxe.16.09.02.SPA.bin
48577 drwx 4096 May 9 2023 13:02:09 +02:00 .installer
24291 -rw- 9361 Dec 23 2022 11:34:30 +02:00 bootloader_evt_handle.log
48579 drwx 4096 Dec 13 2022 08:12:36 +02:00 core
56673 drwx 4096 May 10 2022 00:19:46 +02:00 .prst_sync
72865 drwx 4096 Apr 3 2019 04:49:49 +02:00 .rollback_timer
80961 drwx 4096 Apr 3 2019 04:49:51 +02:00 tech_support
89057 drwx 4096 Dec 23 2022 11:34:47 +02:00 dc_profile_dir
24292 -rw- 140 Dec 23 2022 11:34:48 +02:00 boothelper.log
24293 -rw- 123888 Dec 23 2022 11:35:06 +02:00 memleak.tcl
24294 drwx 60 Dec 23 2022 11:34:54 +02:00 NVRAM
89059 drwx 4096 Apr 3 2019 04:52:28 +02:00 .dbpersist
97153 drwx 4096 Apr 3 2019 04:51:49 +02:00 onep
24295 -rw- 2097152 Apr 4 2023 18:32:03 +02:00 nvram_config
24296 -rw- 2097152 Apr 4 2023 18:32:03 +02:00 nvram_config_bkup
24297 -rw- 140 Dec 22 2022 04:04:11 +02:00 boothelper.log.old
24298 -rw- 1036 Dec 23 2022 11:36:48 +02:00 vlan.dat
This is what I see if I do a show flash: - can I clean up some of these files to release some space to upload my new bin file
sho flash:
-#- --length-- ---------date/time--------- path
2 343934509 Jan 01 1970 02:39:57.0000000000 +00:00 cat9k_lite_iosxe.16.09.02.SPA.bin
3 4096 May 09 2023 13:02:09.0000000000 +00:00 .installer
4 50 Dec 23 2022 11:34:28.0000000000 +00:00 .installer/last_pkgconf_shasum
5 9361 Dec 23 2022 11:34:30.0000000000 +00:00 bootloader_evt_handle.log
6 4096 Dec 13 2022 08:12:36.0000000000 +00:00 core
7 4096 Apr 03 2019 04:49:48.0000000000 +00:00 core/modules
8 1 May 09 2023 13:18:30.0000000000 +00:00 core/.callhome
9 31324 Oct 14 2021 04:10:39.0000000000 +00:00 core/kernel.rp_RP-CAT9K_LITE_0_20211014021039.txt
10 388590888 Oct 14 2021 04:12:44.0000000000 +00:00 core/kernel.rp_RP-CAT9K_LITE_0_20211014021039.core.flat.gz
11 31032 Feb 24 2022 09:01:06.0000000000 +00:00 core/kernel.rp_RP-CAT9K_LITE_0_20220224070106.txt
12 386519590 Feb 24 2022 09:03:10.0000000000 +00:00 core/kernel.rp_RP-CAT9K_LITE_0_20220224070106.core.flat.gz
13 31032 Dec 13 2022 08:10:31.0000000000 +00:00 core/kernel.rp_RP-CAT9K_LITE_0_20221213061031.txt
14 387264154 Dec 13 2022 08:12:36.0000000000 +00:00 core/kernel.rp_RP-CAT9K_LITE_0_20221213061031.core.flat.gz
15 4096 May 10 2022 00:19:46.0000000000 +00:00 .prst_sync
16 4096 Apr 03 2019 04:49:49.0000000000 +00:00 .rollback_timer
17 4096 Apr 03 2019 04:49:51.0000000000 +00:00 tech_support
18 4096 Dec 23 2022 11:34:47.0000000000 +00:00 dc_profile_dir
19 212846 Dec 23 2022 11:34:47.0000000000 +00:00 dc_profile_dir/dc_default_profiles.txt
20 212846 Dec 22 2022 04:04:10.0000000000 +00:00 dc_profile_dir/dc_default_profiles.txt.bkp
21 140 Dec 23 2022 11:34:48.0000000000 +00:00 boothelper.log
22 123888 Dec 23 2022 11:35:06.0000000000 +00:00 memleak.tcl
23 13 Apr 03 2019 04:49:58.0000000000 +00:00 NVRAM
24 4096 Apr 03 2019 04:52:28.0000000000 +00:00 .dbpersist
25 4096 Apr 04 2023 18:32:03.0000000000 +00:00 .dbpersist/DMI_STATE_DB
26 2560000 Apr 04 2023 18:32:03.0000000000 +00:00 .dbpersist/DMI_STATE_DB/DMI_STATE_DB
27 62 Apr 04 2023 18:32:03.0000000000 +00:00 .dbpersist/DMI_STATE_DB/DMI_STATE_DB.meta
28 18978 Apr 04 2023 18:32:03.0000000000 +00:00 .dbpersist/stats
29 4096 Apr 03 2019 04:51:49.0000000000 +00:00 onep
30 4096 Apr 03 2019 04:51:49.0000000000 +00:00 onep/apps-cli
31 2097152 Apr 04 2023 18:32:03.0000000000 +00:00 nvram_config
32 2097152 Apr 04 2023 18:32:03.0000000000 +00:00 nvram_config_bkup
33 140 Dec 22 2022 04:04:11.0000000000 +00:00 boothelper.log.old
34 1036 Dec 23 2022 11:36:48.0000000000 +00:00 vlan.dat
339169280 bytes available (1518268416 bytes used)
Thank you
Koos
Solved! Go to Solution.
05-09-2023 11:07 AM
Delete all files found in the following sub-directory:
05-09-2023 08:41 AM
- Use this command to clean up the flash :
switch # install remove inactive
M.
05-09-2023 11:07 AM
Delete all files found in the following sub-directory:
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide