Set Global Configurations
更新时间: 2026/08/06
在Gitcode上查看源码Set Global Configurations
Change History
| openUBMC Version | Revision Date | Description |
|---|---|---|
| 25.06 | 2025/06/26 | Initial draft: add command details |
Basic Information
Function Description
This command is used to set the global customization configuration.
Privilege
BasicSetting
Command Information
Request Information
| Byte | Data Field |
|---|---|
| NetFn | 30h |
| CMD | 90h |
| 1 | Parameter selector Subcommand, subcommand=21 |
| 2 | Parameter selector. For details, see Table 1. |
| 3:N | Configuration Parameters |
Response Information
| Byte | Data Field |
|---|---|
| 1 | Completion Code |
Table 1 DFT global parameter table
| Parameter | # | Parameter Data |
|---|---|---|
| Set In Progress (volatile) | 0 | 0=set complete. 1=set in progress 2=commit write |
| Aging Time(non-volatile) | 1 | data 1-2: aging time, in minutes, 2 bytes, in minutes |
| Aging Flag(non-volatile) | 2 | data1: aging flag [7:0]: 1=aging; 0=not aging |
| Reset Config | 3 | Reset the configuration (clear the configuration). The configuration is reset. data1: 0=Front board 1=Back board |
| Customize Flag(non-volatile) | 4 | Customize Flag [7:0]: 0 = non-customized 1=customized 2= TaiShan customized 3= Kunpeng customized |
| Customize Enable(non-volatile) | 5 | AssetTag Customize Enable [7:0]: 1=Enable 0=Disable |
| Fan Speed Control Policy Customize | 6 | Whether to enable the customized fan speed adjustment policy [7:0]: 1=Enable 0=Disable |
| product SN Customize Enable(non-volatile) | 7 | product SN Customize Enable [7:0]: 1=Enable 0=Disable |
| Customize Manufacturer ID | 8 | Customized Manufacturer ID data 1-3: Manufacturer ID. The first byte is the most significant byte of the customized vendor ID. |
| Customize As Status | 9 | Switch the active/standby status. [7:0]: 1=Standby 0=Active |
| Customize Scan Status | 10 | Status 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 num | 11 | Number of leakage detection cards [7:0]: number of leakage detection cards |
| BIOS Gold File Valid | 13 | Whether the BIOS Gold file is valid data1: 1: The Gold file is valid. 0: The Gold file is invalid. |
| Times of Entering SP | 14 | Number of times that the SP is accessed. data1-4: number of times that packets enter the SP, 4 bytes (little endian) |
| CSR Common Name | 15 | Set 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 Flag | 16 | Brand 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 ProductID | 17 | Sets 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 ProductUniqueID | 18 | Querying 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 info | 19 | Anonymizing 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 info | 20 | Querying 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 Name | 21 | Set 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 Name | 22 | Sets 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 Status | 239 (0xEF) | Equipment customization completion status |
| Set/Get Custom Settings | 240 (0xF0) | Start equipment customization (SubCmd=0x21). Obtaining the Equipment Customization Result (SubCmd=0x22) |
| Custom Verify | 241 (0xF1) | Start equipment customization verification. |
| Get Custom Verify Result | 242 (0xF2) | Obtain the equipment customization verification result. |
Command Example
Configure customized settings.
Request:
bash
ipmicmd -k "0f 00 30 90 21 04 00" smi 0Response:
text
0f 31 00 90 00