java ipmitool_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)

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值