C3850 Boot Variable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2021 03:27 AM
Silly question here. I have a C3850 switch that I just upgraded to the most recent IOS. When I reboot the switch it loads back into the previous version IOS. How do I set the boot variable for this switch to boot to the current configuration? I have attempted to add the flash:packages.conf; variable but it will never move out of the "boot variables on next reload" items when i reload the switch. I am then forced to reload the most recent IOS image to the switch since it boots into the old IOS
Current Boot Variables:
BOOT variable does not exist
Boot Variables on next reload:
BOOT variable = flash:packages.conf;
Manual Boot = no
Enable Break = no
Boot Mode = DEVICE
iPXE Timeout = 0
Thank you!!!
- Labels:
-
Catalyst 3000
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2021 03:30 AM - edited 12-23-2021 03:33 AM
Post the complete output to the following commands:
- dir
- more flash:packages.conf | begin for NOVA
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2021 04:37 AM
Directory of flash:/
54322 -rw- 2097152 Dec 21 2021 16:49:05 +00:00 nvram_config
54323 -rw- 83293932 Aug 16 2017 17:18:32 +01:00 cat3k_caa-base.SPA.03 .06.06E.pkg
54324 -rw- 3982012 Aug 16 2017 17:18:34 +01:00 cat3k_caa-drivers.SPA .03.06.06E.pkg
54325 -rw- 33788908 Aug 16 2017 17:18:33 +01:00 cat3k_caa-infra.SPA.0 3.06.06E.pkg
54326 -rw- 43074880 Aug 16 2017 17:18:33 +01:00 cat3k_caa-iosd-univer salk9.SPA.152-2.E6.pkg
54327 -rw- 28394380 Aug 16 2017 17:18:33 +01:00 cat3k_caa-platform.SP A.03.06.06E.pkg
54328 -rw- 111233856 Aug 16 2017 17:18:34 +01:00 cat3k_caa-wcm.SPA.10. 2.160.0.pkg
54339 -rw- 4788 Nov 23 2021 10:49:06 +00:00 packages.conf
77601 drwx 4096 Nov 24 2021 10:06:16 +00:00 dc_profile_dir
54330 -rw- 1096 Dec 21 2021 10:29:41 +00:00 vlan.dat
54331 -rw- 1236 Aug 16 2017 17:18:47 +01:00 packages.conf.00-
7763 drwx 4096 Nov 24 2021 10:05:59 +00:00 .installer
54332 -rw- 222 Nov 24 2021 10:06:02 +00:00 bootloader_evt_handle .log
7765 drwx 4096 Nov 15 2021 18:41:45 +00:00 core
15522 drwx 4096 Nov 24 2021 10:07:51 +00:00 .prst_sync
31041 drwx 4096 Nov 15 2021 10:19:53 +00:00 .rollback_timer
15525 drwx 4096 Nov 15 2021 10:19:57 +00:00 gs_script
38801 drwx 4096 Nov 15 2021 10:19:57 +00:00 tech_support
54333 -rw- 132108 Nov 24 2021 10:06:38 +00:00 memleak.tcl
54329 -rw- 76 Nov 24 2021 10:06:20 +00:00 boothelper.log
54334 -rw- 76 Nov 23 2021 11:55:51 +00:00 boothelper.old
7766 drwx 4096 Nov 15 2021 18:50:42 +00:00 .dbpersist
54336 -rw- 0 Nov 24 2021 10:07:44 +00:00 rdope_out.txt
54337 -rw- 545 Nov 24 2021 10:07:56 +00:00 rdope.log
54338 -rw- 2097152 Dec 21 2021 16:49:06 +00:00 nvram_config_bkup
7767 drwx 4096 Nov 15 2021 18:41:42 +00:00 onep
77605 -rw- 20095616 Nov 23 2021 10:48:25 +00:00 cat3k_caa-guestshell.16.12.05b.SPA.pkg
77606 -rw- 32798679 Nov 23 2021 10:48:25 +00:00 cat3k_caa-rpbase.16.12.05b.SPA.pkg
77607 -rw- 400747128 Nov 23 2021 10:49:02 +00:00 cat3k_caa-rpcore.16.12.05b.SPA.pkg
77608 -rw- 3359360 Nov 23 2021 10:49:04 +00:00 cat3k_caa-srdriver.16.12.05b.SPA.pkg
77609 -rw- 23011964 Nov 23 2021 10:49:04 +00:00 cat3k_caa-webui.16.12.05b.SPA.pkg
54335 -rw- 480018036 Nov 24 2021 10:36:53 +00:00 cat3k_caa-universalk9.16.12.05b.SPA.bin
1624104960 bytes total (268103680 bytes free)
# This is for NOVA
iso rp 0 0 rp_base cat3k_caa-rpbase.16.12.05b.SPA.pkg
iso rp 0 0 rp_core cat3k_caa-rpcore.16.12.05b.SPA.pkg
iso rp 0 0 rp_daemons cat3k_caa-rpcore.16.12.05b.SPA.pkg
iso rp 0 0 rp_iosd cat3k_caa-rpcore.16.12.05b.SPA.pkg
iso rp 0 0 rp_webui cat3k_caa-webui.16.12.05b.SPA.pkg
iso rp 0 0 srdriver cat3k_caa-srdriver.16.12.05b.SPA.pkg
iso rp 0 0 rp_security cat3k_caa-rpcore.16.12.05b.SPA.pkg
iso rp 0 0 guestshell cat3k_caa-guestshell.16.12.05b.SPA.pkg
iso fp 0 0 fp cat3k_caa-rpcore.16.12.05b.SPA.pkg
#
# -start- superpackage .pkginfo
#
# pkginfo: Name: rp_super
# pkginfo: BuildTime: 2021-03-25_13.15
# pkginfo: ReleaseDate: Thu-25-Mar-21-17:15
# pkginfo: .BuildArch: mips64
# pkginfo: BootArchitecture: mips
# pkginfo: .BootArch: mips
# pkginfo: RouteProcessor: edison
# pkginfo: Platform: CAT3K_CAA
# pkginfo: User: mcpre
# pkginfo: PackageName: universalk9
# pkginfo: Build: 16.12.05b
# pkginfo: .SupportedBoards: edison
# pkginfo: .InstallModel:
# pkginfo: .PackageRole: rp_super
# pkginfo: .RestartRole: rp_super
# pkginfo: CardTypes:
# pkginfo: .CardTypes:
# pkginfo: .BuildPath: /scratch/mcpre/release/BLD-V16_12_05B_FC3/binos/linkfarm/stage-edison/hard/rp_super_universalk9.mips64
# pkginfo: .Version: 16.12.05b.0.7.1616703313..Gibraltar
# pkginfo: .InstallVersion: 1.0.0
# pkginfo: .InstallCapCommitSupport: yes
#
# -end- superpackage .pkginfo
#
Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2021 04:58 AM
See below outputs.
Directory of flash:/
54322 -rw- 2097152 Dec 21 2021 16:49:05 +00:00 nvram_config
54323 -rw- 83293932 Aug 16 2017 17:18:32 +01:00 cat3k_caa-base.SPA.03 .06.06E.pkg
54324 -rw- 3982012 Aug 16 2017 17:18:34 +01:00 cat3k_caa-drivers.SPA .03.06.06E.pkg
54325 -rw- 33788908 Aug 16 2017 17:18:33 +01:00 cat3k_caa-infra.SPA.0 3.06.06E.pkg
54326 -rw- 43074880 Aug 16 2017 17:18:33 +01:00 cat3k_caa-iosd-univer salk9.SPA.152-2.E6.pkg
54327 -rw- 28394380 Aug 16 2017 17:18:33 +01:00 cat3k_caa-platform.SP A.03.06.06E.pkg
54328 -rw- 111233856 Aug 16 2017 17:18:34 +01:00 cat3k_caa-wcm.SPA.10. 2.160.0.pkg
54339 -rw- 4788 Nov 23 2021 10:49:06 +00:00 packages.conf
77601 drwx 4096 Nov 24 2021 10:06:16 +00:00 dc_profile_dir
54330 -rw- 1096 Dec 21 2021 10:29:41 +00:00 vlan.dat
54331 -rw- 1236 Aug 16 2017 17:18:47 +01:00 packages.conf.00-
7763 drwx 4096 Nov 24 2021 10:05:59 +00:00 .installer
54332 -rw- 222 Nov 24 2021 10:06:02 +00:00 bootloader_evt_handle .log
7765 drwx 4096 Nov 15 2021 18:41:45 +00:00 core
15522 drwx 4096 Nov 24 2021 10:07:51 +00:00 .prst_sync
31041 drwx 4096 Nov 15 2021 10:19:53 +00:00 .rollback_timer
15525 drwx 4096 Nov 15 2021 10:19:57 +00:00 gs_script
38801 drwx 4096 Nov 15 2021 10:19:57 +00:00 tech_support
54333 -rw- 132108 Nov 24 2021 10:06:38 +00:00 memleak.tcl
54329 -rw- 76 Nov 24 2021 10:06:20 +00:00 boothelper.log
54334 -rw- 76 Nov 23 2021 11:55:51 +00:00 boothelper.old
7766 drwx 4096 Nov 15 2021 18:50:42 +00:00 .dbpersist
54336 -rw- 0 Nov 24 2021 10:07:44 +00:00 rdope_out.txt
54337 -rw- 545 Nov 24 2021 10:07:56 +00:00 rdope.log
54338 -rw- 2097152 Dec 21 2021 16:49:06 +00:00 nvram_config_bkup
7767 drwx 4096 Nov 15 2021 18:41:42 +00:00 onep
77605 -rw- 20095616 Nov 23 2021 10:48:25 +00:00 cat3k_caa-guestshell.16.12.05b.SPA.pkg
77606 -rw- 32798679 Nov 23 2021 10:48:25 +00:00 cat3k_caa-rpbase.16.12.05b.SPA.pkg
77607 -rw- 400747128 Nov 23 2021 10:49:02 +00:00 cat3k_caa-rpcore.16.12.05b.SPA.pkg
77608 -rw- 3359360 Nov 23 2021 10:49:04 +00:00 cat3k_caa-srdriver.16.12.05b.SPA.pkg
77609 -rw- 23011964 Nov 23 2021 10:49:04 +00:00 cat3k_caa-webui.16.12.05b.SPA.pkg
54335 -rw- 480018036 Nov 24 2021 10:36:53 +00:00 cat3k_caa-universalk9.16.12.05b.SPA.bin
1624104960 bytes total (268103680 bytes free)
# This is for NOVA
iso rp 0 0 rp_base cat3k_caa-rpbase.16.12.05b.SPA.pkg
iso rp 0 0 rp_core cat3k_caa-rpcore.16.12.05b.SPA.pkg
iso rp 0 0 rp_daemons cat3k_caa-rpcore.16.12.05b.SPA.pkg
iso rp 0 0 rp_iosd cat3k_caa-rpcore.16.12.05b.SPA.pkg
iso rp 0 0 rp_webui cat3k_caa-webui.16.12.05b.SPA.pkg
iso rp 0 0 srdriver cat3k_caa-srdriver.16.12.05b.SPA.pkg
iso rp 0 0 rp_security cat3k_caa-rpcore.16.12.05b.SPA.pkg
iso rp 0 0 guestshell cat3k_caa-guestshell.16.12.05b.SPA.pkg
iso fp 0 0 fp cat3k_caa-rpcore.16.12.05b.SPA.pkg
#
# -start- superpackage .pkginfo
#
# pkginfo: Name: rp_super
# pkginfo: BuildTime: 2021-03-25_13.15
# pkginfo: ReleaseDate: Thu-25-Mar-21-17:15
# pkginfo: .BuildArch: mips64
# pkginfo: BootArchitecture: mips
# pkginfo: .BootArch: mips
# pkginfo: RouteProcessor: edison
# pkginfo: Platform: CAT3K_CAA
# pkginfo: User: mcpre
# pkginfo: PackageName: universalk9
# pkginfo: Build: 16.12.05b
# pkginfo: .SupportedBoards: edison
# pkginfo: .InstallModel:
# pkginfo: .PackageRole: rp_super
# pkginfo: .RestartRole: rp_super
# pkginfo: CardTypes:
# pkginfo: .CardTypes:
# pkginfo: .BuildPath: /scratch/mcpre/release/BLD-V16_12_05B_FC3/binos/linkfarm/stage-edison/hard/rp_super_universalk9.mips64
# pkginfo: .Version: 16.12.05b.0.7.1616703313..Gibraltar
# pkginfo: .InstallVersion: 1.0.0
# pkginfo: .InstallCapCommitSupport: yes
#
# -end- superpackage .pkginfo
#
Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2021 01:35 PM
The output looks good.
If the switch still boots the old firmware, console into the switch and reboot. I want to see what the switch is doing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2022 03:47 AM - edited 01-03-2022 03:48 AM
Sorry, I was off for the holidays. I just rebooted the switch and it boots to the correct version of firmware. However, it will load into the default config file. But, my previously saved config is still in the startup-config. I can copy it over to the running-config and it fixes the issue, but is there a way to avoid that step?
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2022 01:34 PM
Try it.
If the switch boots into the new firmware, then all is well.
If the switch boots the intended config and boots the OLD firmware, then the config is the source.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2024 04:16 AM
Hi CMack6
I have exactly the same problem as you.
Did you find the failure?
My switch is booting into the correct firmware (16.03.09), but still not loading the startup-config automatically.
If I copy the startup-config into the running-config all is working well.
Hope you can support me your solution.
Thank you and have a great day.
J
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2024 04:48 AM
@juergen-bongartz wrote:
but still not loading the startup-config automatically.If I copy the startup-config into the running-config all is working well.
Post the complete output to the command "sh romvar".
Did someone perform a password-recovery of the switch?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2024 07:20 AM
Hi Leo.
Please see here my result for "sh romvar":
MainSwitch1#sh romvar
^
% Invalid input detected at '^' marker.
Maybe the command is wrong (I am running version 16.03.09)?
For the password-recovery I am not 100% sure.
I purchased the used switch from a refurbisher. I assume they deleted all stuff from the former user.
I the meantime I only updated the switch from 16.03.05 to 16.03.09.
According to the information while booting 16.03.09 is running.
Any idea how to get the switch booting with the startup values correctly?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2024 07:19 PM
Sorry, I was mistaken. The command should be "sh rom-var".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2021 04:25 AM
Hi,
is your switch using bundle mode or install mode? check below guide for installation process for both modes.
Good luck
KB
