Skip to main content

iflash command

Use the iflash command to parse and update the system firmware. OneCLI will flash these system firmware packages one by one in legacy way (ipmi).

Table 1. iflash command specific parameters
ParameterRequired/OptionalNotes
--dirOptional

Specify the directory of the firmware package.

If no directory is specified, use the current directory.

The --dir parameter is only used with the --nocompare parameter (in no compare mode).

--forceidOptional

Similar with the --includeid parameter, but it can add force tag for these updateids to enforce the downgrade. Besides the specified ID, it also supports “all”, which means it can add force tag for all the suggested flash packages.

The --forceid parameter works on the following cases:

  1. Force to downgrade.

  2. Force to install the package no matter the device is listed in the scan.xml or not.

  3. Ignore the never section tag in the package xml when querying HBA updates for QLogic.

  4. Ignore the missing prereq. Force to install the package.

By default, there is no force tag for the flash packages.
--includeidOptional

Specify the target package ID for different commands.

Usually an ID is the package file name without extension.

For example: lnvgy_dd_sraidmr_7.700.20.00_sles12_indiv

--norebootOptional

By default, BMC will automatically restart and take effect after the update. However, if the --noreboot parameter is specified, the flashed BMC will not restart automatically after the update. To activate the new firmware, users should manually restart the BMC.

When flashing a BMC, the --noreboot parameter can only be used with the primary BMC.

The --noreboot parameter is not used for I/O module targets.

--output, -oOptional

Specify the output directory. By default, the output directory is saved in ./logs/.

--quiet, -qOptional

This parameter answers yes for all questions, and decreases the outputs displayed on screen.

  • --bmc-username

  • --bmc-password

Optional

Refer to Table 2.

Note
Users can only use --bmc-username and --bmc-password for the iflash command in the ThinkSystem servers.
--backupOptionalIf the --backup parameter is specified, the command compares backup IMM and UEFI firmware, instead of the primary BMC and UEFI firmware.
--kcsOptionalIf the --kcs parameter is specified, the control channel will be over KCS.
--nologOptionalRun OneCLI without logging.
--configOptionalSpecify the OneCLI global config file path, in the format of ./global.config.

Example of the iflash command

OneCli.exe update iflash [--dir <arg>] [--includeid|-I <arg>] [--forceid|-F <arg>] [--bmc-username|-u <arg>] 
[--bmc-password|-w <arg>] [--quiet|-q] [--kcs] [--noreboot] [--output|-o <arg>] [--help|-h] [--backup]