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>. |
--interactive, -i | Optional | Run OneCLI in the interactive mode. |
--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. |
| Optional | Refer to Table 2. |
Note
When using with the --pending option, the compare command can be used as the comparepending command, and the format is comparepending or compare --pending.
For some settings, the updated values are displayed in the pending list and will take effect after the reboot.
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
Give feedback