Skip to main content

import command

Use the import command to import the certificate and expose the UEFI extra settings to multiple servers.

import command syntax

OneCli.exe config import <setting> --file <importfilename> [common options
Table 1. import command specific parameters
ParameterRequired/OptionalNotes
command optionOptional
  • all: Default value. Displays all of the supported settings.

  • group name: Displays the settings that belong to a group name, such as IMM, UEFI, and so on.

  • setting name: The setting name value.

--extra-settingsRequiredSpecify OneCLI to process the UEFI extra settings.
--fileRequired
  • For importing the certificate: Specify the binary file name in DER form, which contains the certificate data.

  • For exposing the UEFI setting: Specify the file name of import file.

  • --redfish

Optional

Refer to Table 2.

Example of the import command

To import the certificate:

OneCli config import BMC.SSL_HTTPS_SERVER_CSR --bmc USERID:xxxx@xx.xxx.xxx.xx 
--log 5 --file export.pem --output output/oob_import_certificate_ipv4 -N --redfis

To expose the setting:

OneCli config import --file importjsonfile.txt --advance-setup -q -b USERID:
xxxx@xxxx@xx.xxx.xxx.xxx --log 5