Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Unable to control boot order

Dear Friends,

There is a Cisco 4507RE Switch running Cisco IOS 12.2(44)SG Enterprise image.

The image is available in bootflash and slot0: file systems.

I am specifying the boot order as

1. Slot 0

2. Bootflash

However, i am unable to control the boot order. The exact commands that i specify are:

boot system flash slot0:cat4500e-entservices-mz.122-44.SG.bin

boot system flash bootflash:cat4500e-entservices-mz.122-44.SG.bin

However, bootflash seems to be always prioritized inspite of me giving slot0 as the first option. Any idea as to why it always load the bootflash image first though in my priority list, i am giving slot0: as the first in priority?

Just one thing that i also wanted to add was that when i press Break key and boot into Rommon, if i specify boot slot0:<image>, only then it boots from slot0: media.

Thanks a lot



Re: Unable to control boot order

Check the config-register, it needs to be 0x0102 to boot using the boot commands in the configuration. Use the command 'show bootvar' to see what is currently set. You can change the value in global config:

switch(config)#config-register 0x0102




Re: Unable to control boot order

Andrew is correct your boot order is currently being handled by the config register , more than likely it is currently 0x2101 which means it will load the first image it finds in bootflash . Just change the config register as Andrew said and reboot the switch.

New Member

Re: Unable to control boot order

What is the value of config register.

The config register set to 0x2102.

Also please see the output of bootvar.

sh bootvar. Make sure the the bootvar is pointing to the slot0.