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.
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>]
[no] ipmi ip default-gateway <IPv4 address>
To use DHCP to configure the IP 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}
E X A M P L E 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 |
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>
|
|