Archive for the ‘Brocade’ Category

Brocade switch firmware upgrade

Monday, November 23rd, 2009

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

Find Brocade switch type

Wednesday, October 21st, 2009
Switch Types and Product Names
NOTE: Switch type output displays these values with 1.x for the Brocade 1000 family, 2.x for Brocade 2800, and so on. The “x” value refers to motherboard revision level.

From: http://community.brocade.com/home/servlet/JiveServlet/download/6996-1671/SwitchTypes_GA-TN-015-02.pdf;jsessionid=7E68852C08F694332BC222E879EB72AC

sandcxsw01a> switchshow
switchName:     sandcxsw01a
switchType:     62.3
switchState:    Online
switchMode:     Native
switchRole:     Principal
switchDomain:   1
switchId:       fffc01
switchWwn:      10:00:00:02:1c:9a:17:00
zoning:         ON (sandcxsw01a_cfg)
switchBeacon:   OFF
FC Router:      OFF
FC Router BB Fabric ID: 1

Index Slot Port Address Media Speed State     Proto
===================================================
0    1    0   010000   id    N4   No_Light    FC
1    1    1   010100   id    N4   No_Light    FC
2    1    2   010200   id    N4   No_Light    FC
3    1    3   010300   id    N4   No_Light    FC

Switch Type

Switch Name

1

Brocade 1000 Switches

2, 6

Brocade 2800 Switch

3

Brocade 2100, 2400 Switches

4

Brocade 20×0, 2010, 2040, 2050 Switches

5

Brocade 22×0, 2210, 2240, 2250 Switches

7

Brocade 2000 Switch

9

Brocade 3800 Switch

10

Brocade 12000 Director

12

Brocade 3900 Switch

16

Brocade 3200 Switch

17

Brocade 3800VL

18

Brocade 3000 Switch

21

Brocade 24000 Director

22

Brocade 3016 Switch

26

Brocade 3850 Switch

27

Brocade 3250 Switch

29

Brocade 4012 Embedded Switch

32

Brocade 4100 Switch

33

Brocade 3014 Switch

34

Brocade 200E Switch

36

Brocade FR4-18i Director Blade

37

Brocade 4020 Embedded Switch

38

Brocade 7420 SAN Router

40

Fibre Channel Routing (FCR) Front Domain

41

Fibre Channel Routing, (FCR) Xlate Domain

42

Brocade 48000 Director

43

Brocade 4024 Embedded Switch

44

Brocade 4900 Switch

45

Brocade 4016 Embedded Switch

46

Brocade 7500 Switch

47

Brocade FC4-16IP Director Blade

51

Brocade 4018 Embedded Switch

55

Brocade FA4-18i Extension Blade

55.2

Brocade 7600 Switch

58

Brocade 5000 Switch

62

Brocade DCX Backbone

64

Brocade 5300 Switch

66

Brocade 5100 Switch

67

Brocade Encryption Switch

69

Brocade 5410 Blade

71

Brocade 300 Embedded Switch

72

Brocade 5480 Embedded Switch

75

Brocade M5424 Embedded Switch