ipmitool--Effective for controlling devices that support IPMI.
This program enables you to use IPMIv1.5 or IPMIv2.0 to manage any intelligent platform management interface (IPMI) function of the local system through a kernel device driver or a remote system.
$ ipmitool -H xxx(BMC management IP address) -I lanplus -U xxx(BMC login username) -P xxx(BMC login password) power status
$ ipmitool -H xxx(BMC management IP address) -I lanplus -U xxx(BMC login username) -P xxx(BMC login password) power on/up
$ ipmitool -H xxx(BMC management IP address) -I lanplus -U xxx(BMC login username) -P xxx(BMC login password) power off/down
$ ipmitool -H xxx(BMC management IP address) -I lanplus -U xxx(BMC login username) -P xxx(BMC login password) power reset
$ ipmitool -H xxx(BMC management IP address) -I lanplus -U xxx(BMC login username) -P xxx(BMC login password) power cycle
$ ipmitool -H xxx(BMC management IP address) -I lanplus -U xxx(BMC login username) -P xxx(BMC login password) power soft
$ ipmitool -H xxx(BMC management IP address) -I lanplus -U xxx(BMC login username) -P xxx(BMC login password) power diag
$ ipmitool -H xxx(BMC management IP address) -I lanplus -U xxx(BMC login username) -P xxx(BMC login password) user list
$ ipmitool -H xxx(BMC management IP address) -I lanplus -U xxx(BMC login username) -P xxx(BMC login password) user summary
$ ipmitool -H xxx(BMC management IP address) -I lanplus -U xxx(BMC login username) -P xxx(BMC login password) user set name <userid> <username>
$ ipmitool -H xxx(BMC management IP address) -I lanplus -U xxx(BMC login username) -P xxx(BMC login password) user set password <userid>[<password>]
$ ipmitool -H xxx(BMC management IP address) -I lanplus -U xxx(BMC login username) -P xxx(BMC login password) user set disable <userid>
$ ipmitool -H xxx(BMC management IP address) -I lanplus -U xxx(BMC login username) -P xxx(BMC login password) user set enable <userid>
$ ipmitool -H xxx(BMC management IP address) -I lanplus -U xxx(BMC login username) -P xxx(BMC login password) fru list
$ ipmitool -H xxx(BMC management IP address) -I lanplus -U xxx(BMC login username) -P xxx(BMC login password) sdr
$ ipmitool -H xxx(BMC management IP address) -I lanplus -U xxx(BMC login username) -P xxx(BMC login password) sensor list
$ ipmitool -H xxx(BMC management IP address) -I lanplus -U xxx(BMC login username) -P xxx(BMC login password) mc reset <warm|cold>
$ ipmitool -H xxx(BMC management IP address) -I lanplus -U xxx(BMC login username) -P xxx(BMC login password) mc info
$ ipmitool -H xxx(BMC management IP address) -I lanplus -U xxx(BMC login username) -P xxx(BMC login password) mc getenables
$ ipmitool -H xxx(BMC management IP address) -I lanplus -U xxx(BMC login username) -P xxx(BMC login password) channel authcap <channel number> <max privilege>
$ ipmitool -H xxx(BMC management IP address) -I lanplus -U xxx(BMC login username) -P xxx(BMC login password) channel info [channel number]
$ ipmitool -H xxx(BMC management IP address) -I lanplus -U xxx(BMC login username) -P xxx(BMC login password) channel info
$ ipmitool -H xxx(BMC management IP address) -I lanplus -U xxx(BMC login username) -P xxx(BMC login password) chassis status
$ ipmitool -H xxx(BMC management IP address) -I lanplus -U xxx(BMC login username) -P xxx(BMC login password) chassis poh
$ ipmitool -H xxx(BMC management IP address) -I lanplus -U xxx(BMC login username) -P xxx(BMC login password) chassis restart_cause
$ ipmitool -H xxx(BMC management IP address) -I lanplus -U xxx(BMC login username) -P xxx(BMC login password) chassis policy
$ ipmitool -H xxx(BMC management IP address) -I lanplus -U xxx(BMC login username) -P xxx(BMC login password) chassis power
##
status: show current status
on: power on
off: power off
reset: power reset
soft: power soft
cycle:
$ ipmitool -H xxx(BMC management IP address) -I lanplus -U xxx(BMC login username) -P xxx(BMC login password) chassis bootdev <device>
##
Currently supported devices:
pxe: boot from pxe
disk: boot from BIOS default boot device
safe: boot from BIOS default boot device,but requires a safe mode
diag: boot from the diagnostic partition
cdrom: boot from the CD/DVD
bios: enter bios settings
floppy: boot from Floppy/primary removable media
$ ipmitool -H xxx(BMC management IP address) -I lanplus -U xxx(BMC login username) -P xxx(BMC login password) chassis identify <interval>
$ ipmitool -H xxx(BMC management IP address) -I lanplus -U xxx(BMC login username) -P xxx(BMC login password) print [<channel number>]
$ ipmitool -H xxx(BMC management IP address) -I lanplus -U xxx(BMC login username) -P xxx(BMC login password) lan set <channel> <command> <parameter>
$ ipmitool -H xxx(BMC management IP address) -I lanplus -U xxx(BMC login username) -P xxx(BMC login password) sdr info
$ ipmitool -H xxx(BMC management IP address) -I lanplus -U xxx(BMC login username) -P xxx(BMC login password) sdr list [all|full|compact|event|mcloc|fru|generic]
##
all: All SDR records (sensors and positioners)
full: Complete sensor recording
compact: Simple sensor recording
event: Event information recorded by the sensor
mcloc: Manage controller locator records
fru: FRU (Field Replaceable Unit) locator record
generic: General SDR records
$ ipmitool -H xxx(BMC management IP address) -I lanplus -U xxx(BMC login username) -P xxx(BMC login password) sel info
$ ipmitool -H xxx(BMC management IP address) -I lanplus -U xxx(BMC login username) -P xxx(BMC login password) sel clear
$ ipmitool -H xxx(BMC management IP address) -I lanplus -U xxx(BMC login username) -P xxx(BMC login password) sel <count>|first <count>
$ ipmitool -H xxx(BMC management IP address) -I lanplus -U xxx(BMC login username) -P xxx(BMC login password) sel last <count>
$ ipmitool -H xxx(BMC management IP address) -I lanplus -U xxx(BMC login username) -P xxx(BMC login password) sel delete <number>
$ ipmitool -H xxx(BMC management IP address) -I lanplus -U xxx(BMC login username) -P xxx(BMC login password) sel time get
$ ipmitool -H xxx(BMC management IP address) -I lanplus -U xxx(BMC login username) -P xxx(BMC login password) pef info
$ ipmitool -H xxx(BMC management IP address) -I lanplus -U xxx(BMC login username) -P xxx(BMC login password) pef status
$ ipmitool -H xxx(BMC management IP address) -I lanplus -U xxx(BMC login username) -P xxx(BMC login password) pef policy
$ ipmitool -H xxx(BMC management IP address) -I lanplus -U xxx(BMC login username) -P xxx(BMC login password) pef list
$ ipmitool -H xxx(BMC management IP address) -I lanplus -U xxx(BMC login username) -P xxx(BMC login password) session info
$ ipmitool -H xxx(BMC management IP address) -I lanplus -U xxx(BMC login username) -P xxx(BMC login password) sol info [<channel number>]