Skip to main content

export command

Use the export command to export the FoD key from the target key repository.

export command syntax

OneCli.exe fod export < --keyid <key_id>> [<options>]
Table 1. export command specific parameters
ParameterRequired/OptionalNotes
--authprotoOptionalThe parameter only for snmpv3, Protocol supported value: MD5/SHA, default: No auth. Format: --authproto MD5 or --authproto.
--communityOptionalCommunity for snmpv1v2. Supported value: public/private/ protect, default: public
--kcsOptionalForce to use IPMI over KCS local interface.
--keyidRequiredSpecify the FoD key ID that can be acquired from command report. If the key ID is specified to “all”, all the FoD keys in the target key repository will be exported.
--node, -nOptionalNode index for in-band case on a multi-node system.
--privprotoOptionalThe parameter only for snmpv3. Privacy protocol supported value: DES/AES, default: No privacy.Format: --privproto DES or --privproto.
--privpasswdOptionalPrivacy password.
--sftpOptional

Specify the SFTP server.

Format: user:password@IP:port

--switchOptionalSWITCH connection information. Format: user:password@IP: port
--tftpOptionalTFTP server for snmp interface. Format: user:password@host: port
  • --bmc, -b

  • --bmc-cim-port, -p

  • --bmc-password, -w

  • --bmc-username, -u

  • --cmm, -c

  • --check-trust, -C

  • --never-check-trust, -N

  • --nolog

  • --output, -o

Optional

Refer to Table 2.

Example of the export command

OneCli.exe fod export --keyid 8e347c0bd269cd57 --bmc userid:password@10.240.204.147 --output reportkey