No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


FusionServer Tools 2.0 uREST User Guide 16

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Querying BIOS Configuration Details

Querying BIOS Configuration Details


Query BIOS configuration details.


./urest -H HOST -p PORT -U USERNAME -P PASSWOR --timeout=TIMEOUT getbiosdetails -A ATTRIBUTE –F FILE






iBMC IP address or domain name. It is a mandatory parameter. If an IPv6 address is used, the IPv6 address must be included in square brackets, such as [1001::1001].



Port number. The default value is 443. It is an optional parameter.

Enter the port number if the default value 443 is not used.


iBMC user name. It is a mandatory parameter.



Password of the iBMC user. It is a mandatory parameter.



Timeout interval for accessing the iBMC Redfish interface. It is an optional parameter. The default value is 30 seconds.

The value ranges from 10 to 1000, and the unit is seconds.


BIOS configuration item name. It is an optional parameter.



Local path for saving the obtained BIOS configuration file. It is an optional parameter.

Format: Path/File name

The file path cannot contain spaces. If the path contains spaces:

  • On Windows, add three double quotation marks (""") before and after the path, for example, -F """D:\\test config\\config.json""".
  • On Linux, add a double quotation mark (") before and after the path, for example, -F "/home/test config/config.json".

You can also check BIOS parameters by referring to the Huawei Server Purley Platform BIOS Parameter Reference.

Usage Guidelines

This function applies only to FusionServer V5 servers and TaiShan servers.


Obtain help information.

[root@localhost bin]# ./urest -H -U ****** -P ****** getbiosdetails -h
usage: urest getbiosdetails [-h] [-A ATTRIBUTE] [-F FILE]
optional arguments:
  -h, --help    show this help message and exit
  -A ATTRIBUTE  attribute name
  -F FILE       local file used to export the BIOS configuration.

Query BIOS information.

  • Query information about a BIOS configuration item (the value is an integer).
[root@localhost bin]# ./urest -H -U ****** -P ****** getbiosdetails -A OSWDTTimeout
Attribute            : OSWDTTimeout
CurrentValue         : 8
UpperBound           : 8
LowerBound           : 2
DisplayName          : iBMC WDT Time Out For OS
HelpText             : Enter the number of minutes the firmware has to load the OS before the firmware takes the timeout action. Value range: 2 to 8 minutes.
[root@localhost bin]# ./urest -H -U ****** -P ****** getbiosdetails -A PowerSaving
Attribute                   : PowerSaving
CurrentValue                : Disabled
Value                       : ["Enabled", "Disabled"]
DisplayName                 : DEMT
HelpText                    : Enable or disable dynamic energy management technology(DEMT) mode.
Table 3-19 Parameter description




BIOS configuration item


Current value


Upper limit when the value is a digit


Lower limit when the value is a digit


Value range when the value is a character string


Configuration item name on the BIOS interface


Help information

  • Export the information to a file.
    [root@localhost bin]# ./urest -H -U ****** -P ****** getbiosdetails –F /home/aa.json
    Success: successfully completed request
    Figure 3-2 shows the exported file. Use a tool to open the exported .json file, for example, the Notepad++ tool with the JSON Viewer plug-in installed. In the information, DisplayName indicates the name of the configuration item on the BIOS interface, CurrentValue indicates the current value of the BIOS configuration item, AttributeName indicates the description of the BIOS configuration item, and ValueName in the Value area indicates the value of the BIOS configuration item.
    Figure 3-2 .json file
Updated: 2020-02-13

Document ID: EDOC1000176182

Views: 119721

Downloads: 586

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next