码迷,mamicode.com
首页 > 其他好文 > 详细

ipmitool命令

时间:2020-02-06 14:35:44      阅读:173      评论:0      收藏:0      [点我收藏+]

标签:读取   user   enable   number   roo   list   bit   command   name   

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 <user id>[<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命令

标签:读取   user   enable   number   roo   list   bit   command   name   

原文地址:https://www.cnblogs.com/maisha/p/12268424.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!