Fibre Channel (SAN)

How-to Recovery BootLoad in Brocade FOS based Switches

by on ‎08-05-2010 12:02 PM (376 Views)

Notice: The information in this Contribution is provided “AS IS,” without warranty of any kind.

The author ABBA-SYSTEMS reserves the right to make changes to this document at any time, without notice, and assumes no responsibility for its use.

 

The author ABBA-SYSTEMS shall have no liability or responsibility to any person or entity with
respect to any loss, cost, liability, or damages arising from the information contained in this contribution.

 

THIS DOC IS INTENDED ONLY FOR EXPERIENCED USER!

PRINTENV OUTPUT IS A EXAMPLE THIS VARIOS BEETWEN SOME SWITCH MODELS.

 

 

  • Hot-to recovery BootLoad in Brocade FOS based Switches.

 

Reboot the switch now, press ESC within 4 Second and Stop a Boot Cycle to enter in boot interface

Select 3 for command shell, here are some command.

 

Valid commands are:

 

auto Boot per boot environment variable settings

boot Boot specified image

date Display or set the system date and time

debug Hardware Debug - Edit Memory/PCI registers

help Display this list of commands

helpenv Display help for boot environment variables

hinv Display hardware inventory

passwd Set the boot modification password

ping Ping test

printenv Display all boot environment variables

reset Reset the system

resetpw Remove the boot modification password

setenv Set a boot environment variable

saveenv Save the current boot environment variables

unsetenv Unset a boot environment variable

version Display boot version info

Principal command for Environment are

printenv; setenv;saveenv;

Identified the Switch ENET_MAC.

 

  • Now we will set Environment Variables, use the command "setenv" to Create a Environment Variable now as below.

 

> setenv AutoLoad=yes

> setenv ENET_MAC=00012345ABCD <- Example ENET_MAC Number, must replace with Switch ENET_MAC

> setenv InitTest=MEM()

> setenv LoadIdentifiers=Fabric Operating System;Fabric Operating System

> setenv OSBooted=MEM()0xF0000000

> setenv OSLoadOptions=quiet;quiet

> setenv OSLoader=MEM()0xF0000000;MEM()0xF0800000

> setenv OSRootPartition=hda1;hda2

> setenv SkipWatchdog=yes

> saveenv

 

Try printenv to verify is Environment Variables is set now.

Reboot The Switch.

This first Procedure is based on Brocade FOS 4.x and 5.x Switches.

New genearation Switches use U_Boot procedure and is a little Different.

 

User are Invited to share with me "printenv" output especially for 5100, 5300, and DCX, I'll provide to Upgrade this WiKi DOC Contribution.

 

A Valuable Feedback is Welcome.

 

Thank You.

 

/KB