compare command
Use the compare command to compare the current values with the specified values for one or more settings.
compare command syntax
OneCli.exe config compare [command option] [common options]
Parameter | Required/Optional | Notes |
---|---|---|
command option | Optional |
|
--file | Optional | Specify the file name, contains <setting>=<value> from command <save>. |
--kcs | Optional | Force to use IPMI over KCS local interface. |
--pending | Optional | Compare the current value and the pending value for one or more settings. |
--redfish | Optional | Force to communicate with BMC through Redfish. |
| Optional | Refer to Table 2. |
When using with the --pending option, the compare command can be used as the comparepending command, and the format is comparepending or compare --pending.
When the --pending or --file option is not used, the compare command can be used as the comparedefault command.
Example of the compare command
Compare the pending value with the current value:
onecli.exe config compare --pending --bmc USERID:PASSW0RD@XX.XX.XX.XX
Compare the pending value with saved values in the specified file:
onecli.exe config compare --file save.txt --bmc USERID:PASSW0RD@XX.XX.XX.XX