BUNDLE 模式,已抄IOS文件到2台3850 flash,
1, 是否要將旧起动文件去掉3850_2F_Core(config)# no boot system switch all flash:/cat3k_caa-universalk9.16.03.06.SPA.bin
加上新的起动文件就可以3850_2F_Core(config)# boot system switch all flash:/cat3k_caa-universalk9.16.12.07.SPA.bin
2, 已抄IOS文件到2台3850 flash,但空間是0, 不知道能否升級成功?
1624104960 bytes total (0 bytes free)
3850_2F_Core#dir flash:
Directory of flash:/
77602 -rw- 2097152 May 5 2022 09:31:39 +00:00 nvram_config
77603 -rw- 15954556 Jan 15 2018 15:23:53 +00:00 cat3k_caa-guestshell.16.03.05b.SPA.pkg
77604 -rw- 22301472 Jan 15 2018 15:23:51 +00:00 cat3k_caa-rpbase.16.03.05b.SPA.pkg
77605 -rw- 266035828 Jan 15 2018 15:23:53 +00:00 cat3k_caa-rpcore.16.03.05b.SPA.pkg
15521 -rw- 9089660 Jan 15 2018 15:23:52 +00:00 cat3k_caa-srdriver.16.03.05b.SPA.pkg
15522 -rw- 212812400 Jan 15 2018 15:23:52 +00:00 cat3k_caa-wcm.16.03.05b.SPA.pkg
31041 -rw- 13423224 Jan 15 2018 15:23:52 +00:00 cat3k_caa-webui.16.03.05b.SPA.pkg
31042 -rw- 4748 Jan 15 2018 15:24:16 +00:00 packages.conf
31043 -rw- 1295 Oct 24 2020 08:41:44 +00:00 bootloader_evt_handle.log
11 drwx 4096 Jan 15 2018 15:34:24 +00:00 core
7762 drwx 4096 Jan 15 2018 15:26:58 +00:00 .prst_sync
38801 drwx 4096 Jan 15 2018 15:27:00 +00:00 .rollback_timer
46561 drwx 4096 Oct 24 2020 08:41:57 +00:00 dc_profile_dir
46563 drwx 4096 Jan 15 2018 15:27:08 +00:00 gs_script
31045 -rw- 65301 Oct 24 2020 08:42:15 +00:00 memleak.tcl
31046 drwx 4096 Sep 21 2020 05:21:20 +00:00 .installer
31047 -rw- 2097152 May 5 2022 09:31:40 +00:00 nvram_config_bkup
31048 -rw- 35 Sep 24 2020 03:10:53 +00:00 pnp-tech-time
31049 -rw- 53044 Sep 24 2020 03:10:59 +00:00 pnp-tech-discovery-summary
13 drwx 4096 Sep 21 2020 05:08:04 +00:00 tech_support
32 drwx 4096 Sep 21 2020 05:23:05 +00:00 .dbpersist
31052 -rw- 0 Sep 21 2020 05:23:14 +00:00 rdope_out.txt
31053 -rw- 68 Sep 21 2020 05:23:26 +00:00 rdope.log
33 drwx 4096 Sep 21 2020 05:23:33 +00:00 onep
31054 -rw- 537577577 Oct 16 2020 09:16:08 +00:00 cat3k_caa-universalk9.16.03.06.SPA.bin
31055 -rw- 1336 May 6 2022 08:30:06 +00:00 vlan.dat
31056 -rw- 480189009 May 5 2022 08:49:06 +00:00 cat3k_caa-universalk9.16.12.07.SPA.bin
1624104960 bytes total (0 bytes free)
3850_2F_Core#sh boot
---------------------------
Switch 1
---------------------------
Current Boot Variables:
BOOT variable = flash:/cat3k_caa-universalk9.16.03.06.SPA.bin;flash:/cat3k_caa-universalk9.16.12.07.SPA.bin;
Boot Variables on next reload:
BOOT variable = flash:/cat3k_caa-universalk9.16.03.06.SPA.bin;flash:/cat3k_caa-universalk9.16.12.07.SPA.bin;
Manual Boot = no
Enable Break = no
Boot Mode= DEVICE
iPXE Timeout= 0
3850_2F_Core#
已解决! 转到解答。
升級2台3850 堆叠 Bundle Mode 模式,用以下命令出現問題
2F_Core#request platform software pack install switch all file flash:cat3k_caa-universalk9.16.12.07.SPA.bin retain-source-file new verbose
--- Starting install local lock acquisition on switch 1 ---
Finished install local lock acquisition on switch 1
FAILED: switch local is not booted with provisioning file
Ensuring that cached content is written to media
我另一組3850的 Install Mode 用以下命令可以成功升級
#request platform software package install switch all file flash:cat3k_caa-universalk9.16.12.07.SPA.bin new auto-copy
Bundle Mode 模式
我用回之前的方法可以, 如Bundle mode 轉 Install mode 可能要用命令改变才可以用以上的方法,不管怎样还是謝謝你的回复.
boot system switch all flash:/cat3k_caa-universalk9.16.12.07.SPA.bin
2台3850已堆疊的交換机 Bundle模式换转为Install模式 使用的install mode的升级方法来转换出現FAILED: switch local is not booted with provisioning file。
#request platform software package install switch all file flash:cat3k_caa-universalk9.16.12.13.SPA.bin new auto-copy
--- Starting install local lock acquisition on switch 1 ---
Finished install local lock acquisition on switch 1
FAILED: switch local is not booted with provisioning file
Core#dir flash:
Directory of flash:/
77602 -rw- 2097152 Jul 12 2025 10:57:24 +00:00 nvram_config
77603 -rw- 480189009 May 9 2022 09:00:00 +00:00 cat3k_caa-universalk9.16.12.07.SPA.bin
77604 -rw- 66 Jul 12 2025 10:52:50 +00:00 boothelper.log
77605 -rw- 76 Jun 27 2025 17:34:53 +00:00 boothelper.old
77606 -rw- 1000 Jul 12 2025 10:59:45 +00:00 stby-vlan.dat
77608 -rw- 482676423 Jul 11 2025 10:07:19 +00:00 cat3k_caa-universalk9.16.12.13.SPA.bin
31043 -rw- 1554 Jul 12 2025 10:52:15 +00:00 bootloader_evt_handle.log
11 drwx 4096 Jan 15 2018 15:34:24 +00:00 core
7762 drwx 4096 Jul 12 2025 10:56:58 +00:00 .prst_sync
38801 drwx 4096 Jan 15 2018 15:27:00 +00:00 .rollback_timer
46561 drwx 4096 Jul 12 2025 10:52:30 +00:00 dc_profile_dir
46563 drwx 4096 Jan 15 2018 15:27:08 +00:00 gs_script
31045 -rw- 132108 Jul 12 2025 10:52:52 +00:00 memleak.tcl
31046 drwx 4096 Jul 12 2025 10:52:13 +00:00 .installer
31047 -rw- 2097152 Jul 12 2025 10:57:24 +00:00 nvram_config_bkup
31048 -rw- 35 Sep 24 2020 03:10:53 +00:00 pnp-tech-time
31049 -rw- 53044 Sep 24 2020 03:10:59 +00:00 pnp-tech-discovery-summary
13 drwx 4096 Aug 27 2024 09:56:45 +00:00 tech_support
32 drwx 4096 May 14 2022 06:02:44 +00:00 .dbpersist
31052 -rw- 0 Jul 12 2025 10:56:53 +00:00 rdope_out.txt
31053 -rw- 545 Jul 12 2025 10:57:06 +00:00 rdope.log
33 drwx 4096 Sep 21 2020 05:23:33 +00:00 onep
77607 -rw- 1000 Jun 17 2025 02:54:38 +00:00 vlan.dat
1624104960 bytes total (569131008 bytes free)
Core#
Core#sh flash-1:
-#- --length-- ---------date/time--------- path
2 2097152 Jul 12 2025 10:57:24.0000000000 +00:00 nvram_config
3 480189009 May 09 2022 09:00:00.0000000000 +00:00 cat3k_caa-universalk9.16.12.07.SPA.bin
4 66 Jul 12 2025 10:52:50.0000000000 +00:00 boothelper.log
5 76 Jun 27 2025 17:34:53.0000000000 +00:00 boothelper.old
6 1000 Jul 12 2025 10:59:45.0000000000 +00:00 stby-vlan.dat
7 482676423 Jul 11 2025 10:07:19.0000000000 +00:00 cat3k_caa-universalk9.16.12.13.SPA.bin
8 1554 Jul 12 2025 10:52:15.0000000000 +00:00 bootloader_evt_handle.log
9 4096 Jan 15 2018 15:34:24.0000000000 +00:00 core
10 4096 Jan 15 2018 15:26:59.0000000000 +00:00 core/modules
11 1 Jul 12 2025 12:27:20.0000000000 +00:00 core/.callhome
12 4096 Jul 12 2025 10:56:58.0000000000 +00:00 .prst_sync
13 233 Jul 12 2025 10:52:29.0000000000 +00:00 .prst_sync/log
14 27 Jul 12 2025 10:57:22.0000000000 +00:00 .prst_sync/reload_history
15 4096 Jan 15 2018 15:27:00.0000000000 +00:00 .rollback_timer
16 4096 Jul 12 2025 10:52:30.0000000000 +00:00 dc_profile_dir
17 281129 Jul 12 2025 10:52:30.0000000000 +00:00 dc_profile_dir/dc_default_profiles.txt
18 281129 Jun 27 2025 17:34:49.0000000000 +00:00 dc_profile_dir/dc_default_profiles.txt.bkp
19 410435 Jul 12 2025 10:52:30.0000000000 +00:00 dc_profile_dir/dc_embedded_profiles.txt
20 410435 Jul 12 2025 10:52:30.0000000000 +00:00 dc_profile_dir/dc_embedded_profiles.txt.bkp
21 4096 Jan 15 2018 15:27:08.0000000000 +00:00 gs_script
22 132108 Jul 12 2025 10:52:52.0000000000 +00:00 memleak.tcl
23 4096 Jul 12 2025 10:52:13.0000000000 +00:00 .installer
24 4096 Sep 21 2020 05:08:07.0000000000 +00:00 .installer/issu_crash
25 50 Jul 12 2025 10:52:11.0000000000 +00:00 .installer/last_pkgconf_shasum
26 2097152 Jul 12 2025 10:57:24.0000000000 +00:00 nvram_config_bkup
27 35 Sep 24 2020 03:10:53.0000000000 +00:00 pnp-tech-time
28 53044 Sep 24 2020 03:10:59.0000000000 +00:00 pnp-tech-discovery-summary
29 4096 Aug 27 2024 09:56:45.0000000000 +00:00 tech_support
30 15305 Jul 12 2025 10:52:30.0000000000 +00:00 tech_support/igmp-snooping.tcl
31 1612 Jul 12 2025 10:52:30.0000000000 +00:00 tech_support/igmpsn_dump.tcl
32 13515 Jul 12 2025 10:52:30.0000000000 +00:00 tech_support/mld-snooping.tcl
33 1612 Jul 12 2025 10:52:30.0000000000 +00:00 tech_support/mldsn_dump.tcl
34 15241 Jul 12 2025 10:52:30.0000000000 +00:00 tech_support/multicast.tcl
35 6284 Jul 12 2025 10:52:30.0000000000 +00:00 tech_support/multicast_dump.tcl
36 2729 Jul 12 2025 10:52:30.0000000000 +00:00 tech_support/platform-fabric-vrf-ipv4.tcl
37 2757 Jul 12 2025 10:52:30.0000000000 +00:00 tech_support/platform-fabric-vrf-ipv6.tcl
38 52402 Jul 12 2025 10:52:30.0000000000 +00:00 tech_support/platform-fabric-vrf-source.tcl
39 612 Jul 12 2025 10:52:30.0000000000 +00:00 tech_support/platform-fabric.tcl
40 1548 Jul 12 2025 10:52:30.0000000000 +00:00 tech_support/platform_evpn_vxlan.tcl
41 21852 Jul 12 2025 10:52:30.0000000000 +00:00 tech_support/port.tcl
42 3270 Jul 12 2025 10:52:30.0000000000 +00:00 tech_support/port_dump.tcl
43 7317 Jul 12 2025 10:52:30.0000000000 +00:00 tech_support/port_utils.tcl
44 4938 Jul 12 2025 10:52:30.0000000000 +00:00 tech_support/stackwise-virtual.tcl
45 38541 Jul 12 2025 10:52:30.0000000000 +00:00 tech_support/unicast.tcl
46 12653 Jul 12 2025 10:52:30.0000000000 +00:00 tech_support/unicast_dump.tcl
47 336 Jul 12 2025 10:52:30.0000000000 +00:00 tech_support/utils.tcl
48 6718 Jul 12 2025 10:52:30.0000000000 +00:00 tech_support/multicast_ipv6.tcl
49 1365 Jul 12 2025 10:52:30.0000000000 +00:00 tech_support/platform-fabric-iid-ethernet.tcl
50 2107 Jul 12 2025 10:52:30.0000000000 +00:00 tech_support/platform-fabric-iid-ipv4.tcl
51 2109 Jul 12 2025 10:52:30.0000000000 +00:00 tech_support/platform-fabric-iid-ipv6.tcl
52 15655 Jul 12 2025 10:52:30.0000000000 +00:00 tech_support/stack.tcl
53 5162 Jul 12 2025 10:52:30.0000000000 +00:00 tech_support/unicast_ipv6.tcl
54 2864 Jul 12 2025 10:52:30.0000000000 +00:00 tech_support/unicast_ipv6_dump.tcl
55 4096 May 14 2022 06:02:44.0000000000 +00:00 .dbpersist
56 4096 Jul 12 2025 10:48:29.0000000000 +00:00 .dbpersist/DMI_STATE_DB
57 14942 Jul 12 2025 10:48:29.0000000000 +00:00 .dbpersist/DMI_STATE_DB/DMI_STATE_DB
58 86 Jul 12 2025 10:56:27.0000000000 +00:00 .dbpersist/DMI_STATE_DB/DMI_STATE_DB.meta
59 1440 Jul 12 2025 10:56:27.0000000000 +00:00 .dbpersist/stats
60 0 Jul 12 2025 10:56:53.0000000000 +00:00 rdope_out.txt
61 545 Jul 12 2025 10:57:06.0000000000 +00:00 rdope.log
62 4096 Sep 21 2020 05:23:33.0000000000 +00:00 onep
63 4096 Sep 21 2020 05:23:33.0000000000 +00:00 onep/apps-cli
64 1000 Jun 17 2025 02:54:38.0000000000 +00:00 vlan.dat
569131008 bytes available (972472320 bytes used)
Core#sh flash-2:
-#- --length-- ---------date/time--------- path
2 2097152 Jul 12 2025 11:00:46.0000000000 +00:00 nvram_config
3 4096 Jul 12 2025 10:52:13.0000000000 +00:00 .installer
4 4096 Sep 21 2020 04:47:45.0000000000 +00:00 .installer/issu_crash
5 50 Jul 12 2025 10:52:14.0000000000 +00:00 .installer/last_pkgconf_shasum
6 480189009 May 14 2022 03:23:50.0000000000 +00:00 cat3k_caa-universalk9.16.12.07.SPA.bin
7 66 Jul 12 2025 10:52:44.0000000000 +00:00 boothelper.log
8 76 Jun 27 2025 17:33:53.0000000000 +00:00 boothelper.old
9 1000 Jun 17 2025 02:53:36.0000000000 +00:00 stby-vlan.dat
10 482676423 Jul 11 2025 09:56:17.0000000000 +00:00 cat3k_caa-universalk9.16.12.13.SPA.bin
11 2097152 Jul 12 2025 11:00:47.0000000000 +00:00 nvram_config_bkup
12 1591 Jul 12 2025 10:52:19.0000000000 +00:00 bootloader_evt_handle.log
13 4096 Jun 27 2018 03:18:55.0000000000 +00:00 core
14 4096 Jun 27 2018 03:15:42.0000000000 +00:00 core/modules
15 1 Jul 12 2025 12:30:41.0000000000 +00:00 core/.callhome
16 4096 Jul 12 2025 10:59:51.0000000000 +00:00 .prst_sync
17 471 Jul 12 2025 10:52:33.0000000000 +00:00 .prst_sync/log
18 27 Jul 12 2025 11:00:41.0000000000 +00:00 .prst_sync/reload_history
19 4096 Jun 27 2018 03:15:43.0000000000 +00:00 .rollback_timer
20 4096 Jul 12 2025 10:52:33.0000000000 +00:00 dc_profile_dir
21 281129 Jul 12 2025 10:52:33.0000000000 +00:00 dc_profile_dir/dc_default_profiles.txt
22 281129 Jun 27 2025 17:33:49.0000000000 +00:00 dc_profile_dir/dc_default_profiles.txt.bkp
23 410435 Jul 12 2025 10:52:33.0000000000 +00:00 dc_profile_dir/dc_embedded_profiles.txt
24 410435 Jul 12 2025 10:52:33.0000000000 +00:00 dc_profile_dir/dc_embedded_profiles.txt.bkp
25 4096 Jun 27 2018 03:15:51.0000000000 +00:00 gs_script
26 132108 Jul 12 2025 10:52:55.0000000000 +00:00 memleak.tcl
27 35 Sep 24 2020 01:29:05.0000000000 +00:00 pnp-tech-time
28 48568 Sep 24 2020 01:29:11.0000000000 +00:00 pnp-tech-discovery-summary
29 4096 May 14 2022 03:45:36.0000000000 +00:00 tech_support
30 15305 Jul 12 2025 10:52:33.0000000000 +00:00 tech_support/igmp-snooping.tcl
31 1612 Jul 12 2025 10:52:33.0000000000 +00:00 tech_support/igmpsn_dump.tcl
32 13515 Jul 12 2025 10:52:33.0000000000 +00:00 tech_support/mld-snooping.tcl
33 1612 Jul 12 2025 10:52:33.0000000000 +00:00 tech_support/mldsn_dump.tcl
34 15241 Jul 12 2025 10:52:33.0000000000 +00:00 tech_support/multicast.tcl
35 6284 Jul 12 2025 10:52:33.0000000000 +00:00 tech_support/multicast_dump.tcl
36 2729 Jul 12 2025 10:52:33.0000000000 +00:00 tech_support/platform-fabric-vrf-ipv4.tcl
37 2757 Jul 12 2025 10:52:33.0000000000 +00:00 tech_support/platform-fabric-vrf-ipv6.tcl
38 52402 Jul 12 2025 10:52:33.0000000000 +00:00 tech_support/platform-fabric-vrf-source.tcl
39 612 Jul 12 2025 10:52:33.0000000000 +00:00 tech_support/platform-fabric.tcl
40 1548 Jul 12 2025 10:52:33.0000000000 +00:00 tech_support/platform_evpn_vxlan.tcl
41 21852 Jul 12 2025 10:52:33.0000000000 +00:00 tech_support/port.tcl
42 3270 Jul 12 2025 10:52:33.0000000000 +00:00 tech_support/port_dump.tcl
43 7317 Jul 12 2025 10:52:33.0000000000 +00:00 tech_support/port_utils.tcl
44 4938 Jul 12 2025 10:52:33.0000000000 +00:00 tech_support/stackwise-virtual.tcl
45 38541 Jul 12 2025 10:52:33.0000000000 +00:00 tech_support/unicast.tcl
46 12653 Jul 12 2025 10:52:33.0000000000 +00:00 tech_support/unicast_dump.tcl
47 336 Jul 12 2025 10:52:33.0000000000 +00:00 tech_support/utils.tcl
48 6718 Jul 12 2025 10:52:33.0000000000 +00:00 tech_support/multicast_ipv6.tcl
49 1365 Jul 12 2025 10:52:33.0000000000 +00:00 tech_support/platform-fabric-iid-ethernet.tcl
50 2107 Jul 12 2025 10:52:33.0000000000 +00:00 tech_support/platform-fabric-iid-ipv4.tcl
51 2109 Jul 12 2025 10:52:33.0000000000 +00:00 tech_support/platform-fabric-iid-ipv6.tcl
52 15655 Jul 12 2025 10:52:33.0000000000 +00:00 tech_support/stack.tcl
53 5162 Jul 12 2025 10:52:33.0000000000 +00:00 tech_support/unicast_ipv6.tcl
54 2864 Jul 12 2025 10:52:33.0000000000 +00:00 tech_support/unicast_ipv6_dump.tcl
55 4096 May 14 2022 06:02:43.0000000000 +00:00 .dbpersist
56 4096 Jul 12 2025 10:48:29.0000000000 +00:00 .dbpersist/DMI_STATE_DB
57 14942 Jul 12 2025 10:48:29.0000000000 +00:00 .dbpersist/DMI_STATE_DB/DMI_STATE_DB
58 86 Jul 12 2025 10:48:29.0000000000 +00:00 .dbpersist/DMI_STATE_DB/DMI_STATE_DB.meta
59 1104 Jul 12 2025 10:48:29.0000000000 +00:00 .dbpersist/stats
60 0 Jul 12 2025 10:56:53.0000000000 +00:00 rdope_out.txt
61 545 Jul 12 2025 10:57:06.0000000000 +00:00 rdope.log
62 4096 Sep 21 2020 05:23:40.0000000000 +00:00 onep
63 4096 Sep 21 2020 05:23:40.0000000000 +00:00 onep/apps-cli
64 1000 Jul 12 2025 11:00:47.0000000000 +00:00 vlan.dat
569376768 bytes available (972554240 bytes used)
Core#
@D_W wrote:
FAILED: switch local is not booted with provisioning file
The file "packages.conf" is missing.
Use the "force" option:
request platform software package install switch all file flash:cat3k_caa-universalk9.16.12.13.SPA.bin new FORCE auto-copy
The following issues occurred when using the following command?
request platform software package install switch all file flash:cat3k_caa-universalk9.16.12.13.SPA.bin new FORCE auto-copy
Core#$ switch all file flash:cat3k_caa-universalk9.16.12.13.SPA.bin new FORCE auto-copy
request platform software package install switch all file flash:cat3k_caa-universalk9.16.12.13.SPA
.bin new FORCE auto-copy
^
% Invalid input detected at '^' marker.
Core#
Still appearing FAILED: switch local is not booted with provisioning file
request platform software package install switch all file flash:cat3k_caa-universalk9.16.12.13.SPA.bin FORCE new auto-copy
Core#$ switch all file flash:cat3k_caa-universalk9.16.12.13.SPA.bin FORCE new auto-copy
--- Starting install local lock acquisition on switch 1 ---
Finished install local lock acquisition on switch 1
FAILED: switch local is not booted with provisioning file
Core#
你别这样搞哈,做操作之前一定要看一遍对应版本的release notes。能省不少事儿
你从bundle mode转换为 install mode不要使用升级的方式操作。看你flash中还是两个孤零零的bin文件,也就是当前还是bundle启动的状态,你可以直接选择将bundle的 .bin文件直接释放出来,然后修改启动设置就可以了。
操作步骤:
1.确认磁盘空间足够,你下面贴的输出里面显示还有500多兆的空间,足够释放文件使用了,但释放完之后磁盘空间剩余量会很小,建议之后再清理一次。
2.释放所需的镜像文件:
request platform software package expand switch all file flash:cat3k_caa-universalk9.16.12.x.SPA.bin auto-copy
注意观察log输出,执行完之后dir flash-1: dir flash-2: 分别看下flash文件是否正常
3.修改启动设置:
- no boot system
- boot system flash:packages.conf
4.保存配置并验证启动设置
copy run start
show boot
5.验证无误后重启设备即可
reload
show version 验证当前模式及启动版本