Set VMA network
更新时间: 2026/08/06
在AtomGit上查看源码Set VMA network
Change History
| openUBMC Version | Revision Date | Description |
|---|---|---|
| 25.06 | 2025/06/26 | Initial draft: add command details |
Basic Information
Function Description
Configure the VMA network.
Privilege
Command Information
Request Information
| Byte | Data Field |
|---|---|
| NetFn | 30h |
| CMD | 97h |
| 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=0x0bh, used to set the VMA network |
| 5 | Data length(0x18) |
| 6:9 | CMC IP |
| 10:13 | CMC SUBMASK |
| 14:17 | CMC Gateway IP |
| 18:21 | HyperVisor IP |
| 22:25 | HyperVisor SUBMASK |
| 26:29 | HyperVisor Gateway IP |
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. |
Command Example
Set the VMA network.
Request:
bash
ipmicmd -k "0f 00 30 97 db 07 00 0b 18 c0 00 02 0a ff ff ff 00 c0 00 02 01 c0 00 02 14 ff ff ff 00 c0 00 02 01" smi 0Response:
text
0f 31 00 97 00 db 07 00This example assumes command success (completion code 00). The 24-byte payload sets the CMC address to 192.0.2.10 and HyperVisor address to 192.0.2.20; both use mask 255.255.255.0 and gateway 192.0.2.1.