cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
54621
Views
38
Helpful
4
Replies

Boot Statement vs flash:/packages.conf

Patrick McHenry
Level 3
Level 3

Hi,

installed new image on 4 3850 stacks.

All of the stacks were configured with "boot system switch all flash:cat3k_caa-universalk9.SPA.03.03.03.SE.150-1.EZ3.conf" when they were deployed.

From what I understand if using the "software install command" this config will be ignored and will always load the last image that was installed. And, that appears to be the behavior for 3 of the 4 stacks.

All stacks have a "boot system switch all flash:cat3k_caa-universalk9.SPA.03.03.03.SE.150-1.EZ3.conf" but, when I do a show vers I see:

System image file is "flash:/packages.conf"

and

*    1 56    WS-C3850-48P       03.06.06E         cat3k_caa-universalk9 INSTALL
     2 56    WS-C3850-48P       03.06.06E         cat3k_caa-universalk9 INSTALL
     3 56    WS-C3850-48P       03.06.06E         cat3k_caa-universalk9 INSTALL
     4 56    WS-C3850-48P       03.06.06E         cat3k_caa-universalk9 INSTALL

So, even though there is a boot statement, it appears that the switch ignores it and runs the latest in flash.

Except one of the switches does not show "System image file is "flash:/packages.conf"" in the show version output. It shows "System image file is "flash:cat3k_caa-universalk9.SPA.03.03.03.SE.150-1.EZ3.conf"" but also shows "*    1 56    WS-C3850-48P       03.06.06E         cat3k_caa-universalk9 INSTALL
     2 56    WS-C3850-48P       03.06.06E         cat3k_caa-universalk9 INSTALL" proving that the latest is being used.

Any explanation for this?

Why didn't the install process change the output to "System image file is "flash:/packages.conf"" 

Thank you, Pat

4 Replies 4

johnd2310
Level 8
Level 8

Hi,

The 3850 can run in install mode or bundle mode. install mode boots the switch using the packages.conf file and .pkg files. Bundle mode uses the IOS image e.g. cat3k_caa-universalk9.SPA.03.06.04.E.152-2.E4.bin.

The "software install" command installs the switch in install mode and configures the switch to boot using the packages.conf file. 

To run in bundle mode you specify the image to boot e.g. 
"boot system switch all flash:cat3k_caa-universalk9.SPA.03.06.04.E.152-2.E4.bin"

In your cases all you switches are in install mode and should boot via packages.conf. The switch showing ""flash:cat3k_caa-universalk9.SPA.03.03.03.SE.150-1.EZ3.conf"" has been misconfigured. It should be showing "flash:/packages.conf" like the other switches. I am guessing someone modified that switch.

You can read more on install mode versus bundle mode at the following link:

http://www.cisco.com/c/en/us/td/docs/switches/lan/Denali_16-1/ConfigExamples_Technotes/Config_Examples/Misc/qos/m_install_vs_bundle.html

Thanks

John

**Please rate posts you find helpful**

Thanks John, but no...nobody has modified the switch after I installed the new image.

This is what I saw right after I performed the upgrade.

Perhaps if I deleted the boot statement and reloaded the switch it might display "flash:packages.conf"?

I was hoping someone had seen this error before.

Thx

So how do I make the changes to use the conf file?

Hello, 

if the  system is set to auto boot, packages.conf will be used instead of the direct image file as shown in the show boot.

if manual boot is set instead (provided Switch 2 is the node showing boot pointing to old image)

 

no boot system switch 2  (to clear the boot variable)
boot system switch 2 flash:packages.conf  (hard point to the packages.conf file)
write memory
show boot switch 2 to confirm

Review Cisco Networking products for a $25 gift card