cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
441
Views
15
Helpful
3
Replies

Choose IOS amongs the three stored in Flash of Switch

Hi all,

 

How do i select the IOS in flash amongst the three in Cisco Catalyst 4948E Switch. I have set the boot flash of that particular IOS but whenever switch restart it loads the 1st one in auto. Kindly help in changing the priority of IOS / Flash to be load in every reboot of switch.

2 Accepted Solutions

Accepted Solutions

Leo Laohoo
Hall of Fame
Hall of Fame

@Muhammad H. Usmani wrote:

whenever switch restart it loads the 1st one


Check the config registry value.  This statement tells me the config registry is set to 0x2101 instead of 0x2102.

View solution in original post

Hello

As stated by @Leo Laohoo 
The router/switch(s) may have a default config registry value to 0x2101 - This tells the devices to boot to the first available ios in the flash and ignore whets specified in the boot variable

show boot
show bootvar


To negate this and control this boot process:

So we can do 1 or 2 things

--rename the old ios and just let the rtr pick the new flash
or
--change the config regisrty to 0x2102 and it will use the bootvar listing we tell it to use.


Suggest use the latter and change the config registry then you can control what these rtrs/switch(s) boot to and have resiliency by the keeping the existing ios incase a backout is required.


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

View solution in original post

3 Replies 3

Leo Laohoo
Hall of Fame
Hall of Fame

@Muhammad H. Usmani wrote:

whenever switch restart it loads the 1st one


Check the config registry value.  This statement tells me the config registry is set to 0x2101 instead of 0x2102.

Hello,

 

it used to be that you could configure the boot image order with the 'boot system flash' global command. If you have three images in flash, and you configure it as below, the first configuration line will determine which IOS will be loaded first (cat4500e-entservicesk9-mz.152-4.E8.bin in this case):

 

4948E(config)#boot system flash:cat4500e-entservicesk9-mz.152-4.E8.bin
4948E(config)#boot system flash:cat4500e-lanbasek9-mz.152-4.E8.bin
4948E(config)#boot system flash:cat4500e-ipbasek9-mz.151-1.SG1.bin

Hello

As stated by @Leo Laohoo 
The router/switch(s) may have a default config registry value to 0x2101 - This tells the devices to boot to the first available ios in the flash and ignore whets specified in the boot variable

show boot
show bootvar


To negate this and control this boot process:

So we can do 1 or 2 things

--rename the old ios and just let the rtr pick the new flash
or
--change the config regisrty to 0x2102 and it will use the bootvar listing we tell it to use.


Suggest use the latter and change the config registry then you can control what these rtrs/switch(s) boot to and have resiliency by the keeping the existing ios incase a backout is required.


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul
Review Cisco Networking products for a $25 gift card