Get Power Rack Elabel
更新时间: 2026/08/06
在Gitcode上查看源码Get Power Rack Elabel
Change History
| openUBMC Version | Revision Date | Description |
|---|---|---|
| 25.06 | 2025/06/26 | Initial draft: add command details |
Basic Information
Function Description
Obtain the electronic label (e-label version: 4.0) of the power subrack.
Privilege
BasicSetting
Command Information
Request Information
| Byte | Data Field |
|---|---|
| NetFn | 30h |
| CMD | 90h |
| 1 | Sub command=67h |
| 2-3 | Fru type: 1: power subrack Other values are reserved. |
| 4 | Fru id |
| 5 | Sdr type(type=13) |
| 6-7 | Total frame(count=5) |
| 8-9 | Frame index(1<=index<=5) |
Response Information
| Byte | Data Field |
|---|---|
| 1 | Completion Code |
| 2 | length: N |
| 3:2+N | Current frame data |
Command Example
Obtain the first frame of the e-label information of the power subrack. This command has five frames and reads 1024-byte data in total. Each time this command is executed, the nth frame of data is returned, which is determined by Frame index in the parameter description. After the queried data is converted into ASCII codes, the data is the same as that obtained by running the ipmcget -d fru command.
Request:
bash
ipmitool raw 0x30 0x90 0x67 0x01 0x00 0x02 0x0d 0x05 0x00 0x01 0x00Response:
text
e4 2f 24 5b 41 72 63 68 69 76 65 73 49 6e 66 6f
20 56 65 72 73 69 6f 6e 5d 0d 0a 2f 24 41 72 63
68 69 76 65 73 49 6e 66 6f 56 65 72 73 69 6f 6e
3d 33 2e 30 0d 0a 0d 0a 0d 0a 5b 42 6f 61 72 64
20 50 72 6f 70 65 72 74 69 65 73 5d 0d 0a 42 6f
61 72 64 54 79 70 65 3d 46 50 35 30 30 2d 50 53
4d 2d 33 36 4b 2d 44 31 0d 0a 42 61 72 43 6f 64
65 3d 32 31 30 31 30 37 35 34 31 36 50 30 4e 39
30 30 30 30 34 38 0d 0a 49 74 65 6d 3d 30 31 30
37 35 34 31 36 0d 0a 44 65 73 63 72 69 70 74 69
6f 6e 3d 53 79 73 74 65 6d 20 50 6f 77 65 72 2c
46 50 35 30 30 2d 50 53 4d 2d 33 36 4b 2d 44 31
2c 4e 55 4c 4c 0d 0a 4d 61 6e 75 66 61 63 74 75
72 65 64 3d 32 30 32 32 2d 30 39 2d 31 35 0d 0a
56 65 6e 64 6f