Set BMC Forward
更新时间: 2026/08/06
在Gitcode上查看源码

Set BMC Forward

Change History

openUBMC VersionRevision DateDescription
25.062025/06/26Initial draft: add command details

Basic Information

Function Description

Configure the BMC forwarding jump command.

Privilege

ReadOnly

Command Information

Request Information

ByteData Field
NetFn30h
CMD94h
1:3Manufacturer 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.
4Sub command, sub command=3Ah
5Config Type:
data1: 1, configuration type
0: Disabled
1: yes
other-reserved
6Reserved
7Source IP protocol
data1-1: IP protocol
0-IPv4
1–IPv6
8:23Source IP Addr: IPv4(byte8-byte11) or IPv6 address, MS byte first
24:25Source Port,MSByte first
26Destination IP protocol
data1-1: IP protocol
0-IPv4
1–IPv6
27:42Destination IP Addr: IPv4(byte27-byte30) or IPv6 address, MS byte first
43:44Destination Port, MSByte first

Response Information

ByteData Field
1Completion Code
0x00: succeeded
Other: failure
2:4Manufacturer 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.
5Mapping IP protocol
data1-1: IP protocol
0-IPv4
1–IPv6
6:21Mapping IP Addr: IPv4(byte6-byte9) or IPv6 address, MS byte first
22:23Mapping Port

Command Example

Forward packets based on the veth address.

Request:

bash
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 0

Response:

text
db 07 00 01 fe 80 00 00 00 00 00 00 9e 7d a3 ff fe 28 6f fa 75 47

Back to Index