multiscan command
Use the multiscan command to remotely scan the firmware information of multiple BMC, and specify the BMC information and the configuration parameters by using a JSON configuration file. The output results are saved in the OneCLI logs in xml format, for example, multi_task\20190429_154002\Success-10.240.194.248\Onecli-update-scan.xml.
multiscan command syntax
OneCli.exe update multiscan < --configfile <arg>> [--dir <arg>] [--quiet|-q] [--pattern <arg>] [--check-trust|-C]
[--never-check-trust|-N] [--output|-o <arg>] [--nolog] [--config <arg>] [--help|-h]
Options
--pattern: Filter the items in the scan result tables of multi servers through the regular expression. The outputs are displayed on the screen and recorded in the JSON file in the log directory.
--configfile: Specify the JSON configuration file. The template file is available in Sample/multi_task_config.json in OneCLI binary.
Parameter | Required/Optional | Notes |
---|---|---|
--configfile | Required | Specify the JSON configuration file for multi-task commands. The template file is available in Sample/multi_task_config.json in OneCLI binary. |
--config | Optional | Specify the file path for the OneCLI config commands. |
--dir | Optional | Specify the directory of the firmware package. If no directory is specified, use the current directory. |
--pattern | Optional | Filter the items in the scan result tables of multi servers through the regular expression. The outputs are displayed on the screen and recorded in the JSON file in the log directory. |
--quiet, -q | Optional | This parameter answers |
| Optional | Refer to Table 2. |
Example of the multiscan command
OneCli.exe update multiscan --configfile xxxconfig.json --quiet --pattern “^UEFI”