Brocade switch firmware upgrade

I have found old Brocade 3250 lying around with FOS 4.2.0b:

SW2:admin> firmwareShow
Primary partition: v4.2.0b
Secondary Partition: v4.2.0b

Brocade supports firmware upgrades within two feature releases (a feature release is a major release indicated by the second digit “Y” of the release number, for example, X.Y.Z); while upgrades of two releases is supported, single release upgrades are recommended. Following are the major upgrade versions for the Fabric OS:
- v4.0
- v4.1
- v4.2
- v4.4.0
- v5.0.1
- v5.1.0
- v5.3.0
- v6.0.1
- v6.2.3

It is advised that you upload your switch config by running configUpload before running firmware upgrade.

Gotcha during the firmware upgrade is when asked for file name to use a file name without architecture directory which is different for different types of switches (starts with SWBDxx)

drwxr-xr-x 2 dnd dnd 4096 Jun 13 2006 SWBD26
drwxr-xr-x 2 dnd dnd 4096 Jun 13 2006 SWBD27
drwxr-xr-x 2 dnd dnd 4096 Jun 13 2006 SWBD29
drwxr-xr-x 2 dnd dnd 4096 Jun 13 2006 SWBD31
drwxr-xr-x 2 dnd dnd 4096 Jun 13 2006 SWBD32
drwxr-xr-x 2 dnd dnd 4096 Jun 13 2006 SWBD33

this directory is selected automatically during the download, so you need to omit it when asked for file name.

SW2:admin> firmwareDownload
You can run firmwareDownloadStatus to get the status
of this command.

This command will cause the switch to reset and will
require that existing telnet, secure telnet or SSH
sessions be restarted.

Do you want to continue [Y]: y
Server Name or IP Address: 192.168.1.25
User Name: dnd
File Name: /home/dnd/fos/v4.4.2b/release.plist
Password:
Firmwaredownload has started.
Start to install packages……
dir ##################################################
ldconfig ##################################################
glibc ##################################################
….

Write kernel image into flash.
………………………….
Verification SUCCEEDED
All packages have been downloaded successfully.
Firmwaredownload has completed successfully.
HA Rebooting …

after reboot run:

SW2:admin> firmwareShow
Primary partition: v4.4.2b
Secondary Partition: Version is not available

firmware is committing to secondary partition so version info is not yet available. After few min:

SW2:admin> firmwareShow
Primary partition: v4.4.2b
Secondary Partition: v4.4.2b

done. Time to update to FOS 5.x.x

Note: if you don’t want reboot and firmwareCommit to be performed automatically, run ‘firmwareDownload -s’ and you’ll get an option to disable reboot and auto firmwareCommit when runing firmwareDownload, here is an example:

SW2:admin> firmwareDownload -s
Server Name or IP Address: 192.168.1.25
User Name: dnd
File Name: /home/dnd/fos/v5.0.5f/release.plist
Password:
Do Auto-Commit after Reboot [Y]: N
Reboot system after download [N]: N
Firmwaredownload has started.
Start to install packages……
dir ##################################################
ldconfig ##################################################

sysstat ##################################################
Write kernel image into flash.
………………………….
Verification SUCCEEDED
Removing unneeded files, please wait …
Finished removing unneeded files.

All packages have been downloaded successfully.
Firmwaredownload has completed successfully.
SW2:admin> firmwareshow
Primary partition: v4.4.2b
Secondary Partition: v5.0.5f
SW2:admin> reboot

after reboot:

SW2:admin> firmwareshow
Primary partition: v5.0.5f
Secondary Partition: v4.4.2b
SW2:admin> firmwareCommit
Validating primary partition…
Doing firmwarecommit now.
Please wait …
Replicating kernel image.
…………………………..
Firmwarecommit completes successfully.
SW2:admin> firmwareshow
Primary partition: v5.0.5f
Secondary Partition: v5.0.5f

If you skip a firmware version when you run firmwareDownload, upgrade will fail:

SW2:admin> firmwareDownload -s
Server Name or IP Address: 192.168.1.25
User Name: dnd
File Name: /home/dnd/fos/v5.3.2a/release.plist
Password:
Do Auto-Commit after Reboot [Y]: Y
Reboot system after download [N]: Y
Firmwaredownload has started.
Cannot upgrade directly to 5.3. Please upgrade to 5.1 or 5.2 first and then upgrade to 5.3.
Firmwaredownload failed. (0×29) The pre-install script failed.

useful doc which also explains firmware upgrade process for switches with dual CPs: https://www.eng.utoledo.edu/ecc/secure-docs/user/sun_docs/brocade_3850/53_1000039_02.pdf

Leave a Reply

Spam Protection by WP-SpamFree