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

Reminder

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

upgrade

FusionServer Pro E9000 Server iBMC (Earlier Than V250) User Guide 31

This document describes the underlying management software Intelligent Baseboard Management Controller (iBMC) of the servers.
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).
CLI Overview

CLI Overview

This topic describes the syntax of the commands.

Syntax

The commonly used commands of the iBMC are classified into two types:

  • Query command ipmcget

    The syntax of ipmcget is as follows:

    ipmcget [-t target] -d dataitem [-v value]

  • Setting command ipmcset

    The syntax of ipmcset is as follows:

    ipmcset [-t target] -d dataitem [-v value]

The parameters of ipmcget and ipmcset are described as follows:

  • [ ]: indicates that the information included is optional for each command.

  • -t target: gets, sets a target on the operated device. The target can be a sensor or an indicator.

  • -d dataitem: gets, sets the specific properties of the operated device or of the components on the operated device.

  • -v value: gets, sets the parameter values of the components on the operated device.

Table 5-46 lists the conventions for the command line formats.

Table 5-46 Conventions for the command line formats

Format

Description

Boldface

The keywords of a command line are in boldface.

Italic

Command arguments are in italic.

[ ]

Items (keywords or arguments) in square brackets [ ] are optional.

{ x | y | ... }

Optional items are grouped in braces and separated by vertical bars. One item is selected.

[ x | y | ... ]

Optional items are grouped in brackets and separated by vertical bars. One or no item can be selected.

{ x | y | ... }*

Optional items are grouped in braces and separated by vertical bars. A minimum of one item or a maximum of all items can be selected.

[ x | y | ... ]*

Optional items are grouped in brackets and separated by vertical bars. Several items or no item can be selected.

Help

The iBMC command line provides the help function. When entering a command, if you enter only certain characters and then press Enter, the command line automatically displays the parameters and syntax of the command to help you complete the command operation.

The following is an example:

Query command:

iBMC:/->ipmcget
Usage: ipmcget [-t target] -d dataitem [-v value]
    -t <target>
       fru0                   Get the information of the fru0
       sensor                 Print detailed sensor information
       smbios                 Get the information of smbios
       trap                   Get SNMP trap status
       service                Get service information

    -d <dataitem>
       port80                 Get the diagnose code of port 80
       diaginfo               Get diagnostic info of management subsystem
       systemcom              Get system com data
       blackbox               Get black box data
       bootdevice             Get boot device
       shutdowntimeout        Get graceful shutdown timeout state and value
       powerstate             Get power state
       health                 Get health status
       healthevents           Get health events
       sel                    Print System Event Log (SEL)
       operatelog             Print operation log
       version                Get iBMC version
       serialnumber           Get system serial number
       userlist               List all user info
       fruinfo                Get fru information
       time                   Get system time
       macaddr                Get mac address
       serialdir              Get currently connected serial direction
       rollbackstatus         Get rollback status
       passwordcomplexity     Get password complexity check enable state
       ledinfo                Get led information
       ipinfo                 Get ip information
       chassisnum             Get Chassis Number

Set command:

iBMC:/->ipmcset
Usage: ipmcset [-t target] -d dataitem [-v value]
    -t <target>
       fru0                   Operate with fru0                                 
       trap                   Operate SNMP trap                                 
       service                Operate with service                              
       user                   Operate with user                                 
       maintenance            Operate with maintenance                          
       sensor                 Operate with sensor   

    -d <dataitem>
       reset                  Reboot iBMC system
       identify               Operate identify led
       upgrade                Upgrade component
       clearcmos              Clear CMOS
       bootdevice             Set boot device
       shutdowntimeout        Set graceful shutdown timeout state and value
       frucontrol             Fru control
       powerstate             Set power state
       sel                    Clear SEL
       adduser                Add user
       password               Modify user password
       deluser                Delete user
       privilege              Set user privilege
       serialdir              Set serial direction
       printscreen            Print current screen to iBMC
       rollback               Perform a manual rollback
       passwordcomplexity     Set password complexity check enable state
       ipaddr                 Set ip address
       ipmode                 Set ip mode
       gateway                Set gateway
       ipaddr6                Set ipv6 address
       ipmode6                Set ipv6 mode
       gateway6               Set ipv6 gateway
       restore                Restore factory setting
       notimeout              Set no timeout state
       emergencyuser          Set emergency user
       workkey                Update system workkey

If an incorrect parameter is entered, the help information prompts the correct optional parameters.

The following is an example:

iBMC:/->ipmcset -d inff
Input parameter[-d] error
    -d <dataitem>
       reset                  Reboot iBMC system
       identify               Operate identify led
       upgrade                Upgrade component
       clearcmos              Clear CMOS
       bootdevice             Set boot device
       shutdowntimeout        Set graceful shutdown timeout state and value
       frucontrol             Fru control
       powerstate             Set power state
       sel                    Clear SEL
       adduser                Add user
       password               Modify user password
       deluser                Delete user
       privilege              Set user privilege
       serialdir              Set serial direction
       printscreen            Print current screen to iBMC
       rollback               Perform a manual rollback
       passwordcomplexity     Set password complexity check enable state
       ipaddr                 Set ip address
       ipmode                 Set ip mode
       gateway                Set gateway
       ipaddr6                Set ipv6 address
       ipmode6                Set ipv6 mode
       gateway6               Set ipv6 gateway
       restore                Restore factory setting
       notimeout              Set no timeout state
       emergencyuser          Set emergency user
Translation
Download
Updated: 2019-08-01

Document ID: EDOC1000058833

Views: 217125

Downloads: 1936

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next