Skip to main content

Configuring the interactive mode

Users can use the interactive mode by configuring the --interactive (-i) option. In this mode, OneCLI supports to automatically configure the setting name after users press Tab.

The --interactive (-i) option supports the following commands: set, show, showvalues, showdes, and showdefault.

Do the following to configure the interactive mode:

Procedures

  1. Input OneCli config show –i to run the show command with the --interactive (-i) option, or input OneCli config set –i to run the set command with the --interactive (-i) option. The following information will be displayed:
    Welcome to Auto Completion!
    Tips:
    1. Enter "exit()" to quit OneCLI.
    2. Hit key "ESC" to reset all already entered options.
    Now please follow wizard to complete options of command line.
    setting name:
  2. Input the setting name:
    1. Input part of setting name, for example, IMM.D.
    2. Press Tab, and all setting names will be displayed on OneCLI. The following is the example of all setting names:
      IMM.D
      IMM.DeploymentBoot
      IMM.DHCPConfig_Hostname
      IMM.DHCPConfig_IP
      IMM.DHCPConfig_GatewayAddress
      IMM.DHCPConfig_Subnet
      IMM.DHCPConfig_DomainName
      IMM.DHCPConfig_DNS_Primary
      IMM.DHCPConfig_DNS_Secondary
      IMM.DHCPConfig_DNS_Tertiary
      IMM.DNSSettings_Interface
      IMM.DNSSettings_preference
      IMM.DNSSettings_ServerIp1
      IMM.DNSSettings_ServerIp2
      IMM.DNSSettings_ServerIp3
      IMM.DDNSSettings_Interface
      IMM.DDNSSettings_preference
      IMM.DDNSSettings_CustomDomain
      setting name:
      IMM.D
    3. Input the entire setting name.
      Note
      The exclusive setting name will be input automatically, for example, IMM.DeploymentBoot.
  3. Do one of the following:
    • If output directory: is displayed, input the output directory.

    • To input the default value, press Enter.

    Note
    After OneCLI runs the entire command, the following outputs will be displayed:
    output directory:
    Invoking SHOW command
    Connected to BMC at IP address 10.240.194.225 by IPMI
    IMM.DeploymentBoot=Disabled
    Success.