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
Parameter Required/Optional Notes
--dir Optional

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).

--forceid Optional

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.
--includeid Optional

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_x86-64

--noreboot Optional

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, -o Optional

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

--quiet, -q Optional

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.
--backup Optional If the --backup parameter is specified, the command compares backup IMM and UEFI firmware, instead of the primary BMC and UEFI firmware.
--kcs Optional If the --kcs parameter is specified, the control channel will be over KCS.
--nolog Optional Run OneCLI without logging.
--config Optional Specify 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]