scan command
Use the scan command to build a list of available firmware and device driver updates for the targeted device. The XML file generated with scan command can be used by the compare command.
For Out-of-Band (OOB) mode, scan results include only firmware.
For In-Band (IB) mode, scan results include both firmware and device drivers.
Options
- --remoteos: Specify the remote OS login credential for OneCLI to manage the servers. After connecting to Linux OS, OneCLI supports to update firmware and device driver. Ensure that the OneCLI binary for the remote Linux OS is in the directory specified with the --dir parameter. The sample command is: ./OneCli update compare --remoteos root@xx. xx.xx.xx --dir packages --quiet.NoteBefore using this function, users should set
PasswordAuthentication yes
to enable the tunneled clear text passwords in/etc/ssh/ sshd_config.
scan command syntax
Onecli.exe update scan [--bmc <userid:password@host[:port]>] [--esxi <userid:password@host[:port]>]
[--remoteos userid:password@host[:port]][--cmm <userid:password@host[:port]>]
[--smm <userid:password@host[:port]>] [--iobay <bay_number>][--output<folder>] [<options>]
Parameter | Required/Optional | Notes |
---|---|---|
--iobay | Optional | bay_number specifies the I/O module bay number. Valid values are 1, 2, 3, or 4. The --iobay parameter specifies an I/O module scan operation. When scanning an I/O module target, the --cmm parameter must also be specified. |
--cmm | Optional | Specify the CMM information for the scan functions. If the --scanxml parameter or the --noscan parameter is specified, this parameter is not required. |
--esxi | Required | Specify the esxi OS information, including OS user name, password, IP address, and port. |
--remoteos | Optional | Specify the remote OS login credential for OneCLI to manage system in the local host OS. Support Windows-to-Windows, Linux-to-Linux, and Windows-to-Linux. |
--smm | Required | Specify the access information of the target SMM. The format is: userid:password@host[:port]. Note
|
--type, -T | Optional | Specify the type of package or component to be downloaded, scanned, compared, or flashed. |
| Optional | Refer to Table 2. |
Example of the scan command
In this example, we are building a list of firmware (update scan command) installed in a CMM that is accessed with a user ID of “userid”, a password of “password”, and an IP address of “host” (--cmm userid:password@host argument) storing the scan report XML file (using the default file name) in the “output” directory (--output .\872102cn03e\output\ argument).
Onecli.exe update scan --cmm userid:password@host --output .\872102cn03e\output\