acquire command
Use the acquire command to generate and acquire the FoD key from Lenovo Web site and install the key to the target key repository.
acquire command syntax
OneCli.exe [misc] fod acquire < --uid >> < --auth <auth_code>> < --kmsid <kms_id>> < --mt <mt>>
< --installin <mt_sn>> [--all] [--dir <dir_name>] [--proxy <proxy_info>] [<options>]
Parameter | Required/Optional | Notes |
---|---|---|
--all | Optional | Get all the FoD keys for the specified system. |
--auth | Required | Specify Lenovo authorization code. |
--authproto | Optional | The parameter only for snmpv3, Protocol supported value: MD5/SHA, default: No auth. Format: --authproto MD5 or --authproto. |
--community | Optional | Community for snmpv1v2. Supported value: public/private/ protect, default: public |
--dir | Optional | Specify the directory to save the downloaded key file. The default value is the current directory. |
--installin | Optional | System machine type and serial number of the target system. |
--kcs | Optional | Force to use IPMI over KCS local interface. |
--kmsid | Required | Specify Lenovo ID credential for Lenovo Web site interactive. |
--mt | Optional | Specify system machine type for system/option feature. |
--node, -n | Optional | Node index for in-band case on a multi-node system. |
--privproto | Optional | The parameter only for snmpv3. Privacy protocol supported value: DES/AES, default: No privacy.Format: --privproto DES or --privproto. |
--privpasswd | Optional | Privacy password. |
--proxy | Optional | Use proxy to connect to Lenovo Web site. The format is user: password@host[:port]. For IPv6 address, the format is socks5://user:password@[IPv6]:port. |
--sftp | Optional | Specify the SFTP server. Format: user:password@IP:port |
--switch | Optional | SWITCH connection information. Format: user:password@IP: port |
--tftp | Optional | TFTP server for snmp interface. Format: user:password@host: port |
--uid | Optional | Specify unique identifier information. |
| Optional | Refer to Table 2. |
Example of the acquire command
OneCli.exe fod acquire --mt 2582 --uid xxx --auth xxx --kmsid userid:password
--bmc userid:password@host
Note
If the FoD key is already generated in KMS, the acquire command will report the failure in generating. Acquire and install the FoD key through the steps in the following section.
Give documentation feedback