Fos-90x-Upg (Ug103)
Fos-90x-Upg (Ug103)
User Guide
August 31, 2023
FOS-90x-UPG-UG103
August 31, 2023
FOS-90x-UPG-UG103 User Guide Brocade® Fabric OS® Software Upgrade Guide, 9.0.x
Table of Contents
Introduction........................................................................................................................................... 4
About This Document......................................................................................................................................................4
Supported Hardware and Software................................................................................................................................ 4
®
Contacting Technical Support for Your Brocade Product......................................................................................... 4
Document Feedback........................................................................................................................................................ 5
Obtaining Firmware..............................................................................................................................6
Download Prerequisites...................................................................................................................................................6
Finding the Switch Firmware Version......................................................................................................................... 8
Brocade TruFOS Certificates...................................................................................................................................... 8
Downloading Firmware..............................................................................................................................................10
Staging Firmware............................................................................................................................................... 12
Validating the Firmware Download.................................................................................................................... 12
Activating Firmware............................................................................................................................................12
Downloading Firmware from a USB Device................................................................................................................13
Enabling the USB Device......................................................................................................................................... 14
Viewing the USB File System...................................................................................................................................14
Downloading from the USB Device Using a Relative Path......................................................................................14
Upgrading and Downgrading Firmware.......................................................................................... 15
Supported Upgrade Paths............................................................................................................................................. 16
Supported Blades...........................................................................................................................................................17
Upgrade or Downgrade Prerequisites......................................................................................................................... 17
Connected Switches..................................................................................................................................................17
Blades Not Supported in Gen 7 Directors................................................................................................................17
General Upgrade Considerations................................................................................................................................. 18
General Downgrade Considerations............................................................................................................................ 18
Upgrading Firmware on Fixed-Port Switches............................................................................................................. 19
Firmware Download with Legacy Mode.......................................................................................................................20
FPGA Firmware Upgrade Utility................................................................................................................................... 20
Upgrading Firmware on Directors (Including Blades)............................................................................................... 21
Validating the Firmware Version and Firmware Signature........................................................................................ 24
Verifying the Device and Fabric Connections............................................................................................................ 24
Testing Firmware................................................................................................................................ 26
Testing and Restoring Firmware on Switches............................................................................................................26
Testing a Different Firmware Version on a Switch.....................................................................................................26
Committing Evaluation Firmware.............................................................................................................................. 26
Reverting Evaluation Firmware................................................................................................................................. 27
FOS-90x-UPG-UG103
2
FOS-90x-UPG-UG103 User Guide Brocade® Fabric OS® Software Upgrade Guide, 9.0.x
FOS-90x-UPG-UG103
3
FOS-90x-UPG-UG103 User Guide Brocade® Fabric OS® Software Upgrade Guide, 9.0.x
Introduction
This document provides the step-by-step procedures to prepare, perform, and verify the upgrade or downgrade of the
Fabric OS® firmware.
FOS-90x-UPG-UG103
4
FOS-90x-UPG-UG103 User Guide Brocade® Fabric OS® Software Upgrade Guide, 9.0.x
• OEM and solution providers are trained and certified by Broadcom to support Brocade products.
• Broadcom provides backline support for issues that cannot be resolved by the OEM or solution provider.
• Brocade Supplemental Support augments your existing OEM support contract, providing direct access to Brocade
expertise. For more information on this option, contact Broadcom or your OEM.
• For questions regarding service levels and response times, contact your OEM or solution provider.
If you purchased Brocade product support directly from Broadcom, use one of the following methods to contact the
Technical Assistance Center 24x7. For product support information and the latest information on contacting the Technical
Assistance Center, go to www.broadcom.com/support/fibre-channel-networking/contact-brocade-support.
Online Telephone
For nonurgent issues, the preferred method is to log on to the For Severity 1 (critical) issues, call Brocade Fibre Channel
Support portal at support.broadcom.com. (You must initially Networking Global Support at one of the phone numbers listed at
register to gain access to the Support portal.) Once registered, log www.broadcom.com/support/fibre-channel-networking/contact-
on and then select Hardware > Brocade Storage Networking. brocade-support.
You can now navigate to any of the Brocade tools.
Document Feedback
Quality is our first concern. We have made every effort to ensure the accuracy and completeness of this document.
However, if you find an error or an omission or if you think that a topic needs further development, we want to hear from
you. Send your feedback to [email protected]. Provide the publication title; topic heading; publication
number and page number (for PDF documents); URL (for HTML documents); and as much detail as possible.
FOS-90x-UPG-UG103
5
FOS-90x-UPG-UG103 User Guide Brocade® Fabric OS® Software Upgrade Guide, 9.0.x
Obtaining Firmware
This section contains the information on the procedures to perform a firmware upgrade.
The Fabric OS firmware upgrade process consists of the following major procedures:
1. Download the Fabric OS firmware files to a fixed-port switch or director. For more information, see the following
sections:
– Downloading Firmware for downloading the Fabric OS firmware files from the Broadcom® website.
– Downloading Firmware from a USB Device for downloading the firmware from a USB stick that is attached to the
switch.
2. Upgrade or downgrade to the newer version of Fabric OS firmware. For more information, see the following sections:
– Upgrading Firmware on Fixed-Port Switches to upgrade the firmware on a fixed-port switch.
– Upgrading Firmware on Directors (Including Blades) to upgrade the firmware on a director.
Fabric OS firmware is delivered in RPM Package Manager packages that contain tested and supported .rpm files, along
with other needed files. These packages are made available periodically to add features or to remedy defects. Contact
your switch support provider to obtain information about available firmware versions.
NOTE
Broadcom does not supply individual .rpm files, only packaged installation file sets (distributions).
NOTE
Starting simultaneous firmware downloads on adjacent fixed-port switches may result in traffic disruption.
Do not to power cycle the switch or chassis during the firmware download. For more information on troubleshooting a
firmware download, refer to the Brocade Fabric OS Troubleshooting and Diagnostics Guide.
ATTENTION
Complete the firmware download process on the current switch before issuing the firmwaredownload
command on the next switch. This process ensures that traffic between switches in your fabric is not disrupted.
To verify that the firmware download process is complete, enter the firmwaredownloadstatus command on
the switch, verify that the process is complete, and then proceed to the next switch.
Download Prerequisites
This document discusses the following types of chassis with the Fabric OS 9.0.x release:
• Gen 6 (X6) Chassis – Fabric OS 8.x shipped from the factory that can be upgraded to Fabric OS 9.0.x. This chassis
contains the CPX6 CP blades and CR32 core blades.
• Gen 6 Chassis Upgraded to Gen 7 (X7) – Fabric OS upgraded to v9.0.x or later. This chassis contains the CPX6 CP
blades with new FPGA firmware and is not backward compatible with CR32 core blades and Fabric OS 8.x. The Gen 6
chassis upgraded to Gen 7 is compatible only with the CR64 core blades.
• Gen 7 (X7) Chassis – The chassis that is shipped from the factory with Fabric OS 9.0.x. This chassis contains new
model CP blades and is not backward compatible with Gen 6 chassis and Fabric OS 8.x. The Gen 7 chassis is
compatible only with CR64 core blades.
The following are the prerequisites if you are an existing customer with a Gen 6 chassis and want to upgrade to a Gen 7
chassis:
• Upgrading the Fabric OS version to 9.0.x.
• Replacing the Gen 6 core blades with Gen 7 core blades.
For more information on upgrading to Gen 7, refer to the Brocade X6 Field Migration Guide.
FOS-90x-UPG-UG103
6
FOS-90x-UPG-UG103 User Guide Brocade® Fabric OS® Software Upgrade Guide, 9.0.x
NOTE
Once upgraded to Gen 7, you cannot downgrade to any Fabric OS version lower than Fabric OS 9.0.x.
Before downloading the firmware, perform the following tasks. The following preparatory tasks allow you to provide your
switch support provider with the information required to troubleshoot the firmware download in case of a failure or timeout.
NOTE
Downloading firmware using Secure File Transfer Protocol (SFTP) is not supported on the multispeed
management port if it is set to 1000Mb/s.
1. Read the release notes for the new firmware to find out if there are any updates related to the firmware download
process.
NOTE
The Fabric OS software does not support nondisruptive upgrades from any release more than one major
release earlier than the one being installed. This means that nondisruptive upgrading to Fabric OS 9.0.x is
supported from Fabric OS 8.2.x only. If you try to upgrade from an earlier version of Fabric OS software (for
example, 8.1.x), perform a disruptive upgrade.
2. Log the telnet session to record the information shown during this process, because you can use this information to
validate the correctness of the installation. Connect to the switch and log in using an account with admin permissions.
For additional support:
a) Connect the switch directly to a computer using a serial console cable.
b) Ensure that all serial console sessions (for both CPs on directors) and any open network connection sessions such
as telnet sessions are being logged.
3. Enter firmwareshow to verify the current version of Fabric OS software.
4. Enter hashow to check the HA synchronization status if you are downloading the firmware on chassis. If HA is not
synchronized, the lack of HA synchronization can be related to any of the following:
– A firmware download is in progress.
– The device is recovering from a reboot or power-cycle.
If the local CP and remote CP have different firmware versions, retry the firmware download. See Downloading
Firmware for downloading Fabric OS software.
4. Enter firmwaredownloadstatus to confirm that there is no firmware download already in progress. If there is a
download in progress, wait until that download process is complete.
5. Ensure that all switches in the fabric are running a version of Fabric OS software that is compatible with the release of
Fabric OS software that you are planning to install.
a) Validate the existing fabric by running the commands nsshow , nsallshow , and fabricshow . These
commands provide a record of the existing fabric, which you can use to validate that the installation was correct
and complete.
NOTE
All connected servers, storage devices, and switches should be present in the output of the commands in
this step. If there is a discrepancy, it is possible that a device or a switch cannot connect to the fabric, and
further troubleshooting is required.
b) Enter switchshow to verify that no ports are running as G_Ports.
6. Back up the configuration file and retrieve all current core files before downloading the new firmware to the device.
a) Enter configupload to save the configuration file to your FTP or SSH server or to a USB memory device.
b) Enter supportsave to retrieve all current core files. This information is useful to troubleshoot the firmware
download process if a problem occurs.
7. Enter errclear to clear all existing messages, including internal messages.
8. Enter supportsave -R (uppercase R). This action clears all core and trace files.
FOS-90x-UPG-UG103
7
FOS-90x-UPG-UG103 User Guide Brocade® Fabric OS® Software Upgrade Guide, 9.0.x
Table 1: Support for Brocade TruFOS Certificates in Various Fabric OS Upgrade and Download Scenarios
Upgrade from Fabric OS v8.2.x to Fabric OS v9.0.x You can upgrade to Fabric OS v9.0.x without a Brocade TruFOS
Certificate.
Upgrade from Fabric OS v9.0.0x to Fabric OS v9.0.1x A Brocade TruFOS Certificate is not enforced when upgrading to
Fabric OS v9.0.1x.
Upgrade from Fabric OS v9.0.x to Fabric OS v9.1.x or later A Brocade TruFOS Certificate is enforced when upgrading to
Fabric OS v9.1.x or later.
Perform the following steps to request Brocade TruFOS Certificates from the Broadcom website:
1. From the website support.broadcom.com, click LOGIN, and enter your username and password.
If you do not have an account, click REGISTER to set up your account.
FOS-90x-UPG-UG103
8
FOS-90x-UPG-UG103 User Guide Brocade® Fabric OS® Software Upgrade Guide, 9.0.x
2. Once logged on, click Hardware in the top navigation menu and select Brocade Storage Networking. The following
options appear:
• My Dashboard
• My Cases
• Knowledge Base Articles
• Training & Education
• SAN Reports
• Lifetime Warranty Registration
• My Entitlements
• Documentation
• Licensing Portal
• Product End of Life
• Brocade Software Matrix
• My Downloads
• Security Advisories
• Brocade Support Link (BSL)
• Brocade Global Support
• TruFOS Certificate Request
3. Click TruFOS Certificate Request. The Trusted FOS Certificate Request page appears.
4. Follow the instructions given on the Trusted FOS Certificate Request page to request Brocade TruFOS Certificates.
Brocade TruFOS Certificates are required on the following Brocade platforms beginning with Fabric OS v9.0.x:
• Brocade Gen 6 Directors
• Brocade Gen 7 Directors
• Brocade Gen 6 G630 (switch types 173 and 184)
NOTE
You can view the switch type using the switchshow command.
Brocade TruFOS Certificate management uses the same function as license management in Fabric OS. You can use
the license --install {-key <lic_key> | -usb <lic_path> | {-h <hostip> -t <protocol> [-m
<server_port_number>] -u <user> [-p <password>] -f <filepath/xmlfile>}} command to install the
Brocade TruFOS Certificate from a USB drive or an XML file from Broadcom portal.
The following example shows a sample from the license --install command and the RASLog message:
switch:admin> license --install -h 192.0.2.0 -t ftp -u UserName -p
Password -f /repository/20211013171159568_10_00_c4_f5_7c_64_5b_60.xml
License Installed [FOS-87-0-04-11209683]
The following example shows the output from the license --show command:
You can use the license --show command to verify that a Brocade TruFOS Certificate is installed and when it expires.
switch:admin> license --show
License Id : 10_00_c4_f5_7c_64_5b_60.xml
License 1 :
-------------------------------------------------------------
License serial number : FOS-87-0-01-11203552
License features : Inter Chassis Link (ICL)
License Capacity : 64 (16 QSFPs per CR blade or 32 QSFPs per chassis)
Generation date : 03/29/2021
License 2 :
-------------------------------------------------------------
FOS-90x-UPG-UG103
9
FOS-90x-UPG-UG103 User Guide Brocade® Fabric OS® Software Upgrade Guide, 9.0.x
Once the Brocade TruFOS Certificate is installed, you can proceed with the firmware download process.
Downloading Firmware
Firmware upgrades are available for partners and for customers with support service contracts on the website at
support.broadcom.com.
Perform the following procedure to download the firmware and documentation files from the website and download the
firmware to a switch or a director.
1. From the website support.broadcom.com, click LOGIN, and enter your user name and password.
If you do not have an account, click REGISTER to set up your account.
2. Enter the product name or the firmware version number in the Search box and select Brocade Storage Networks
from the drop-down on the right side. For example, if you search with the version number 9.0.0, it lists the firmware
and documentation files available for the product with the Fabric OS v9.0.0. Click the required firmware version
from the search results. You can use the filter options on the left side to refine your search criteria. The Primary
Downloads page appears, where all the firmware and documentation resources are located.
3. Select the Download checkbox to download the required firmware. You can download using the HTTPS or Secure
FTP download options on the right side.
4. Uncompress the firmware file using the UNIX tar command for .tar files, the gunzip command for .gz files, or a
Windows unzip program for .zip files.
NOTE
For each switch in your fabric, complete all firmware download changes on the current switch before issuing
the firmwaredownload command on the next switch. This process ensures that traffic between switches in
your fabric is not disrupted.
For applicable platforms such as Brocade X6, X7, and G630, enter the license --show command to verify
whether the Brocade TruFOS Certificate is installed. If the Brocade TruFOS Certificate is not installed, obtain
the license key from your vendor or the Broadcom Support Portal. If the TruFOS validation fails because the
Brocade TruFOS Certificates are not available or have expired, the following warning message appears:
Firmwaredownload failed. TruFOS Certificate validation failed . For more information on
Brocade TruFOS Certificates, see Brocade TruFOS Certificates. Once the Brocade TruFOS license is installed,
proceed with the firmware download process.
5. Use the firmwaredownload command to download the firmware to the switch by using FTP, SFTP, SCP, or HTTP to
connect to an FTP or SSH server, or use a USB device with the downloaded firmware.
If you are using FTP, SFTP, SCP, or HTTP, verify that the FTP or SSH server is running on the host server and that
you have a valid user ID, password, and permissions for that server. If you plan to use the Challenge-Response
Authentication (CRA) protocol with either SFTP or SCP, you must first enable this protocol on the host server side.
FOS-90x-UPG-UG103
10
FOS-90x-UPG-UG103 User Guide Brocade® Fabric OS® Software Upgrade Guide, 9.0.x
If you are using a USB memory device, verify that it is connected and running by performing the following steps:
a) Visually confirm that the device is connected.
b) Enter usbstorage -e to mount the USB device.
c) Enter usbstorage -l to display the space on USB storage. This also lists the content from the USB device or
folder path in USB storage.
6. The firmwaredownload command supports both non-interactive and interactive modes. If this command is issued
without any operands or if there is any syntax error in the parameters, the command enters an interactive mode to
prompt you for input.
7. Unpack the downloaded firmware. The firmware expands into a directory that is named according to the version of
Fabric OS software in the file name. For example, if you download and unzip a file named v9.0.0_G6G7_DIR.zip
for an X6/X7 director, it expands into a directory that is named v9.0.0_G6G7_DIR .
8. Specify the complete path up to and including the 9.0.0 directory name using the interactive commands for the
firmwaredownload command to work properly. When you issue the firmwaredownload command, there is an
automatic search for the correct package file type associated with the switch.
<Firmware Server Name or IP Address>, <User_Account>, <File Name>, <Your_Password>
The following example displays the complete path for the firmwaredownload command:
switch:admin> firmwaredownload -s
Server Name or IP Address: 10.1.2.3
User Name: admin
File Name: /repository/fos/v9.0.0/v9.0.0_G6G7_DIR
NOTE
If DNS is enabled and a server name instead of a server IP address is specified in the command line,
firmwaredownload automatically determines whether IPv4 or IPv6 should be used. To mention an FTP
server by name, you must configure at least one DNS server using the dnsconfig command.
9. The following example illustrates the initial portion of an interactive firmware download. After this portion is complete, a
scrolling list of the firmware elements being installed is displayed.
switch:admin> firmwaredownload
Server Name or IP Address: 192.0.2.0
User Name: admin
File Name: /repository/fos/v9.0.0/v9.0.0_G6G7_DIR
Network Protocol(1-auto-select, 2-FTP, 3-SCP, 4-SFTP, 5-HTTP) [1]: 4
Password: <hidden>
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
NOTE
Do not use Linux utilities to expand files that are destined for a Windows server.
FOS-90x-UPG-UG103
11
FOS-90x-UPG-UG103 User Guide Brocade® Fabric OS® Software Upgrade Guide, 9.0.x
Staging Firmware
Firmware that is downloaded to the secondary partition using the firmwaredownload command with either the remote
(–r) or local (–lr) source option can be activated later using the firmwareactivate command. After the firmware is
downloaded, the update is incomplete until the new firmware is activated.
Perform any desired configuration changes before activating the new firmware. If the switch is rebooted or power-cycled,
the downloaded firmware is not affected because it is stored in the secondary partition. Any firmwarerestore or
firmwarecommit process starts when the firmware is activated. You can use the firmwareactivate command in
both single-CP and dual-CP environments.
To stage the firmware:
1. Download the firmware using one of the previously mentioned options.
2. Enter the firmwareshow command to find the status of the download.
switch:admin> firmwareshow
Appl Primary/Secondary Versions
----------------------------------
FOS v8.2.1
V8.2.1a
Activating Firmware
After downloading the firmware to a platform, the upgrade is incomplete until the firmware is activated.
Perform the following steps to activate the firmware:
1. Download the firmware to the secondary partition of the platform using firmwaredownload -r or
firmwaredownload -lr .
2. Enter firmwareshow to view the current firmware version on each partition.
switch:admin> firmwareshow
Appl Primary/Secondary Versions
-----------------------------------
FOS-90x-UPG-UG103
12
FOS-90x-UPG-UG103 User Guide Brocade® Fabric OS® Software Upgrade Guide, 9.0.x
Fabric OS v8.2.1
v8.2.1
FOS-90x-UPG-UG103
13
FOS-90x-UPG-UG103 User Guide Brocade® Fabric OS® Software Upgrade Guide, 9.0.x
FOS-90x-UPG-UG103
14
FOS-90x-UPG-UG103 User Guide Brocade® Fabric OS® Software Upgrade Guide, 9.0.x
Table 2: Gen 6 and Gen 7 Platforms and Supported Firmware Downgrade Versions from Fabric OS 9.0.x
FOS-90x-UPG-UG103
15
FOS-90x-UPG-UG103 User Guide Brocade® Fabric OS® Software Upgrade Guide, 9.0.x
The following table lists the upgrade and downgrade considerations for various features and the guides to refer to for
more information.
Flow Vision The Brocade Flow Vision feature has specific firmware upgrade and downgrade considerations. For
the firmware upgrade and downgrade considerations that apply to Flow Vision and the 9.0.x version of
Fabric OS software, refer to the upgrade and downgrade sections of the Brocade Fabric OS Flow Vision
User Guide.
Monitoring and Alerting The MAPS feature has specific firmware upgrade and downgrade considerations. For the firmware
Policy Suite (MAPS) upgrade and downgrade considerations that apply to MAPS and the 9.0.x version of Fabric OS software,
refer to the Brocade Fabric OS MAPS User Guide.
IP Extension Brocade IP Extension configuration has specific firmware upgrade and downgrade considerations.
For the firmware upgrade and downgrade considerations that apply to IP Extension configuration and
the 9.0.x version of Fabric OS software, refer to the Brocade Fabric OS Extension User Guide.
FCoE The Brocade FCoE feature has specific firmware upgrade and downgrade considerations. For the
firmware upgrade and downgrade considerations that apply to FCoE and the 9.0.x version of Fabric OS
software, refer to the upgrade and downgrade sections of the Brocade Fabric OS FCoE User Guide.
Current Fabric
Upgrade Procedure
OS Version
Fabric OS 8.2.x A nondisruptive direct upgrade is possible.
Fabric OS 8.1.x A disruptive direct upgrade is possible by using the firmwaredownload -s command.
FOS-90x-UPG-UG103
16
FOS-90x-UPG-UG103 User Guide Brocade® Fabric OS® Software Upgrade Guide, 9.0.x
• 10BASE-T/Full
• 100BASE-T/Full
• 1000BASE-T/Full
Supported Blades
The following table provides details on the blades supported in Gen 7 directors or in the existing Gen 6 directors upgraded
to Gen 7 directors that are running Fabric OS 9.0.x.
Connected Switches
Before you upgrade the firmware on your switch or director, review the connected switches in your fabric to ensure
compatibility with the new Fabric OS version and that any older Fabric OS versions are supported. Refer to the Fabric OS
release notes for the recommended firmware version.
NOTE
Starting simultaneous firmware downloads on adjacent fixed-port switches may result in traffic disruption.
To determine whether you must upgrade other switches connected to your switch, use the version command on each
connected switch to view the firmware information and build dates.
FOS-90x-UPG-UG103
17
FOS-90x-UPG-UG103 User Guide Brocade® Fabric OS® Software Upgrade Guide, 9.0.x
For more information on replacing Gen 6 core blades with Gen 7 core blades, refer to the Brocade X6 Field Migration
Guide.
FOS-90x-UPG-UG103
18
FOS-90x-UPG-UG103 User Guide Brocade® Fabric OS® Software Upgrade Guide, 9.0.x
NOTE
If DNS is enabled and a server name instead of a server IP address is specified in the command line,
firmwaredownload automatically determines whether IPv4 or IPv6 should be used. To mention an FTP
server by name, you must configure at least one DNS server using the firmwaredownload command.
3. Enter y at the Do you want to continue [y/n] prompt.
4. After the high availability (HA) reboot, reconnect to the switch and log in again using an account with admin
permissions.
NOTE
During the brief period of (HA) reboot on fixed-port switches, exchanges involving Fibre Channel Generic
Services may experience a delay. Fixed-port switches must retry the operations in this case.
FOS-90x-UPG-UG103
19
FOS-90x-UPG-UG103 User Guide Brocade® Fabric OS® Software Upgrade Guide, 9.0.x
Please acknowledge that you have read and accept Broadcom's EULA stipulations.
Please respond (Y/y=accept, N/n=do not accept, or (S/s) to show the EULA) : y
-------------------Output truncated------------------------------
FOS-90x-UPG-UG103
20
FOS-90x-UPG-UG103 User Guide Brocade® Fabric OS® Software Upgrade Guide, 9.0.x
If your device is not running the latest FPGA image, running fpgaupgrade updates the FPGA flash memory with the new
image and then verifies that the updated image is correctly installed. The following example illustrates a switch that needs
the latest FPGA version upgrade:
switch:admin> fpgaupgrade
This is a disruptive operation and will require a power-cycle after the completion of the operation.
Do you want to continue (y/n) ?
y
Programming new FPGA, this may take a few minutes ...
Device #1 IDCODE is 0310A0DD
full-chip erasing Max 10 FPGA device(s) ...
programming Max 10 FPGA CFM0 block at sector 5 ...
programming Max 10 FPGA CFM1 block at sector 3 ...
programming Max 10 FPGA CFM1 block at sector 4 ...
programming Max 10 FPGA UFM block at sector 2 ...
verifying Max 10 FPGA CFM0 block at sector 5 ...
verifying Max 10 FPGA CFM1 block at sector 3 ...
verifying Max 10 FPGA CFM1 block at sector 4 ...
verifying Max 10 FPGA UFM block at sector 2 ...
programming Max 10 FPGA DSM block ...
DONE
Test time elapsed = 162.764267 sec
Exit code = 0... Success
Programmed new FPGA successfully. Please power-cycle for it to take effect.
You can use fpgaupgrade --latest to verify if the running FPGA image is the latest or not. The following example
shows a down-level FPGA.
switch:admin> fpgaupgrade --latest
Current Latest
-------------------------
0x05.05 0x06.06
Depending on the error, you may be requested not to power-cycle the system until the corrective action is taken. The
following example shows an FPGA update failure:
switch:admin> fpgaupgrade
This is a disruptive operation and will require a power-cycle after the completion of the operation.
Do you want to continue (y/n) ?
y
Programming new FPGA, this may take a few minutes ...
Exit code = 6… Device verify failure
FPGA update failed. Avoid doing power cycle
Failed to program new FPGA (-1)
CAUTION
Do not power-cycle the affected blade or switch before contacting your switch supplier if there is an error.
A failed FPGA update can result in an outage for the affected blade or the entire switch (in the case of a
nonbladed chassis).
FOS-90x-UPG-UG103
21
FOS-90x-UPG-UG103 User Guide Brocade® Fabric OS® Software Upgrade Guide, 9.0.x
NOTE
If the director being upgraded does not support HA (either due to a synchronization issue or because the
director has been disabled), you can still upgrade the CPs one at a time. However, this process may disrupt
traffic if the sync feature is not available. To upgrade the CPs, follow the directions for fixed-port switch
upgrades.
Before you begin, see Connected Switches and confirm that all connected switches in the fabric are running a supported
version of the Fabric OS firmware before starting any upgrades. If they are not, you should upgrade the deficient switches
before proceeding. Use the firmwareshow command to determine the current firmware version on each switch.
1. Verify that the Ethernet interfaces CP0 and CP1 are plugged into your network.
2. Verify that the FTP, SCP, SFTP, or HTTP server is running on the host server and that you have full access (a valid
user ID, a password, and permissions) on that server.
3. Unpack the compressed files, preserving the directory structures.
See Downloading Firmware for details on this process for your environment. If you plan to use a USB device for
firmwaredownload , you should copy the uncompressed release folder to the device now.
4. Connect to the chassis IP management interface or active control processor and log in using an account with admin
permissions.
NOTE
A Brocade director has only one chassis management IP address.
NOTE
Synchronization of the CPs is not the same as the synchronization of the firmware. The CPs can differ in
firmware versions and still be in sync. See the firmwaresync command to trigger a sync of the actual
firmware from the active CP to the standby CP.
5. Enter the hashow command to confirm that the two CP blades are synchronized.
In the following example, the active CP blade is CP0, and the standby CP blade is CP1:
switch:admin> hashow
Local CP (Slot 1, CP0): Active, Cold Recovered
Remote CP (Slot 2, CP1): Standby, Healthy
HA enabled, Heartbeat Up, HA State synchronized
If the CP blades are not synchronized, enter the hasyncstart command to synchronize them. If the CPs remain
unsynchronized, contact your switch service provider.
For further troubleshooting, refer to the Brocade Fabric OS Troubleshooting and Diagnostics Reference Manual.
6. Enter the firmwaredownload command. Enter y at the following EULA prompt and respond to the successive
interactive prompts.
Please acknowledge that you have read and accept Broadcom's EULA stipulations. Please
respond (Y/y=accept, N/n=do not accept, or (S/s) to show the EULA) :
7. Enter y at the Do you want to continue [Y] prompt.
The firmware is downloaded to one CP blade at a time, beginning with the standby CP blade. During the process, the
active CP blade fails over. After the firmware is downloaded, a firmware commit starts on both CP blades. The entire
firmware download and commit process takes approximately 17 minutes.
On the Brocade X6-4/X6-8 Director, if an SX6 blade is present: Upon failover, an autoleveling process is activated.
Autoleveling is triggered when the active CP detects a blade that contains a different firmware version, regardless of
which version is older. Once the autoleveling is triggered, it performs the following:
1. Downloads the firmware to the internal BP processor of the blade.
FOS-90x-UPG-UG103
22
FOS-90x-UPG-UG103 User Guide Brocade® Fabric OS® Software Upgrade Guide, 9.0.x
2. Swaps partitions.
3. Reboots the blade.
4. Copies the new firmware from the primary partition to the secondary partition.
If you have multiple SX6 blades, they are updated simultaneously; however, the downloads may occur at different
rates.
Autoleveling occurs in parallel with the firmware download being performed on the CPs, but it does not impact
performance. Fibre Channel traffic is not disrupted during autoleveling, but Gigabit Ethernet (GbE) traffic on application
processor (AP) blades may be affected. If there is an active FCIP tunnel on the SX6 blade, the FCIP tunnel traffic is
impacted for at least 2 minutes.
switch:admin> firmwaredownload
Server Name or IP Address: 10.01.02.03
User Name: admin
File Name: /home/user/9.0.0
Network Protocol (1-auto-select, 2-FTP, 3-SCP, 4-SFTP, 5-HTTP) [1]: 1
Password:
Please acknowledge that you have read and accept Broadcom's EULA stipulations.Please respond (Y/y=accept,
N/n=do not accept, or (S/s) to show the EULA) : y
8. After the failover, connect to the switch and log in again using an admin account.
9. Using a separate session to connect to the switch, enter firmwaredownloadstatus to monitor the firmware
download status.
switch:admin> firmwaredownloadstatus
[1]: Fri Jan 24 16:25:49 2020Slot 2 (CP1, active): Firmware is being downloaded to standby CP. This step
may take up to 30 minutes.
[2]: Fri Jan 24 16:31:49 2020Slot 2 (CP1, active): Firmware has been downloaded successfully to Standby
CP.
[3]: Fri Jan 24 16:31:51 2020Slot 2 (CP1, active): Standby CP is going to reboot with new firmware.
[4]: Fri Jan 24 16:35:41 2020Slot 1 (CP0, active): Forced failover succeeded. New Active CP is running new
firmware
[5]: Fri Jan 24 16:36:48 2020Slot 1 (CP0, active): Firmware is being downloaded to standby CP. This step
may take up to 30 minutes.
[6]: Fri Jan 24 16:39:27 2020Slot 1 (CP0, active): Firmware has been downloaded successfully on Standby
CP.
[7]: Fri Jan 24 16:39:27 2020Slot 1 (CP0, active): Standby CP reboots.
[8]: Fri Jan 24 16:41:59 2020Slot 1 (CP0, active): Firmware commit operation has started on both active
and standby CPs.
[9]: Fri Jan 24 16:42:00 2020Slot 1 (CP0, active): The firmware commit operation has started. This may
take up to 10 minutes.
[10]: Fri Jan 24 16:42:00 2020Slot 1 (CP0, active): Standby CP booted successfully with new firmware.
[11]: Fri Jan 24 16:46:08 2020Slot 1 (CP0, active): The commit operation has completed successfully.
[12]: Fri Jan 24 16:46:08 2020Slot 1 (CP0, active): Firmware commit operation has completed successfully
on active CP.
10. Enter firmwareshow to display the installed firmware version. The output allows you to confirm that the firmware has
been correctly installed.
switch:admin> firmwareshow
Appl Primary/Secondary Versions
FOS-90x-UPG-UG103
23
FOS-90x-UPG-UG103 User Guide Brocade® Fabric OS® Software Upgrade Guide, 9.0.x
------------------------------------------
FOS v9.0.0
v9.0.0
Command Description
firmwareshow Displays the current firmware level on the switch, including any states in transition during the
firmware download process.
For Brocade chassis-based devices, this command displays the firmware that is loaded on both
partitions (primary and secondary) for all control processor (CP) and application processor (AP)
blades. Maintain the same firmware level on both partitions of each CP within the device.
firmwaredownloadstatus Displays an event log that records the progress and status of events during Fabric OS firmware
downloads. An event log is created by the current firmwaredownload command and is kept
until another firmwaredownload command is issued. A timestamp is associated with each
event.
When downloading to devices with two control processors, you can run this command only on the
active CP.
firmwarekeyshow Displays the contents of the public key that is used for validating the integrity of firmware images.
A firmware key should be installed on every switch as a part of the Fabric OS installation. A
signed firmware download is the default behavior. During a firmware download, if the validation
succeeds, the firmware download proceeds normally. If the firmware is not signed or if the
signature validation fails, the firmware download fails.
For information on firmwarekeyshow commands, refer to Brocade Fabric OS Command
Reference Manual.
FOS-90x-UPG-UG103
24
FOS-90x-UPG-UG103 User Guide Brocade® Fabric OS® Software Upgrade Guide, 9.0.x
Command Description
nsshow Displays all devices directly connected to the switch that have logged on to the name server.
This command displays Connected through AG: Yes if devices are connected to the
fabric through an Access Gateway, and it displays Real device behind AG: Yes if a real
device is connected behind the Access Gateway device.
After the firmware download, ensure that the number of attached devices is the same as the
number of attached devices before the firmware download.
nsallshow Displays the port IDs for all devices connected to fabric.
After the firmware download, ensure that the number of attached devices is the same as the
number of attached devices before the firmware download.
fabricshow Displays all devices in a fabric.
After the firmware download, ensure that the number of devices in the fabric is the same as the
number of attached devices before the firmware download.
FOS-90x-UPG-UG103
25
FOS-90x-UPG-UG103 User Guide Brocade® Fabric OS® Software Upgrade Guide, 9.0.x
Testing Firmware
This section provides steps to restore a switch to the original firmware version after evaluating a newer version and
perform a firmware download on each control processor on Brocade Directors and restore the former Fabric OS firmware
image.
Once you have downloaded and installed the new firmware version, you can evaluate it. Once you complete your
evaluation, you can either commit the firmware (install it fully) or revert to the previously installed version.
Committing Evaluation Firmware
If you want to commit (fully install) the firmware that you have been evaluating, complete the following steps:
1. Enter firmwareshow to confirm that the primary partition of the switch contains the new firmware.
2. Enter firmwarecommit to update the secondary partition with the new firmware.
It takes several minutes to complete the commit operation.
3. Enter firmwaredownloadstatus to view the status of the firmware download.
4. Enter firmwareshow to confirm that both partitions on the switch contain the new firmware.
When you complete this step, you have committed the firmware to the switch and completed the firmware download
procedure.
FOS-90x-UPG-UG103
26
FOS-90x-UPG-UG103 User Guide Brocade® Fabric OS® Software Upgrade Guide, 9.0.x
If the CPs are not in sync, see Downloading Firmware for instructions on synchronizing them.
FOS-90x-UPG-UG103
27
FOS-90x-UPG-UG103 User Guide Brocade® Fabric OS® Software Upgrade Guide, 9.0.x
5. Enter firmwareshow and confirm that the current firmware on both partitions on both CPs is listed as expected.
6. Exit the session.
7. Update the firmware on the standby CP.
a) Connect to the director and log in as admin to the standby CP.
b) Enter firmwaredownload and respond to the prompts.
At this point, the firmware downloads to the standby CP only. When the download to the standby CP has
completed, reboot the CP. The current session is disconnected.
8. Fail over to the standby CP.
a) Connect to the active CP.
b) Enter hashow and verify that high availability (HA) synchronization is complete. It typically takes a minute or two
for the standby CP to reboot and synchronize with the active CP.
c) Enter firmwareshow and confirm that the primary partition of the standby CP contains the new firmware.
d) Enter hafailover . The active CP reboots, and the current session is disconnected.
If an SX6 blade is installed: At the point of failover, an autoleveling process is activated to match the firmware on
the blade with the firmware on the active CP. Both blade partitions must always contain the same firmware version.
The firmware is stored on the compact flash card of the blade and is always synchronized with the firmware of the
active CP. This is why the blade firmware is automatically downloaded (autoleveled) to become consistent with the
CP firmware.
9. Verify that the failover succeeded.
a) Connect to the active CP (the former standby CP).
b) Enter hashow and verify that the HA synchronization is complete. It takes a minute or two for the standby CP,
which is the old active CP, to reboot and synchronize with the active CP.
NOTE
If the CPs fail to synchronize, you can still proceed because the version being tested is already present
on the active CP, and subsequent steps ensure that the standby CP is updated to the same version as
the active CP.
c) Enter firmwareshow to confirm that the evaluation firmware version is now running on the active CP.
10. Update the firmware on the standby CP. This allows you to test and validate HA failover using the new firmware.
a) Connect to the standby CP (the former active CP).
b) Enter firmwaredownload -sbn . This ensures that the following steps are successful.
The firmware is downloaded to the standby CP only, and that CP is rebooted. This causes the current login session
to be disconnected.
c) Wait until the HA is synchronized, and connect to the director and log in as admin.
d) Enter firmwareshow and confirm that both primary partitions have the test-drive firmware.
You are now ready to evaluate the new firmware version.
ATTENTION
Stop! If you want to restore the firmware, stop here and skip to Step 13. Otherwise, continue to Step 11
to commit the firmware on both CPs; this completes the firmware download.
11. Enter firmwarecommit to update the secondary partition on the standby CP with the new firmware.
CAUTION
Do not do anything on the director while this operation is in process. It takes several minutes to complete the
commit operation.
FOS-90x-UPG-UG103
28
FOS-90x-UPG-UG103 User Guide Brocade® Fabric OS® Software Upgrade Guide, 9.0.x
c) Enter firmwareshow and confirm that both partitions on both CPs contain the new firmware when the
firmwarecommit command completes.
d) Enter hashow and confirm that the HA state is in sync.
ATTENTION
Stop! If you have completed both Steps 11 and 12, the firmware has been committed to both CPs, and the
firmware download procedure is complete.
13. Enter firmwarerestore in the current session on the standby CP to restore the firmware on that CP.
The standby CP reboots, and the current session ends. After several minutes, both partitions should have the same
Fabric OS version.
14. Run HA failover on the active CP.
a) Enter hashow in the current session on the active CP, and verify that HA synchronization is complete.
It typically takes a minute or two for the standby CP to reboot and synchronize with the active CP.
b) Enter hafailover .
The active CP reboots, and the current session ends. The director is now running the original firmware on the
original active CP.
15. Restore the firmware on the new standby CP.
a) Wait 1 minute, and then connect to the director on the new standby CP, which is the former active CP.
b) Enter firmwarerestore .
The standby CP reboots, and the current session ends. After several minutes, both partitions should have the
same Fabric OS version.
c) Wait 5 minutes, and then log back in to the director.
d) Enter firmwareshow and verify that all partitions have the original firmware.
Your system is now restored to the original partitions on both CPs. You should confirm that all servers using
the fabric can access their storage devices. See Validating the Firmware Version and Firmware Signature for
information on this task.
If an SX6 blade is installed: Both blade partitions must always contain the same firmware version. The firmware
is stored on the compact flash card of the blade and is always synchronized with the active firmware of the CP.
Thus, if you restore the active CP firmware, the blade firmware is automatically downloaded (autoleveled) to become
consistent with the active CP firmware (the blade firmware is restored).
If you want to upgrade a director that has only one CP installed, follow the procedures in Testing and Restoring
Firmware on Directors. Be aware that upgrading a director with only one CP is disruptive to switch traffic.
FOS-90x-UPG-UG103
29
FOS-90x-UPG-UG103 User Guide Brocade® Fabric OS® Software Upgrade Guide, 9.0.x
NOTE
The information in this procedure is written at a moderately high level of abstraction, so you may need to look at
the more detailed steps in Testing a Different Firmware Version on a Director if you have questions.
1. Enter firmwaredownload -sn to download the firmware to the standby CP without committing it.
2. Reboot the standby CP.
3. Enter hafailover on the active CP to cause the standby CP to come up as the active CP with the test-drive firmware
active.
4. Run tests as desired on the new firmware on the active CP.
5. Once you have completed your testing, you have two options; neither will disrupt the traffic on the director.
• Option 1: I want to restore the firmware I had before.
a. Enter hafailover on the active CP to get back to the original CP (running the original firmware).
b. Enter firmwarerestore on the standby CP.
This will reboot the standby, swap the partitions, and then run firmwarecommit on the standby CP.
• Option 2: I want to fully install the new firmware.
a. Enter firmwaredownload -sb on the current standby CP (running the original firmware).
This loads new firmware, reboots the director, and then commits the firmware on the standby.
b. Enter firmwarecommit on the current active CP (running the new firmware).
You are now done. Both CPs have the latest firmware committed and active.
FOS-90x-UPG-UG103
30
FOS-90x-UPG-UG103 User Guide Brocade® Fabric OS® Software Upgrade Guide, 9.0.x
Revision History
The revision history provides a list of the significant changes made in each version of the document.
FOS-90x-UPG-UG103
31
FOS-90x-UPG-UG103 User Guide Brocade® Fabric OS® Software Upgrade Guide, 9.0.x
FOS-90x-UPG-UG103
32