set command

Use the set command to change the setting value. If the instance does not exist or the instance value is less than or equal to the allowed maximum value, users can create an instance by using the set command.

For more information about instances, see Instance and non-instance settings.

set command syntax

OneCli.exe config set <settingname> [settingvalue] [common options]

Table 1. set command specific parameters
Parameter Required/Optional Notes
settingname Required

Use the set command to change the setting value.

Users should input the settingname parameter behind the set command in command line.

settingvalue Optional

Specify the changed setting value.

Users should input the settingvalue parameter behind the setting name in command line.

Note:
  • If the settingvalue is blank, enter a value in quotes.
  • If the settingvalue is not specified, OneCLI will change the setting value in the security mode. For more information, refer to Changing setting values in security mode.

--smm Optional

Specify the access information of the target SMM. The format is: userid:password@host[:port].

Note:
  • Both the IPv4 address and the IPv6 address are supported. The IPv6 address shall be enclosed in square brackets. For example, [FE80:3BA7:94FF:FE07:CBD0].

  • If the IPv6 is LLA, the format is [FE80:3BA7:94FF:FE07:CBD0%xxx]. Replace xxx with the interface name.

  • --bmc, -b

  • --bmc-cim-port, -p

  • --bmc-password, -w

  • --bmc-username, -u

  • --check-trust, -C

  • --config

  • --node

  • --nolog

  • --never-check-trust, -N

  • --output, -o

Optional

Refer to Table 2.

Example of the set command

OneCli.exe config set IMM.DST Off --bmc userid:password@host