ipmitool命令

1.remote access control power
Ipmitool -I lanplus -H 192.168.0.10 -U username -P Password chassis power off
Ipmitool -I lanplus -H 192.168.0.10 -U username -P Password chassis power on
Ipmitool -I lanplus -H 192.168.0.10 -U username -P Password chassis power reset
Ipmitool -I lanplus -H 192.168.0.10 -U username -P Password chassis power cycle
2.Sensor status
Ipmitool sensor list
Ipmitool fru list
Ipmitool sdr list
ipmitool sdr entity
Ipmitool peflist
3.system log
ipmitool sel sellist(显示)
ipmitool sel clear
ipmitool sel delete ID
ipmitool sel time get
ipmitool sel time set xxx(设置当前bmc时间)
4.boot
ipmitool chassis bootdev bios(重启后停在bios菜单)
ipmitool chasssis bootdev pxe(重启后从PXE启动)
ipmitool -I lanplus -H 10.41.1.41 -U root -P root chassis bootparam set bootflag force_disk(TBD)
5.system command
ipmitool mc info
ipmitool bmc reset cold
ipmitool bmc reset warm
6.network command
ipmitool lan print 1
ipmitool lan set 1 ipaddr 192.168.0.1
ipmitool lan set 1 netmask 255.255.255.0
ipmitool lan set 1 ipsrc dhcp(static)
ipmitool lan set 1 defgw 192.168.0.1
7.channel command
ipmitool channel info
ipmitool channel authcap channel-number privilege(修改通道优先级)
ipmitool channel getaccess channel-number user-id(读取用户通道上的权限)
ipmitool channel setaccess channel-number user-id callin=on ipmi=on link=onprivilege=5
8.watch dog command
ipmitool mc watchdog get
ipmitool watchdog off
ipmitool watchdog reset
9. user management command
ipmitool user list chan-id(某通道上的所有用户)
ipmitool set password []修改某用户密码
ipmitool disable userid
ipmitool enable userid
ipmitool priv userid privilegelevel channel_number
10.SOL
ipmitool -H 192.168.0.1 -I lanplus -U username -P password sol set volatile-bit-rate<9.6/115.2/38.4>
ipmitool -H 192.168.0.1 -I lanplus -U username -P password sol activate(deactivate)(enable/disable sol)

 

你可能感兴趣的:(ipmitool命令)