cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

112
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
Hall of Fame Community Legend

Re: Choose IOS amongs the three stored in Flash of Switch


@Muhammad Hamas 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.

VIP Advisor

Re: Choose IOS amongs the three stored in Flash of Switch

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.



kind regards
Paul

Please rate and mark posts accordingly if you have found any of the information provided useful.
It will hopefully assist others with similar issues in the future
3 REPLIES 3
Hall of Fame Community Legend

Re: Choose IOS amongs the three stored in Flash of Switch


@Muhammad Hamas 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.

VIP Mentor

Re: Choose IOS amongs the three stored in Flash of Switch

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

VIP Advisor

Re: Choose IOS amongs the three stored in Flash of Switch

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.



kind regards
Paul

Please rate and mark posts accordingly if you have found any of the information provided useful.
It will hopefully assist others with similar issues in the future
CreatePlease to create content
Content for Community-Ad
July's Community Spotlight Awards