Set boot order on a Catalyst 6509 switch

Dragon0x40
Dragon0x40 used Ask the Experts™
on
I want to upgrade my IOS but want to allow the original IOS to boot if the new IOS fails.

How can I do that?

The current IOS is located in disk0: and the config has a line "boot system flash disk0:" and my plan was to TFTP the new IOS to disk0: and leaving the origianl IOS and then enter the commands as follows:

no boot system flash disk0:
boot system flash disk:0/s72033-adventerprisek9_wan-mz.122-33.SXH7.bin

Would this allow my new IOS to boot and if the new IOS failed would the original IOS boot?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Istvan KalmarHead of IT Security Division
Top Expert 2010
Commented:
there is two way:

1. you delete all 'boot system' command from startup config
2.


router(config)# boot system flash <filename-old>
router(config)# boot system flash <filename-new>

If you close to the  ddeevice I advice to use individual CF card for flash, if the upgading fails, you put the old CF and working

Author

Commented:
thanks ikalmar,

You enter the boot system flash <filename-old> first?

That seems backwards to me?

I don't know if I have extra CF cards. Can I pull out the CF card if the switch is already running and insert another one?

Senior Network Engineer
Commented:
To allow your new IOS to load, and if failed load the original IOS configure the below:

no boot system flash disk0:
boot system flash disk:0/s72033-adventerprisek9_wan-mz.122-33.SXH7.bin
boot system flash disk:0:/ios2.bin
boot system flash diskI0:/ios3

make the configuration in order, if the first fails to load it will take the second
Build an E-Commerce Site with Angular 5

Learn how to build an E-Commerce site with Angular 5, a JavaScript framework used by developers to build web, desktop, and mobile applications.

Author

Commented:
thanks wpharaon,

So I input the commands in this order?

no boot system flash disk0:
boot system flash disk0:/s72033-adventerprisek9_wan-mz.122-33.SXH7.bin
boot system flash disk0:/s72033-entservicesk9_wan-mz.122-18.SXE3.bin
WissamSenior Network Engineer

Commented:
yap
then issue
    show bootvar
to verify

Author

Commented:
I entered the commands the way wpharaon advised:

no boot system flash disk0:
boot system flash disk0:/s72033-adventerprisek9_wan-mz.122-33.SXH7.bin
boot system flash disk0:/s72033-entservicesk9_wan-mz.122-18.SXE3.bin

The Supervisors booted from the adventerprisek9 image as planned.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial