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

X6800 Server Node iBMC (Earlier Than V250) User Guide 29

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 4-55 lists the conventions for the command line formats.

Table 4-55 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                           
       maintenance                   Get maintenance information                       
       syslog                        Get syslog status                                 
       user                          Get the information of user                       
       securitybanner                Get login security banner information             

    -d <dataitem>
       faninfo                       Get fan mode and the percentage of the fan speed  
       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 status       
       ledinfo                       Get led information                               
       ipinfo                        Get ip information                                
       ethport                       Get usable eth port                               
       chassisnum                    Get Chassis Number                                
       autodiscovery                 Get autodiscovery configuration                   
       poweronpermit                 Get poweronpermit configuration                   
       raid                          Get the information of RAID controller            
       ldinfo                        Get the information of logical drive              
       pdinfo                        Get the information of physical drive             
       minimumpasswordage            Get minimum password age configuration

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                               
       securitybanner                Operate login security banner information         
       syslog                        Operate syslog                                    

    -d <dataitem>
       fanmode                       Set fan mode,you can choose manual or auto        
       fanlevel                      Set fan speed percent                             
       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                         
       timezone                      Set time zone                                     
       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                                  
       netmode                       Set net mode                                      
       activeport                    Set EthGroup active port                          
       vlan                          Set sideband vlan                                 
       restore                       Restore factory setting                           
       notimeout                     Set no timeout state                              
       emergencyuser                 Set emergency user                                
       autodiscovery                 Set autodiscovery configuration                   
       poweronpermit                 Set poweronpermit configuration                   
       workkey                       Update system workkey                             
       minimumpasswordage            Set minimum password age configuration            
       locate                        Locate/Stop-locate the physical drive (HDD or SSD)

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>
       fanmode                       Set fan mode,you can choose manual or auto        
       fanlevel                      Set fan speed percent                             
       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                         
       timezone                      Set time zone                                     
       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                                  
       netmode                       Set net mode                                      
       activeport                    Set EthGroup active port                          
       vlan                          Set sideband vlan                                 
       restore                       Restore factory setting                           
       notimeout                     Set no timeout state                              
       emergencyuser                 Set emergency user                                
       autodiscovery                 Set autodiscovery configuration                   
       poweronpermit                 Set poweronpermit configuration                   
       workkey                       Update system workkey                             
       minimumpasswordage            Set minimum password age configuration            
       locate                        Locate/Stop-locate the physical drive (HDD or SSD)
Translation
Download
Updated: 2019-02-28

Document ID: EDOC1000066341

Views: 132306

Downloads: 1081

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