UPDATE FIRMWARE

Enter this command to flash the specified image file from the NAND or URL to the appropriate devices. When flashing cartridges, the command will accept multiple cartridges in the argument. To flash all cartridges specify all in the argument.

When updating the firmware on cartridges, the output is displayed in a wide format (approximately 148 columns). Be sure to configure your terminal window to display output this wide (see Command output example 3 (updating server cartridges). Each applicable cartridge column shows a period at the start, indicating a pending update. This changes to a percentage as each cartridge updates. When the completion reaches 100 percent, each column then displays ok for a successful update, or er for a failed update. Final status is also shown below the columns when the update is finished.


[TIP: ]

TIP: Press Tab to auto-complete a firmware filename when entering the update firmware command. Remember that you can enter multiple targets in the command. For more information about entering multiple targets, see Location“Location”.


Command syntax

update firmware { <filename> | <url> } [force] [ <Cx> | sA | sB | [all]]

Access privilege

Administrator

Restrictions

To use an URL as an argument, the file must be available on a server in the management network via HTTP. For more information about setting up a server for firmware files, see HPE Moonshot iLO Chassis Management Firmware and file management.


[NOTE: ]

NOTE: The MIME type settings on the HTTP server must be configured to recognize the unique filename extensions HPb, Hex, and stk.



[WARNING! ]

About forced updates!

When a firmware update has the potential to be highly disruptive or damaging (such as a switch update that would take down the network), the firmware file includes a force field in the header. You must include the force argument to successfully update firmware that has the force field set. A warning message displays if a firmware update requires the force argument, and you can run the update command (adding the force argument) again to perform the update.


Output

Command output example 1 (Switch firmware update)

hpiLO-> update firmware Switch_FW_45G_180G_2.0.3.1.bin force sa

Reading file from iLO Chassis Manager repository
Updating HP Moonshot Switch Firmware Image 
  Update status: 100% complete
  Update complete

Command output example 2 (Moonshot iLO CM firmware update)

hpiLO-> update firmware iLO_Chassis_Manager_1.40

Reading file from iLO Chassis Manager repository
Updating iLO Chassis Manager 1.40
  Update status: 100% complete
  Update complete

[NOTE: ]

NOTE: Updating the Moonshot iLO CM firmware closes the SSH session when complete.


Command output example 3 (updating server cartridges)