createuuid command

Use the createuuid command to generate and set the Universally Unique Identifier.

createuuid command syntax

OneCli.exe config createuuid <uuidsetting> [--output<folder>][connection option]
Table 1. createuuid command parameters
Parameter Required/Optional Notes
uuidsetting Required The setting name is:
SYSTEM_PROD_DATA.
SysInfoUUID
--output Optional

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

connection options 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: The value of the uuid created by the createuuid command depends on the time slot and the system information. Therefore, each time this command is run, you will get different setting values.

Example of the creatuuid command

OneCli.exe config createuuid SYSTEM_PROD_DATA.SysInfoUUID
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
SYSTEM_PROD_DATA.SysInfoUUID=8037729c1e35b7010ac700059a3c7a00
Waiting for command completion status.
Command completed successfully.