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

Set IPMC Configuration

Change History

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

Basic Information

Function Description

This command is used to set IPMC configuration parameters.

Privilege

ReadOnly

Command Information

Request Information

ByteData Field
NetFn30h
CMD93h
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.
4Indicates a subcommand. The value is 05h.
5Parameter Selector. For details, see Table 1.
6[7:1]: reserved
[0]: cascading flag
0: last data
1: middle data
7Offset of the written data, starting from 0.
Write data in sequence when they are written as multiple frames.
8Length: write length
9:NWritten data

Response Information

ByteData Field
1Completion Code
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.

Reference

Table 1 IPMC Configuration Parameter

ParameterParameter DataNo. (Decimal)
Hostnamedata1:N-BMC Hostname
Max 128 Bytes.End by null if less than 128 Bytes.
1
ldap hostdata1:N-uri
Max 128 Bytes.End by null if less than 128 Bytes.
2
Domain Namedata1:N-Domain name
Max 128 Bytes.End by null if less than 128 Bytes.
3
DNS Serverdata1:N-DNS Server IP/host
Max 128 Bytes.End by null if less than 128 Bytes.
4
ldap user basedata1:N-Ldap user base
Max 128 Bytes.End by null if less than 128 Bytes.
5
ldap enabledata1: disable/enable ldap
0 disable
1 enable
6
2nd DNS Serverdata1:N-DNS Server IP/host
Max 128 Bytes.End by null if less than 128 Bytes.
7
DNS bind eth portdata1:1-DNS bind eth port
0 eth0
1 eth1
12
NCSI bind portdata1:1-NCSI bind port
0 PORT1
1 PORT2
data 2:2
0: LOM NIC
1: standard PCIe NIC
13
iMana resource Serverdata1:N -iMana resource Server IP
Max 128 Bytes.End by null if less than 128 Bytes.
14
DNS sourcedata1: ddns static/DHCP
0 static
1 DHCP
15
DNS bind IP protocoldata1: dns IP protocol
0 IPv4
1 IPv6
16
NTP enabledata1: disable/enable NTP
0 disable
1 enable
17
Primary NTP Serverdata1:N-NTP Server IP/host
Max 255 Bytes.End by null if less than 255 Bytes.
18
Secondary NTP Serverdata1:N-NTP Server IP/host
Max 255 Bytes.End by null if less than 255 Bytes.
19
NTP Sourcedata1: NTP static/DHCP
0 static
1 DHCP
20
NTP bind IP protocoldata1: NTP IP protocol
0 IPv4
1 IPv6
21
Adaptive Port ListQuintuple. A maximum of three quintuples are supported.
data1: port type
0: LOM NIC
1: standard PCIe NIC
2: dedicated management network port
data2:data5: ports involved in auto-negotiation
Each bit indicates whether to add a port to the adaptive port list. 0 indicates no, and 1 indicates yes.
Bit 0 of data2 indicates port 1, bit 1 of data2 indicates port 2, bit 0 of data3 indicates port 9, and so on.
...
If you use this command to query or set any two of the LOM NIC, standard PCIe NIC, and dedicated management network port, data6 indicates the port type, and data7–data10 indicate adaptive ports.
If you use this command to query all the LOM NIC, standard PCIe NIC, and dedicated management network port, data6 indicates the port type, data7–data10 indicate adaptive ports, data11 indicates the port type, and data12–data15 indicate adaptive ports.
22
LDAP CERT statusdata1: LDAP CERT status
0 Disable
1 Enable
23
WEB httphostdata1:N-WEB httphost
Max 255 Bytes.End by null if less than 255 Bytes.
24
NCSI RX channel# Enable the RX channel of the NCSI. The RX channel can be enabled for only two ports. Data 3 is not equal to data4.
To disable the RX channel of the NC-SI, set data2, data3, and data4 to 0xff.
When LACP is queried, if data1 is disable, data2, data3, and data4 are 0xff.
The value of Offset must be set to 0 during the setting and query processes.
RX channel enable flag of data1-NCSI
0 disable
1 enable
data2: port type
0: LOM NIC
1: standard PCIe NIC
3: LOM NIC 2 (supported only by the V5 board) Port type 2 indicates a dedicated management network port and does not support the NC-SI function.
4 OCP network adapter
5. OCP network adapter 2
0xff data1: disable
data3: NCSI RX channel port1
0 PORT1
1 PORT2
2 PORT3
3 PORT4
0xff data1: disable
data4-NCSI RX channel port2
0 PORT1
1 PORT2
2 PORT3
3 PORT4
0xff data1: disable
25
Backup Ipaddr# Set the backup IP address.
data1-4 is the backup IP address.
data5-8 is the backup mask address.
# Query the backup IP address.
data1: activated status
0: inactivated
1: activated
data2-5: backup IP address
data6-9: backup mask
26
3rd DNS Serverdata1:N-DNS Server IP/host
Max 128 Bytes.End by null if less than 128 Bytes.
27

Command Example

Set IPMC configuration parameters.

Request:

bash
ipmicmd -k "0f 00 30 93 db 07 00 05 01 00 00 06 68 75 61 77 65 69" smi 0

Response:

text
0f 31 00 93 00 db 07 00

Back to Index