cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3220
Views
0
Helpful
7
Replies

C3850 Boot Variable

CMack6
Level 1
Level 1

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!!!

7 Replies 7

Leo Laohoo
Hall of Fame
Hall of Fame

Post the complete output to the following commands: 

  • dir 
  • more flash:packages.conf | begin for NOVA

Cisco 3850:  IOS-XE/Firmware Upgrade

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!

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!

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.

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!

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.

Hi, 

is your switch using bundle mode or install mode? check below guide for installation process for both modes.

https://www.cisco.com/c/en/us/support/docs/switches/catalyst-3850-series-switches/117552-technote-cat3850-00.html

Please rate this and mark as solution/answer, if this resolved your issue
Good luck
KB
Review Cisco Networking products for a $25 gift card