Skip to main content

loaddefault command

Use the loaddefault command to load the default values of one or more settings.

loaddefault command syntax

OneCli.exe multiconfig loaddefault [command option] <--configfile <arg>> [common options]
Table 1. loaddefault 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.

--configfileRequiredSpecify the config file for multi task command, the format refer to Sample/multi_task_config.json.
--exclude, -eOptional

Specify the settings group name not be loaded to default.

The valid values include: login_settings, network_settings, and login_network_settings.

--postOptionalThis parameter is only for UEFI settings. By using this parameter, users can load default settings in the same way as using the Post Load Default Settings function in UEFI (F1) menu. The changed settings take effect after restarting host server.
--redfishOptionalForce to communicate with BMC through Redfish.

Example of the loaddefault command

OneCli multiconfig loaddefault IMM --configfile multi_task_config.json