-
Overview of Brocade switches
-
Monitoring and Configuration
-
Hardware components & Architecture
-
Installation and Configuration
Understanding Firmware Versions
- Major version: a big release that brings new features or larger changes, for example 9.0.0.
- Minor version: smaller improvements or a few added features inside the same major version, for example 9.1.0.
- Patch version: bug fixes or security patches on top of a minor version, for example 9.1.1.
Planning for Firmware Upgrade
- Know the current firmware version on the switch:
firmwareShow - Check hardware and software compatibility:
- Review the Fabric OS (FOS) release notes to ensure compatibility with your hardware and connected devices.
- Determine the upgrade path:
- Plan the upgrade hops required to reach the target version.
- Brocade doesn’t support jumping more than two versions at a time, whether you’re upgrading or downgrading.
- Major to major version upgrades:
- If upgrading between major versions, install the corresponding minor version first (e.g., upgrade from 8.x to 9.x by first installing 9.0.0).
- Redundancy check:
- Ensure redundant paths for critical workloads are functional.
- Health check:
- Verify all ports and overall switch health:
- switchShow
- psshow
- fanshow
- tempshow
- sensorshow
- porterrshow
- errdump
- mapsdb –show
- massam –show flash/cpu/memory
- Verify all ports and overall switch health:
- Backup logs and configuration:
- Collect logs and upload configurations to the FTP server:
- configUpload
Example:
To upload the switch configuration interactively from a switch that is not enabled for Virtual Fabrics:-
- switch:admin> configupload
- Protocol (scp, ftp, sftp, local) [ftp]: sftp
- Server Name or IP Address [host]: xxx.xx.xxx.xxx
- User Name [user]: user
- File Name [<home dir>/config.txt]:
- Section (all|chassis|switch [all]):
- Password: ******
- configUpload complete: All config parameters are uploaded
-
- configUpload
- Collect logs and upload configurations to the FTP server:
- Initiate firmware upgrade:
- Use the firmwareDownload command to download firmware to the switch:
- firmwareDownload
Example:
To download firmware interactively:-
- switch:admin> firmwaredownload
- Server Name or IP Address: 192.0.2.0
- User Name: admin
- File Name: /admin/dist
- Network Protocol(1-auto-select, 2-FTP, 3-SCP, 4-SFTP, 5-HTTP) [1]: 4
- Do you want to input SCP/SFTP options (Y/N) [N]: y
- Verifying if the public key authentication is available.Please wait …
- The public key authentication is not available.
- Password:
- Do you want to continue with CRA (Y/N)[N]:
- Do you accept and agree to the terms outlined in the End User License Agreement(EULA) for this product? Please respond with (Y/y) to Accept, (N/n) to Not accept, or (D/d) to display the EULA : Y
- Checking system settings for firmwaredownload…
- System settings check passed.
- You can run firmwaredownloadstatus to get the status of this command. This command will cause a warm/non-disruptive boot but will require that existing telnet, secure telnet or SSH sessions be restarted.
- Do you want to continue (Y/N) [Y]: y
-
- firmwareDownload
- Use the firmwareDownload command to download firmware to the switch:
- Upgrade OS:
- Brocade switches have two flash partitions: primary and secondary.
- During the firmware upgrade:
- The primary partition becomes the secondary.
- First, the secondary partition takes over as the primary.
- The firmware is installed on this new primary (the old secondary), and the switch reboots from it.
- Commit firmware:
- The switch checks all components post-reboot.
- If everything comes up fine, the new firmware is then committed to the secondary partition, which used to be the primary.
- After that, the two partitions go back to their original roles.
- Additional Firmware Commands
-
- Commit the firmware manually:
firmwareCommit - Restore firmware to a previous version:
firmwareRestore - Check firmware download status:
firmwareDownloadStatus - Single-CP mode, where you choose whether it auto-reboots and auto-commits (on directors it upgrades one CP at a time):
firmwareDownload -s - Install firmware from USB:
firmwareDownload -U
- Commit the firmware manually:
Interview questions
Click a question to open it. Each one is phrased the way an interviewer would ask it, and underneath you’ll find why they ask it and one way to answer in your own words.
Fresher level
1. Can you explain in simple words what the numbers in a firmware version like 9.1.1 mean?
Why they ask this: They want to know if you can read a version number and tell how big a change the upgrade is.
How you might answer: The first number is the major version, so 9 means a big release with new features, and the second is the minor version, so 9.1 brings smaller improvements. The last number is the patch, which makes 9.1.1 mostly bug and security fixes on top of 9.1. A patch upgrade is usually less risky than a major one.
2. Why does a Brocade switch keep two firmware partitions?
Why they ask this: It shows whether you understand how the switch upgrades safely and how it gets back if something breaks.
How you might answer: There’s a primary and a secondary partition, so the new firmware goes into one while the old version sits untouched in the other.
If the new version gives trouble before it’s committed, I can go back to the old one with firmwarerestore. It’s a bit like keeping the old key until you’re sure the new lock works.
2–5 years experience
3. Walk me through the health checks you’d run on a switch before a firmware upgrade.
Why they ask this: They’re looking for a careful pre-check routine you follow every time, because a lot of failed upgrades start on a switch that was already unhealthy.
How you might answer: I’d run firmwareshow to note the current version, then switchshow, psshow, fanshow, tempshow and sensorshow for hardware health. I’d check porterrshow and errdump for errors and mapsdb --show for any MAPS alerts.
Before I start, I also make sure the hosts have working paths through the other fabric, and I take a configupload and a supportsave. If anything looks off, I fix that first and upgrade later.
4. You started firmwaredownload and your SSH session dropped. What do you do?
Why they ask this: They want to see that you stay calm and know how to track the upgrade, rather than panicking and rebooting the switch.
How you might answer: That’s normal, because the switch does a warm reboot during the upgrade. I’d give it a few minutes, log back in and run firmwaredownloadstatus to see how far it’s got.
Once it finishes, I run firmwareshow to check that both partitions show the new version, repeat my health checks and use nsshow to make sure the hosts have logged back in.
Senior level
5. You need to move a fabric from FOS 8.x to 9.x. How would you plan it?
Why they ask this: They want to hear you talk about upgrade paths and release notes, how you stage the work, and how you keep hosts online.
How you might answer: I’d start with the release notes for the target version and check that every switch model, HBA and array on the fabric is supported. Then I’d plan the hops, since you can’t always go straight across major versions; you might need a 9.0 release first and then the later 9.x.
I’d do fabric A first, keep an eye on it for a few days and only then move to fabric B. Every switch gets a configupload, a supportsave and a health check beforehand, and the plan spells out when we’d roll back with firmwarerestore.
6. When would you commit firmware right away, and when would you hold off and keep the option to roll back?
Why they ask this: They’re checking your judgement on risk and timing, which matters more here than knowing the command.
How you might answer: On a lab switch or anything low-risk, I’m happy to let it auto-commit. On a critical switch I’d use firmwaredownload -s so it doesn’t commit straight away, and then I’d watch traffic, errors and MAPS alerts for a while.
If everything looks good I run firmwarecommit, and if it doesn’t I can still roll back with firmwarerestore. The downside is that the two partitions are on different versions until I commit, so I don’t leave it like that for long.
Further reading: Brocade Switch Firmware Upgrade Guide
If you want to go further with firmware upgrades, the official reference is here: Broadcom: Brocade Fibre Channel Networking. You can also work through the whole Brocade FC (Fibre Channel) Switches course on SaatVedha, one step at a time.
