Trigger debug info collection
更新时间: 2026/08/06
在Gitcode上查看源码Trigger debug info collection
Change History
| openUBMC Version | Revision Date | Description |
|---|---|---|
| 25.06 | 2025/06/26 | Initial draft: add command details |
Basic Information
Function Description
Trigger one-click information collection.
NOTE: For BMC SDK 5.12.0.1 or later, logs collected in one-click mode are stored in the /tmp directory by default. The logs are named in the format of Product name_SN_Current time.tar.gz. Example: TaiShan 200 2280 HV2_102287651234_202402281232.tar.gz
Privilege
SecurityMgnt
Command Information
Request Information
| Byte | Data Field |
|---|---|
| NetFn | 30h |
| CMD | 94h |
| 1:3 | Manufacturer ID, LS Byte first. The length is fixed to three bytes. For example, if the vendor ID is 2011 and the corresponding hexadecimal value is 0x0007DB, the first byte is DBh, the second byte is 07h, and the third byte is 00h. |
| 4 | Sub command, sub command=0Ch |
| 5 | Options 0x00 Start collection 0x01 Get collect status 0x02: reserved field |
Response Information
| Byte | Data Field |
|---|---|
| 1 | Completion Code |
| 2:4 | Manufacturer ID, LS Byte first. The length is fixed to three bytes. For example, if the vendor ID is 2011 and the corresponding hexadecimal value is 0x0007DB, the first byte is DBh, the second byte is 07h, and the third byte is 00h. |
| (5*) | collect status 00h = collect in progress 01h = collect completed 02h = collect failed FFh = collect not performed |
| (6*) | collect percentage |
| NOTE: * The number part exists only when Options is set to Get collect status.In BMC SDK 5.12.0.1 or later, if the value of Options is not 0x01 (Get collect status), the actual result is returned. For example, if the value of Options is 0x00, the fifth and sixth bytes of the returned value are 0x00 and 0x00, respectively. |
Command Example
Trigger one-click information collection.
Request:
bash
ipmicmd -k "0f 00 30 94 db 07 00 0c 00" smi 0Response:
text
0f 31 00 94 00 db 07 00