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

Set Global Configurations

Change History

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

Basic Information

Function Description

This command is used to set the global customization configuration.

Privilege

BasicSetting

Command Information

Request Information

ByteData Field
NetFn30h
CMD90h
1Parameter selector
Subcommand, subcommand=21
2Parameter selector. For details, see Table 1.
3:NConfiguration Parameters

Response Information

ByteData Field
1Completion Code

Table 1 DFT global parameter table

Parameter#Parameter Data
Set In Progress
(volatile)
00=set complete.
1=set in progress
2=commit write
Aging Time(non-volatile)1data 1-2: aging time, in minutes, 2 bytes, in minutes
Aging Flag(non-volatile)2data1: aging flag
[7:0]: 1=aging; 0=not aging
Reset Config3Reset the configuration (clear the configuration). The configuration is reset. data1: 0=Front board 1=Back board
Customize Flag(non-volatile)4Customize Flag
[7:0]: 0 = non-customized 1=customized 2= TaiShan customized 3= Kunpeng customized
Customize Enable(non-volatile)5AssetTag Customize Enable
[7:0]: 1=Enable 0=Disable
Fan Speed Control Policy Customize6Whether to enable the customized fan speed adjustment policy [7:0]: 1=Enable 0=Disable
product SN Customize Enable(non-volatile)7product SN Customize Enable
[7:0]: 1=Enable 0=Disable
Customize Manufacturer ID8Customized Manufacturer ID data 1-3: Manufacturer ID. The first byte is the most significant byte of the customized vendor ID.
Customize
As Status
9Switch the active/standby status. [7:0]: 1=Standby 0=Active
Customize Scan Status10Status of a scanning task. data1: device type. For details, see the component type definition. data2: scanning status. 1: scanning enabled; 0: scanning disabled.
Leak detect card num11Number of leakage detection cards
[7:0]: number of leakage detection cards
BIOS Gold File Valid13Whether the BIOS Gold file is valid
data1:
1: The Gold file is valid.
0: The Gold file is invalid.
Times of Entering SP14Number of times that the SP is accessed.
data1-4: number of times that packets enter the SP, 4 bytes (little endian)
CSR Common Name15Set the csr_CN attribute in the csr.conf file to generate a CSR file for applying for an SSL certificate.
data1: length of the input parameter
data2: start address of the input parameter
Custom Brand Flag16Brand Customization Flag
data1:
[7:4]: (for query only)
1=The standby zone (1710) or AZ (1711) is resold BMC firmware.
0: The standby partition (1710) or AZ (1711) is Huawei firmware.
[3:0]:
1: The brand customization function is enabled.
0=Brand customization is disabled.
Custom Brand ProductID17Sets the product ID of a white-box device to prevent mutual upgrade between Huawei models and non-Huawei models.
data1:
CBProductID (CB: CustomBrand)
Custom Brand ProductUniqueID18Querying ProductUniqueID
data1-4:
ProductUniqueID (4 bytes, big-endian mode)
If the flag bit of a brand-customized phone is 1, the return value is CBProductUniqueID (CB: CustomBrand). If the flag bit of a brand-customized phone is 0, the return value is ProductUniqueID.
Set Custom Cpu info19Anonymizing the CPU Display on the BMC Page
data1: physical ID of a CPU, applicable to multi-CPU scenarios. 1: CPU object whose physical ID is 1; 2: CPU object whose physical ID is 2; 0xFF: traverses all CPU objects and sets the customization information to all CPUs.
data2: customization switch status. 1: enabled; 0: disabled.
data3: ID of the customized information. 1: customized CPU vendor information; 2: customized CPU version information, which can be extended.
data4: length of customized information
data5: hexadecimal ASSIC code of the customized information
Get Custom Cpu info20Querying Masked CPU Information
data1: physical ID of a CPU, applicable to multi-CPU scenarios. 1: CPU object whose physical ID is 1; 2: CPU object whose physical ID is 2; 0xFF: traverses all CPU objects and sets the customization information to all CPUs.
data2: ID of the customized information. 1: customized CPU vendor information; 2: customized CPU version information, which can be extended.
Alternative CSR Common Name21Set the csr_CN attribute of the standby certificate csr.conf to generate the CSR file for applying for the standby SSL certificate.
data1: length of the input parameter
data2: start address of the input parameter
Inter Chassis CSR Common Name22Sets the CN attribute of the CSR configuration for the intra-chassis communication identity certificate. This configuration is used when the CSR file for applying for the intra-chassis communication identity certificate is generated.
data1: length of CommonName. The value ranges from 1 to 64.
data2-N: value of CommonName. The value consists of uppercase letters, lowercase letters, digits, periods (.), hyphens (-), and underscores (_).
Custom Complete Status239 (0xEF)Equipment customization completion status
Set/Get Custom Settings240 (0xF0)Start equipment customization (SubCmd=0x21).
Obtaining the Equipment Customization Result (SubCmd=0x22)
Custom Verify241 (0xF1)Start equipment customization verification.
Get Custom Verify Result242 (0xF2)Obtain the equipment customization verification result.

Command Example

Configure customized settings.

Request:

bash
ipmicmd -k "0f 00 30 90 21 04 00" smi 0

Response:

text
0f 31 00 90 00

Back to Index