comparedefault command

Use the comparedefault command to compare the current values to the default values of one or more settings.

comparedefault command syntax

OneCli.exe config comparedefault[command option][--output<folder>]
[connection option]
Table 1. comparedefault command parameters
Parameter Required/Optional Notes
command option Optional
all
Default value.
Displays all of the supported settings.
group name
Displays the settings that belong to a group name.
setting name
The setting name value.
output Optional

By default, the log file output is saved to: ../Onecli-%PID%-%date%-%time%/.

connection option Optional
--imm <user:pwd@ip>
Use for OOB.
Use for in-band, if you know the LAN over USB IP of the target IMM.
Use to specify the target IMM.
--node <x>
Use for inband cases on a multinode system.
Where x is a numeric value that indicates the node number. For example, if "--node 2" the target IMM is in the second node of a multinode system.
Note: Some settings do not have a default value and will not be included in the list.

Example of the comparedefault command

OneCli.exe config comparedefault --imm USERID:PASSWORD@10.240.252.102
This is the output generated from this example:
Lenovo ToolsCenterSuite CLI tcliXXX-X.X.X
Based on module version X.X.X
Licensed Materials - Property of Lenovo
(C) Copyright Lenovo Corp. 2013-2016 All Rights Reserved
Invoking SHOW command ...
Connected to IMM by IP address 10.240.252.102
IMM.MinPasswordLen=5&lt;0>
IMM.PwChangeInterval=0<0>
IMM.PwMaxFailure=5<5>
IMM.PwDiffChar=0<2>
IMM.DefPasswordExp=Disabled<Disabled>
IMM.FirstAccessPwChange=Disabled<Disabled>
IMM.RemoteAlertRecipient_Status.1=Enabled
IMM.RemoteAlertRecipient_Status.2=Enabled



The value contained in the <> is the default value, while the other value is current setting value.