- About This Document
iBMC Overview
Before You Start
iBMC WebUI
iBMC CLI
CLI Overview
Accessing the CLI
iBMC Commands
- Querying iBMC IP Information (ipinfo)
- Setting iBMC IPv4 Address (ipaddr)
- Setting the Backup IPv4 Information for the iBMC Management Network Port (backupipaddr)
- Setting the IPv4 Mode of the iBMC (ipmode)
- Setting the IPv4 Gateway Address of the iBMC (gateway)
- Setting iBMC IPv6 Address (ipaddr6)
- Setting the IPv6 Mode of the iBMC (ipmode6)
- Setting the IPv6 Gateway Address of the iBMC (gateway6)
- Setting the Network Port Mode (netmode)
- Setting the Active iBMC Port (activeport)
- Setting a VLAN ID for a Network Port (vlan)
- Querying and Redirecting the Serial Port (serialdir)
- Restarting the iBMC (reset)
- Upgrading the Firmware (upgrade)
- Capturing the Screen (printscreen)
- Rolling Back the iBMC Software (rollback)
- Querying the Result of Rolling Back the iBMC Software (rollbackstatus)
- Setting Service State (service -d state)
- Setting the Service Port Number (service -d port)
- Querying Service Information (service -d list)
- Setting the Enablement Status of the Login Security Message (securitybanner -d state)
- Customizing the Login Security Message (securitybanner -d content)
- Querying the Login Security Message (securitybanner -d info)
- Importing an SSL Certificate (certificate -d import)
- Querying SSL Certificate Information (certificate -d info)
- Exporting the Configuration File (config -d export)
- Importing the Configuration File (config -d import)
- Importing the CRL File (crl)
- Mounting a File to the Virtual CD-ROM Drive (vmm -d connect)
- Disconnecting the Virtual CD-ROM Drive (vmm -d disconnect)
- Querying Virtual Media Information (vmm -d info)
- Restoring the Default Settings for the FPGA Card Golden Firmware (fpgagoldenfwrestore)
Trap Commands
- Querying and Setting the SNMP Trap State (trap -d state)
- Setting the SNMP Trap Port Number (trap -d port)
- Setting the SNMP Trap Community Name (trap -d community)
- Setting the SNMP Trap IP Address (trap -d address)
- Querying SNMP Trap Destination Information (trap -d trapiteminfo)
- Querying and Setting the SNMP Trap Version (trap -d version)
- Querying and Setting the SNMP Trap Alarm Severities (trap -d severity)
- Querying and Setting the SNMPv3 Trap User (trap -d user)
- Querying and Setting SNMPv3 Authentication and Privacy Protocols (trap -d protocol)
- Querying and Setting the SNMP Trap Mode (trap -d mode)
Syslog Commands
- Querying and Setting Syslog (syslog -d state)
- Querying and Setting the Certificate Authentication Mode (syslog -d auth)
- Querying and Setting the Syslog Host Identifier (syslog -d identity)
- Querying and Setting the Protocol Type (syslog -d protocol)
- Querying and Setting the Log Levels (syslog -d severity)
- Querying and Uploading the Server Root Certificate (syslog -d rootcertificate)
- Querying and Uploading the Local Certificate (syslog -d clientcertificate)
- Setting the Syslog Server Address (syslog -d address)
- Setting the Syslog Server Port Number (syslog -d port)
- Setting Logs Types for Reporting (syslog -d logtype)
- Testing Reachability of the Syslog Server (syslog -d test)
- Querying Configuration Information of All Syslog Reporting Channels (syslog -d iteminfo)
VNC Commads
Server Commands
- Querying and Setting the Boot Device (bootdevice)
- Setting the Server Reset Mode (frucontrol)
- Querying and Setting the Server Power State (powerstate)
- Querying and Setting the Server Power-Off Timeout Period (shutdowntimeout)
- Querying the MAC Address of the Network Interface on the Main Board (macaddr)
- Querying the Available Network Port (ethport)
- Clearing the BIOS Flash (clearcmos)
- Querying RAID Controller Card Information (i
- iBMCQuerying Logical Disk Information (ldinfo)
- Querying Physical Disk Information (pdinfo)
- Querying Disk Array Information (arrayinfo)
- Creating a Logical Drive (createld)
- iBMCAdding a Logical Drive (addld)
- Deleting a Logical Drive (deleteld)
- Modifying Logical Drive Properties (ldconfig)
- Modifying RAID Controller Properties (ctrlconfig)
- Modifying Physical Drive Properties (pdconfig)
- Querying and Setting the NPU Chip Working Mode (npuworkmode)
System Commands
- Querying the System Name (systemname)
- Setting the Time Zone (timezone)
- Querying the iBMC Time (time)
- Querying Device Version Information (version)
- Querying FRU Information (fruinfo)
- Querying System Health Status (health)
- Querying System Health Event Information (healthevents)
- Querying the Serial Number of the Server (serialnumber)
- Querying and Clearing SEL Information (sel)
- Querying Operation Logs (operatelog)
- Downloading the Systemcom Data (systemcom)
- Downloading the Black Box File (blackbox)
- Downloading the BIOS (download)
- Upgrading the BIOS (upgradebios)
- Upgrading the Mainboard CPLD (upgradecpld)
- Setting the iBMC Network Port State (ethlink)
- Performing One-Click Information Collection (diaginfo)
- Restoring the iBMC Factory Settings (restore)
- Setting CLP Notimeout Mode (notimeout)
- Querying CLP Notimeout Settings (notimeoutstate)
- Updating the SSL Workkey (workkey)
- Changing the System Master Keys (securityenhance -d updatemasterkey)
- Querying and Setting the Update Interval of Master Keys (securityenhance -d masterkeyupdateinterval)
- Querying and Setting Automatic Discovery Configuration (autodiscovery)
- Querying and Setting Controlled Power-on Configuration (poweronpermit)
- Querying and Clearing the Power-On Lock (poweronlock)
- Querying and Setting BIOS Print Enablement Status (biosprint)
- Restarting the Kunpeng Intelligent Management Engine (resetiME)
User Management Commands
- Querying the Information About All Users (userlist/list)
- Adding a User (adduser)
- Changing the User Password (password)
- Deleting a User (deluser)
- Setting User Rights (privilege)
- Querying and Setting the Status of the Password Complexity Check Function (passwordcomplexity)
- Locking a User (user -d lock)
- Unlocking a User (user -d unlock)
- Querying and Setting the Minimum Password Age (minimumpasswordage)
- Setting an Emergency User (emergencyuser)
- Importing an SSH Public Key for a User (addpublickey)
- Deleting the SSH Public Key of a User (delpublickey)
- Querying and Setting the SSH User Password Authentication Enablement Status (sshpasswordauthentication)
- Setting the User Interfaces for Logging to iBMC (interface)
- Setting Weak Password Check State (weakpwddic)
- Exporting the Weak Password Dictionary (weakpwddic -v export)
- Importing the Weak Password Dictionary (weakpwddic -v import)
- Setting the SNMPv3 User Encryption Password (snmpprivacypassword)
- Querying and Setting User Inactive Period (securityenhance -d inactivetimelimit)
- Setting User Status (user -d state)
- Querying and Setting the In-Band User Management Status (user -d usermgmtbyhost)
- Querying and Setting the CLI Session Timeout Period (securityenhance -d clitimeout)
NTP Commands
- Querying NTP Information (ntpinfo)
- Setting NTP State (ntp -d status)
- Setting the Method for Obtaining NTP Information (ntp -d mode)
- Setting an Address for the Preferred NTP Server (ntp -d preferredserver)
- Setting an Address for the Alternate NTP Server (ntp -d alternativeserver)
- Setting an Address for an Extra NTP Server (ntp -d extraserver)
- Setting NTP Server Authentication (ntp -d authstatus)
- Uploading the NTP Group Key (ntp -d groupkey)
Indicator Commands
Fan Commands
Sensor Commands
PSU Commands
SOL Commands
Common Maintenance Commands
- Viewing Help Information (help)
- Disconnecting the Client from iBMC (exit)
- Checking the Network Connectivity (ping, ping6)
- Checking Memory Status (free)
- Checking Network Port Status (netstat)
- Checking Disk Usage (df)
- Checking Network Device Information (ifconfig)
- Checking Route Information (route)
- Checking System Resource Usage (top)
- Disabling the CLP Timeout Feature (notimeout)
Common Operations
- Logging In to a Server Over the Serial Port Using PuTTY
- Logging In to a Server Over a Network Port Using PuTTY
- Configuring the Trap Function on the iBMC WebUI
- Configuring the SMTP Function on the iBMC WebUI
Configuring the Directory Server Function
- Configuring the DNS on the iBMC WebUI
- Configuring the SSH User Private Key
- Configuring the iBMC SSL Certificate
- iBMC Configuring Syslog on the iBMC WebUI
- Logging In to a Server Using VNC
- Importing the iBMC Trust and Root Certificates
Independent Remote Console
- Smart Provisioning
- Configuration File Description
- Acronyms and Abbreviations