Skip to main content

showdefault command

Use the showdefault command to view the default values of one or more settings.

showdefault command syntax

OneCli.exe config showdefault [command option] [<options>]
Table 1. showdefault 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.

--hexOptional

Display the hex number for Integer settings when the --hex parameter is used in the show / showdefault / showvalues command.

Obtain the hex number for Integer setting when the --hex parameter is used in the set command.

--interactive, -iOptional

Configure the OneCLI interactive mode. In this mode, OneCLI guides user to input the parameter step by step. Users can also click Tab to generate the configuration setting name.

--kcsOptionalForce to use IPMI over KCS local interface.
--redfishOptionalForce to communicate with BMC through Redfish.
  • --bmc, -b

  • --bmc-rest-port, -p

  • --bmc-password, -w

  • --bmc-username, -u

  • --check-trust, -C

  • --config

  • --node

  • --nolog

  • --never-check-trust, -N

  • --output, -o

  • --redfish

Optional

Refer to Table 2.

Note
Some settings do not have a default value and will not be included in the list.

Example of the showdefault command

In the normal mode:

OneCli.exe config showdefault

In the interactive mode:

onecli.exe config showdefault -i