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).
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:
|
--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_indiv |
--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 |
| Optional | Refer to Table 2. Note Users can only use --bmc-username and --bmc-password for the |
--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]