10-18-2024 03:11 AM - edited 10-18-2024 03:15 AM
Hi team,
We've Cisco 9200 catalyst switches in INSTALL MODE, while doing the switch upgrade we are following all the steps given in the Cisco official release note, Example, https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst9200/software/release/17-12/release_notes/ol-17-12-9200/upgrading_the_switch_software.html
As per the release note, while upgrading in install mode, we should set a boot variable to flash:packages.conf.
My query is why we should set boot variable to packages.conf every time, because unlike bundle mode (based on version .bin file will change), install mode using same index file i.e. packages.conf for all the boot process irrespective of software versions. Hence, why we should set this boot variable every time?
Solved! Go to Solution.
10-18-2024 05:51 AM
As per the release note, while upgrading in install mode, we should set a boot variable to flash:packages.conf.
While upgrading install mode you do need to set packages.conf this automatically updated.
Only you need packages.conf, when moving from bundle to install mode (only) - not always need to touch that file.
10-18-2024 03:48 AM
@Magesh Kumar wrote:
My query is why we should set boot variable to packages.conf every time
In Install Mode, the boot variable string is set to "packages.conf" once. Just ONCE.
In Bundle Mode, the boot variable string is set to the BIN file. That is a "moving target".
10-18-2024 04:27 AM
Hello!
In install mode you do not have to setup the packages.conf file. It is done automatically during the install add/activate/commit process.
BR
10-18-2024 04:37 AM
When you say every time, do you mean, every time you reload the switch?
Are you using the correct Config register?
If that is the problem, you may run this commands
no system ignore startupconfig switch all
config-register 0x102
10-18-2024 05:38 AM
Hi @Flavio Miranda Before running Install mode commands.
@DanielP211 @Leo Laohoo So, we can skip the "SET BOOT VARIABLE" step? Right? During software upgrade?
10-18-2024 07:12 AM
Yes you can skip it. The boot packages.conf happens automatically with the install process.
BR
10-18-2024 04:12 PM
@Magesh Kumar wrote:
So, we can skip the "SET BOOT VARIABLE" step? Right? During software upgrade?
I cannot answer that question without knowing what is there currently.
Kindly post the complete output to the command "sh boot".
10-18-2024 05:51 AM
As per the release note, while upgrading in install mode, we should set a boot variable to flash:packages.conf.
While upgrading install mode you do need to set packages.conf this automatically updated.
Only you need packages.conf, when moving from bundle to install mode (only) - not always need to touch that file.
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