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).
iBMC Commands

iBMC Commands

This topic describes all iBMC commands.

Querying the IP Address of the iBMC Management Network Interface (ipinfo)

Function

The ipinfo command is used to query the IP address of the iBMC management network interface.

Format

ipmcget -d ipinfo

Parameters

None

Usage Guidelines

The switch module does not support the command.

Example

# Query the IP address of the iBMC management network interface.

iBMC:/->ipmcget -d ipinfo
EthGroup ID           :  1
Net Mode              :  Manual
Net Type              :  Dedicated
IPv4 Information      :
IP Mode               :  static
IP Address            :  192.168.2.100
Subnet Mask           :  255.255.255.0
Default Gateway       :  192.168.2.100
MAC Address           :  00:18:e1:c5:d8:66
IPv6 Information      :
IPv6 Mode             :  static
IPv6 Address          :
Default Gateway IPv6  :
Link-Local Address    :  fe80::220:19ff:fe55:188/64
VLAN Information      :
VLAN State            :  disabled

EthGroup ID           :  2
Net Mode              :  Manual
Net Type              :  Dedicated
IPv4 Information      :
IP Mode               :  static
IP Address            :  172.31.1.139
Subnet Mask           :  255.255.0.0
Default Gateway       :
MAC Address           :  00:18:e1:c5:d8:66
IPv6 Information      :
IPv6 Mode             :  static
IPv6 Address          :
Default Gateway IPv6  :
Link-Local Address    :  fe80::220:19ff:fe55:188/64
VLAN Information      :
VLAN State            :  enabled
VLAN ID               :  4093
NOTE:

The 172.31.1.*/24 network segment is reserved for the server internal communication network ports, for example, port 2 in the command output.

Setting the IPv4 Address of the iBMC Management Network Interface (ipaddr)

Function

The ipaddr command is used to set the IPv4 address and the subnet mask of the iBMC management network interface.

Format

ipmcset -d ipaddr -v <ipaddr> <mask>

Parameters

Parameter Description Value
ipaddr Indicates the IPv4 address of the iBMC management network interface to be set. The value of this parameter is in the data type of IPv4 and in the format of xxx.xxx.xxx.xxx.
mask Indicates the subnet mask of the iBMC management network interface to be set. The value of this parameter is in the data type of IPv4 and in the format of xxx.xxx.xxx.xxx.

Usage Guidelines

The switch module does not support the command.

After the IP address is changed, the new IP address takes effect immediately, and you must use the new IP address to log in again.

The 172.31.1.*/24 network segment is reserved for the server internal communication network ports. Do not assign addresses in this network segment to iBMC management network ports.

Example

# Set the IP address of the iBMC management network interface to 192.168.0.25 and the subnet mask to 255.255.255.0.

iBMC:/->ipmcset -d ipaddr -v 192.168.0.25 255.255.255.0
Set IP address successfully.
Set MASK address successfully.

# Query the changed IP address of the iBMC management network interface.

iBMC:/->ipmcget -d ipinfo
EthGroup ID           :  1
Net Mode              :  Manual
Net Type              :  Dedicated
IPv4 Information      :
IP Mode               :  static
IP Address            :  192.168.0.25
Subnet Mask           :  255.255.255.0
Default Gateway       :  192.168.0.25
MAC Address           :  00:18:e1:c5:d8:66
IPv6 Information      :
IPv6 Mode             :  dhcp
IPv6 Address          :
Default Gateway IPv6  :
Link-Local Address    :  fe80::220:19ff:fe55:188/64
VLAN Information      :
VLAN State            :  disabled

EthGroup ID           :  2
Net Mode              :  Manual
Net Type              :  Dedicated
IPv4 Information      :
IP Mode               :  static
IP Address            :  172.31.1.139
Subnet Mask           :  255.255.0.0
Default Gateway       :
MAC Address           :  00:20:19:55:01:88
IPv6 Information      :
IPv6 Mode             :  static
IPv6 Address          :
Default Gateway IPv6  :
Link-Local Address    :  fe80::220:19ff:fe55:188/64
VLAN Information      :
VLAN State            :  enabled
VLAN ID               :  4093

Setting the IPv4 Mode of the iBMC Management Network Interface (ipmode)

Function

The ipmode command is used to set the IPv4 mode of the iBMC management network interface.

Format

ipmcset -d ipmode -v <dhcp | static>

Parameters

Parameter Description Value
dhcp Indicates the DHCP mode.
static Indicates the static mode.

Usage Guidelines

The switch module does not support the command.

After the IPv4 mode is changed, the new configuration takes effect immediately, and you must use the new configuration to log in again.

The 172.31.1.*/24 network segment is reserved for the server internal communication network ports. If the automatically assigned iBMC IP address conflicts with this reserved network segment, the iBMC management network port will be unavailable. If this occurs, run the smmset -l shelf -d subnet -v subnetaddress maskaddress command provided by the management module to change the network segment reserved for internal communication. For details, see the user guide of the management module.

Example

# Set the mode of the iBMC management network interface to dhcp.

iBMC:/->ipmcset -d ipmode -v dhcp
Set dhcp mode successfully.

# Query the IP information of the iBMC management network interface.

iBMC:/->ipmcget -d ipinfo
EthGroup ID           :  1
Net Mode              :  Manual
Net Type              :  Dedicated
IPv4 Information      :
IP Mode               :  dhcp
IP Address            :  192.168.0.12
Subnet Mask           :  255.255.0.0
Default Gateway       :  192.168.0.25
MAC Address           :  00:18:e1:c5:d8:66
IPv6 Information      :
IPv6 Mode             :  dhcp
IPv6 Address          :
Default Gateway IPv6  :
Link-Local Address    :  fe80::220:19ff:fe55:188/64
VLAN Information      :
VLAN State            :  disabled

EthGroup ID           :  2
Net Mode              :  Manual
Net Type              :  Dedicated
IPv4 Information      :
IP Mode               :  static
IP Address            :  172.31.1.139
Subnet Mask           :  255.255.0.0
Default Gateway       :
MAC Address           :  00:20:19:55:01:88
IPv6 Information      :
IPv6 Mode             :  static
IPv6 Address          :
Default Gateway IPv6  :
Link-Local Address    :  fe80::220:19ff:fe55:188/64
VLAN Information      :
VLAN State            :  enabled
VLAN ID               :  4093
NOTE:

You can run the ipinfo command to view that the new IP address that the iBMC management network interface obtained from the DHCP server is 192.168.0.12.

Setting the IPv4 Gateway Address of the iBMC Management Network Interface (gateway)

Function

The gateway command is used to set the IPv4 gateway address of the iBMC management network interface.

Format

ipmcset -d gateway -v <gateway>

Parameters

Parameter

Description

Value

gateway Indicates the IPv4 gateway address of the iBMC management network interface. The value of this parameter is in the data type of IPv4 and in the format of xxx.xxx.xxx.xxx.

Usage Guidelines

The switch module does not support the command.

NOTE:

After the gateway address is changed, the new gateway address takes effect immediately.

Example

# Set the gateway address of the iBMC management network interface to 192.168.0.1.

iBMC:/->ipmcset -d gateway -v 192.168.0.1
Set gateway successfully.

# Query the new gateway address of the iBMC management network interface.

iBMC:/->ipmcget -d ipinfo
EthGroup ID           :  1
Net Mode              :  Manual
Net Type              :  Dedicated
IPv4 Information      :
IP Mode               :  static
IP Address            :  192.168.0.25
Subnet Mask           :  255.255.255.0
Default Gateway       :  192.168.0.1
MAC Address           :  00:18:e1:c5:d8:66
IPv6 Information      :
IPv6 Mode             :  dhcp
IPv6 Address          :
Default Gateway IPv6  :
Link-Local Address    :  fe80::220:19ff:fe55:188/64
VLAN Information      :
VLAN State            :  disabled

EthGroup ID           :  2
Net Mode              :  Manual
Net Type              :  Dedicated
IPv4 Information      :
IP Mode               :  static
IP Address            :  172.31.1.139
Subnet Mask           :  255.255.0.0
Default Gateway       :
MAC Address           :  00:20:19:55:01:88
IPv6 Information      :
IPv6 Mode             :  static
IPv6 Address          :
Default Gateway IPv6  :
Link-Local Address    :  fe80::220:19ff:fe55:188/64
VLAN Information      :
VLAN State            :  enabled
VLAN ID               :  4093

Setting the IPv6 Address of the iBMC Management Network Interface (ipaddr6)

Function

The ipaddr6 command is used to set the IPv6 address and the prefix length of the iBMC management network interface.

Format

ipmcset -d ipaddr6 -v <ipaddr6/prefixlen>

Parameters

Parameter Description Value
ipaddr6 Indicates the IPv6 address of the iBMC management network interface to be set.

The value is an IPv6 address in the format of xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx. When multiple continuous xxxx are 0, the value is in the format of xxxx::xxxx. For example, 2001:0000:000:0000:0000:0000:0000:0001 can be written as 2001::0001.

An IPv6 address can contain only one xxxx::xxxx.

prefixlen Indicates the prefix of the iBMC management network interface to be set. 0 to 128.

Usage Guidelines

The switch module does not support the command.

  • You can run the ipmcget command to obtain the IPv6 link-local address. You can use this address to access iBMC.
  • After the IP address is changed, the new IP address takes effect immediately, and you must use the new IP address to log in again.

Example

# Set the IPv6 address of the iBMC management network interface to 2011::6516 and the prefix to 64.

iBMC:/->ipmcset -d ipaddr6 -v 2011::6516/64
Set IPV6 address successfully.
Set IPV6 prefix successfully.

# Query the changed IPv6 address of the iBMC management network interface.

iBMC:/->ipmcget -d ipinfo
EthGroup ID           :  1
Net Mode              :  Manual
Net Type              :  Dedicated
IPv4 Information      :
IP Mode               :  static
IP Address            :  192.168.0.25
Subnet Mask           :  255.255.0.0
Default Gateway       :  192.168.0.1
MAC Address           :  00:18:e1:c5:d8:66
IPv6 Information      :
IPv6 Mode             :  static
IPv6 Address          :  2011::6516
Default Gateway IPv6  :  2011::1
Link-Local Address    :  fe80::220:19ff:fe55:188/64
VLAN Information      :
VLAN State            :  disabled

EthGroup ID           :  2
Net Mode              :  Manual
Net Type              :  Dedicated
IPv4 Information      :
IP Mode               :  static
IP Address            :  172.31.1.139
Subnet Mask           :  255.255.0.0
Default Gateway       :
MAC Address           :  00:20:19:55:01:88
IPv6 Information      :
IPv6 Mode             :  static
IPv6 Address          :
Default Gateway IPv6  :
Link-Local Address    :  fe80::220:19ff:fe55:188/64
VLAN Information      :
VLAN State            :  enabled
VLAN ID               :  4093

Setting the IPv6 Mode of the iBMC Management Network Interface (ipmode6)

Function

The ipmode6 command is used to set the IPv6 mode of the iBMC management network interface.

Format

ipmcset -d ipmode6 -v <dhcp | static>

Parameters

Parameter Description Value
dhcp Indicates the DHCP mode. -
static Indicates the static mode. -

Usage Guidelines

The switch module does not support the command.

After the IPv6 mode is changed, the new configuration takes effect immediately, and you must use the new configuration to log in again.

Example

# Set the ipv6 mode of the iBMC management network interface to dhcp.

iBMC:/->ipmcset -d ipmode6 -v dhcp
Set dhcp mode successfully.

# Query the changed IPv6 information of the iBMC management network interface.

iBMC:/->ipmcget -d ipinfo
EthGroup ID           :  1
Net Mode              :  Manual
Net Type              :  Dedicated
IPv4 Information      :
IP Mode               :  static
IP Address            :  192.168.0.25
Subnet Mask           :  255.255.0.0
Default Gateway       :  192.168.0.1
MAC Address           :  00:18:e1:c5:d8:66
IPv6 Information      :
IPv6 Mode             :  dhcp
IPv6 Address          :
Default Gateway IPv6  :
Link-Local Address    :  fe80::220:19ff:fe55:188/64
VLAN Information      :
VLAN State            :  disabled

EthGroup ID           :  2
Net Mode              :  Manual
Net Type              :  Dedicated
IPv4 Information      :
IP Mode               :  static
IP Address            :  172.31.1.139
Subnet Mask           :  255.255.0.0
Default Gateway       :
MAC Address           :  00:20:19:55:01:88
IPv6 Information      :
IPv6 Mode             :  static
IPv6 Address          :
Default Gateway IPv6  :
Link-Local Address    :  fe80::220:19ff:fe55:188/64
VLAN Information      :
VLAN State            :  enabled
VLAN ID               :  4093

Setting the IPv6 Gateway Address of the iBMC Management Network Interface (gateway6)

Function

The gateway6 command is used to set the IPv6 gateway address of the iBMC management network interface.

Format

ipmcset -d gateway6 -v <gateway6>

Parameters

Parameter

Description

Value

gateway6 Indicates the IPv6 gateway address of the iBMC management network interface.

The value is an IPv6 address in the format of xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx. When multiple continuous xxxx are 0, the value is in the format of xxxx::xxxx. For example, 2001:0000:000:0000:0000:0000:0000:0001 can be written as 2001::0001.

An IPv6 address can contain only one xxxx::xxxx.

Usage Guidelines

The switch module does not support the command.

NOTE:

After the gateway address is changed, the new gateway address takes effect immediately.

Example

# Set the gateway IPv6 address of the iBMC management network interface to 2001::1.

iBMC:/->ipmcset -d gateway6 -v 2001::1
Set gateway6 successfully.

# Query the new gateway address of the iBMC management network interface.

iBMC:/->ipmcget -d ipinfo
EthGroup ID           :  1
Net Mode              :  Manual
Net Type              :  Dedicated
IPv4 Information      :
IP Mode               :  static
IP Address            :  192.168.0.25
Subnet Mask           :  255.255.0.0
Default Gateway       :  192.168.0.1
MAC Address           :  00:18:e1:c5:d8:66
IPv6 Information      :
IPv6 Mode             :  static
IPv6 Address          :  2001::65
Default Gateway IPv6  :  2001::1
Link-Local Address    :  fe80::220:19ff:fe55:188/64
VLAN Information      :
VLAN State            :  disabled

EthGroup ID           :  2
Net Mode              :  Manual
Net Type              :  Dedicated
IPv4 Information      :
IP Mode               :  static
IP Address            :  172.31.1.139
Subnet Mask           :  255.255.0.0
Default Gateway       :
MAC Address           :  00:20:19:55:01:88
IPv6 Information      :
IPv6 Mode             :  static
IPv6 Address          :
Default Gateway IPv6  :
Link-Local Address    :  fe80::220:19ff:fe55:188/64
VLAN Information      :
VLAN State            :  enabled
VLAN ID               :  4093

Querying and Setting the Direction of the Serial Port (serialdir)

Function

The serialdir command is used to query and set the direction of the serial port.

Format

ipmcget -d serialdir

ipmcset -d serialdir -v <option>

Parameters

Parameter Description Value
<option> Indicates the direction of the serial port.

For the E9000 server, the options are as follows:

  • 0: switch from PANEL COM to SYS COM
  • 1: switch from PANEL COM to iBMC COM.
  • 2: switch from SOL COM to SYS COM.
  • 3: switch from SOL COM to iBMC COM.
  • 4: switch from SYS COM to iBMC COM.

The value options of this parameter and the value meanings vary according to the server model. You are advised to run the ipmcget -d serialdir command to view the value options and value meanings.

Usage Guidelines

  • The redirection setting of the SOL port takes precedence over the setting of the serial port on the server panel. If you redirect the SOL port to the system or iBMC serial port that is currently redirected from the serial port on the server panel, the serial port on the server panel will become unavailable temporarily. The serial port on the server panel will restore its original setting only after the SOL port is disconnected.
  • If the serial port (serial port on the panel or SOL serial port) is set as the system serial port, you can press Del during the OS startup process to enter the BIOS Setup screen.

Example

# Set the direction of the panel serial port to the iBMC serial port.

iBMC:/->ipmcset -d serialdir -v 1
Set serial port direction successfully.

# Query the current direction of the serial port.

iBMC:/->ipmcget -d serialdir
Currently connected serial direction : 
Num           Source                  Destination         
1             PANEL COM               BMC COM   

Restarting the iBMC System (reset)

Function

The reset command is used to reset the iBMC system.

Format

ipmcset -d reset

Parameters

None

Usage Guidelines

None

Example

# Restart the iBMC system.

iBMC:/->ipmcset -d reset
This operation will reboot iBMC system. Continue? [Y/N]:y
Resetting...

Upgrading the Firmware (upgrade)

Function

The upgrade command is used to upgrade the firmware.

Format

ipmcset -d upgrade -v <filepath> [option]

Parameters

Parameter Description Value
filepath

Specifies the absolute path to the upgrade file.

NOTE:
The target file must be in the xxx.hpm format.
Example value: /tmp/image.hpm.
option Specifies whether to restart iBMC after the upgrade.
  • 0: does not restart iBMC.
  • 1: restarts iBMC.
NOTE:
  • If option is not specified, iBMC automatically restarts after the upgrade.

  • This parameter is effective to the iBMC firmware and SD card firmware.

Usage Guidelines

If the iBMC version is earlier than V256, run the ipmcset -d reset command to restart the iBMC before you use this command to upgrade the firmware (iBMC/CPLD/BIOS).

Before running this command, use a file transfer tool that supports SFTP, for example WinSCP, to transfer the upgrade file to the specified directory (for example /tmp) of the iBMC file system.

After the iBMC or SD card controller upgrade is complete, the iBMC restarts automatically for the upgrade to take effect.

Example

# Upgrade the firmware.

iBMC:/->ipmcset -d upgrade -v /tmp/image.hpm 0
Please make sure the iBMC is working while upgrading!
Updating...
100%
Update successfully.

Upgrading the PCIe Switch2 Chip Firmware (pcieswitch2upgrade)

Function

The pcieswitch2upgrade command is used to upgrade the PCIe switch2 chip firmware. This command applies only to the CH220 V3.

Format

ipmcset -d pcieswitch2upgrade -v <filepath>

Parameters

Parameter Description Value
filepath Specifies the absolute path to the upgrade file. For example, /tmp/Tecal_CH220_V3–SW2FW-V009.bin.

Usage Guidelines

If the iBMC version is earlier than V256, run the ipmcset -d reset command to restart the iBMC before you use this command to upgrade the firmware (iBMC/CPLD/BIOS).

Before running this command, use a file transfer tool that supports SFTP, for example WinSCP, to transfer the upgrade file to the specified directory (for example /tmp) of the iBMC file system.

After the iBMC or SD card controller upgrade is complete, the iBMC restarts automatically for the upgrade to take effect.

Example

# Upgrade the PCIe Switch2 chip firmware.

iBMC:/->ipmcset -d pcieswitch2upgrade -v /tmp/Tecal_CH220_V3–SW2FW-V009.bin
in
Update pcie switch2 configuration file successfully.

Capturing the Screen (printscreen)

Function

The printscreen command is used to capture the screen of the current server display picture.

Format

ipmcset -d printscreen [-v wakeup]

Parameters

Parameter Description Value
wakeup Saves the screenshot and wakes the system from the sleep mode. -

Usage Guidelines

The switch module does not support the command.

To view the screenshot, use a file transfer tool that supports SFTP, for example WinSCP, to transfer the manualscreen.jpeg from the /tmp/web directory to the local PC that supports the .jpeg files.

NOTE:

Only the last screenshot is saved if you run the printscreen command multiple times.

Example

# Capture the screen of the OS on the current server.

iBMC:/->ipmcset -d printscreen
Set printscreen successfully.

Rolling Back the iBMC Software (rollback)

Function

The rollback command is used to switch the iBMC firmware from the image file in the primary partition to the image file in the secondary partition.

Format

ipmcset -d rollback

Parameters

None

Usage Guidelines

None

Example

# Roll back the iBMC software.

iBMC:/->ipmcset -d rollback
WARNING: The operation may have many adverse effects
Do you want to continue?[Y/N]:y
Set rollback successfully, system will reboot soon!

Querying the Result of Rolling Back the iBMC Software (rollbackstatus)

Function

The rollbackstatus command is used to query the result of rolling back the iBMC software.

Format

ipmcget -d rollbackstatus

Parameters

None

Usage Guidelines

None

Example

# Query the result of rolling back the iBMC software.

iBMC:/->ipmcget -d rollbackstatus
Last rollback success!

Setting the State of Service (service -d state)

Function

The service -d state command is used to set the state of service.

Format

ipmcset -t service -d state -v <option> <enabled | disabled>

Parameters

Parameter

Description

Value

option Indicates the type of service.
  • FTP
  • SSH
  • Telnet
  • NAT
  • SNMP
  • KVM
  • VMM
  • Video
  • HTTP
  • HTTPS
  • RMCP
  • RMCP+
enabled

Enable the service

-
disabled

Disable the service

-

Usage Guidelines

None

Example

# Enable the service.

iBMC:/->ipmcset -t service -d state -v http enabled
Set http service state(enabled) successfully.
NOTE:
Enabling the HTTP service may cause security risks.

Setting the Port Number for a Service (service -d port)

Function

The service -d port command is used to set the port number for a service.

Format

ipmcset -t service -d port -v <option> <port1value> [port2value]

Parameters

Parameter

Description

Value

option

Service type

  • FTP
  • SSH
  • Telnet
  • NAT
  • SNMP
  • KVM
  • VMM
  • Video
  • HTTP
  • HTTPS
  • RMCP
port1value

Port number

1 to 65535

port2value

Service port number. This port number is available only for the RMCP service.

1 to 65535

NOTE:
If the port for Web Server(HTTP) or Web Server(HTTPS) is changed to 65535, the Chrome browser cannot set up a session over this port.

Usage Guidelines

None

Example

# Set the HTTPS port to 443.

iBMC:/->ipmcset -t service -d port -v https 443
Set https service port to 443 successfully.

Querying the State of Service (service -d list)

Function

The service -d list command is used to query the state of service.

Format

ipmcget -t service -d list

Parameters

None

Usage Guidelines

None

Example

# Query the state of service.

iBMC:/->ipmcget -t service -d list
service name   |  state         |  port
FTP            |  Disabled      |  100
SSH            |  Enabled       |  22
Telnet         |  Disabled      |  101
NAT             | Enabled         | 30022
SNMP           |  Enabled       |  168
KVM            |  Disabled      |  2001
VMM            |  Disabled      |  8001
Video          |  Enabled       |  2200
HTTP           |  Enabled       |  80
HTTPS          |  Enabled       |  443
RMCP           |  Disabled      |  1004,184
RMCP+          |  Enabled       |  1004,184
Translation
Download
Updated: 2019-08-01

Document ID: EDOC1000058833

Views: 218073

Downloads: 1936

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