CLI: IPMI

You can use the IPMI command to configure access to the appliances baseboard management controller (BMC). When access is configured, an IPMI client may be used to remote power on/off the appliance, query sensors, and access the serial-over-lan console.

Configuring IPMI

ipmi {enable|ip|dhcp|username|sel|seltime|power}

To enable IPMI access:

[no] ipmi enable

To configure a static IPMI IPv4 adress or default gateway:

[no] ipmi ip address <IPv4 address> [<netmask>]

  • <netmask> - A netmask can be specified in long (e.g. 255.255.254.0) or short (e.g /23) format. If no netmask is specified a default of /24 is used.

[no] ipmi ip default-gateway <IPv4 address>

To use DHCPDynamic Host Configuration Protocol to configure the IPInternet protocol address and default gateway:

[no] ipmi dhcp

To configure IPMI authentication:

[no] ipmi username <user> password <password>

To enable sending BMC System Event Log (SEL) events to the appliance log:

[no] ipmi sel enable

To set the SEL time to that of the appliance on startup:

[no] ipmi seltime enable

To control the power of a remote appliance which has enabled IPMI access as above:

ipmi power address <address> username <username> password <password> control {on|off|cycle|reset|status}

  • on - Power on the chassis
  • off - Power off the chassis - no clean shutdown of the OS
  • cycle - Power off for a minimum of 1 second, and then power on
  • reset - Hard reset of the appliance
  • status - Display the power status of the chassis

EXAMPLE

Enable the IPMI interface with 172.16.0.71 IP address and 255.255.254.0 netmask.

ipmi enable

ipmi ip address 172.16.0.71 255.255.254.0

ipmi ip default-gateway 172.16.1.254

ipmi username admin password exinda

Viewing Configuration & Status

To show the current IPMI configuration:

show ipmi

To show the power status of a remote IPMI device:

show ipmi power <address> username <username> password <password>