Set BMC Forward
Change History
| openUBMC Version | Revision Date | Description |
|---|---|---|
| 25.06 | 2025/06/26 | Initial draft: add command details |
Basic Information
Function Description
Configure the BMC forwarding jump command.
Privilege
ReadOnly
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=3Ah |
| 5 | Config Type: data1: 1, configuration type 0: Disabled 1: yes other-reserved |
| 6 | Reserved |
| 7 | Source IP protocol data1-1: IP protocol 0-IPv4 1–IPv6 |
| 8:23 | Source IP Addr: IPv4(byte8-byte11) or IPv6 address, MS byte first |
| 24:25 | Source Port,MSByte first |
| 26 | Destination IP protocol data1-1: IP protocol 0-IPv4 1–IPv6 |
| 27:42 | Destination IP Addr: IPv4(byte27-byte30) or IPv6 address, MS byte first |
| 43:44 | Destination Port, MSByte first |
Response Information
| Byte | Data Field |
|---|---|
| 1 | Completion Code 0x00: succeeded Other: failure |
| 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 | Mapping IP protocol data1-1: IP protocol 0-IPv4 1–IPv6 |
| 6:21 | Mapping IP Addr: IPv4(byte6-byte9) or IPv6 address, MS byte first |
| 22:23 | Mapping Port |
Command Example
Forward packets based on the veth address.
Request:
ipmicmd -k "0f 00 30 94 db 07 00 3A 01 00 00 fe 80 00 00 00 00 00 00 92 7d a3 ff fe 28 6f fa 75 47 01 fe 80 00 00 00 00 00 00 92 7d a3 ff fe 28 6f fa 75 47" smi 0Response:
db 07 00 01 fe 80 00 00 00 00 00 00 9e 7d a3 ff fe 28 6f fa 75 47
