赞
踩
ipmitool -H 127.0.0.1 -U admin -P admin
ipmitool -H 127.0.0.1 -U admin -P admin raw 0x06 0x52 0x07 0xa0 0x10 0x00 0x00
ipmitool -H 127.0.0.1 -U admin -P admin raw 0x06 0x52 0x07 0xa0 0x00 0x00 0x00 1 2 3 4 5
i2c-test -b 3 -s 0x50 -w 0x00 -d 5 5 5 5 5 5 5 55 5 5 5 5 5 5 5 5 5 55 5 5 5 5 5 5 5 5
i2c-test -b 3 -s 0x50 -r -rc 16
ipmitool channel setaccess 1 3 callin=off ipmi=on link=on privilege=4
setaccess [callin=on|off] [ipmi=on|off] [link=on|off] [privilege=level]
Possible privilege levels are:
1 Callback level
2 User level
3 Operator level
4 Administrator level
5 OEM Proprietary level
15 No access
说明:[ChannelNo] 字段是可选的,
ChannoNo为1(Share Nic网络)或者8(BMC独立管理网络)
设置网络参数,必须首先设置IP为静态,然后再进行其他设置
ipmitool -H 127.0.0.1 -U admin -P admin lan set 1 ipsrc static
ipmitool -H 127.0.0.1 -U admin -P admin lan set 1 ipaddr 10.10.82.45
ipmitool -H 127.0.0.1 -U admin -P admin lan set 1 netmask 255.255.255.0
ipmitool -H 127.0.0.1 -U admin -P admin lan set 1 defgw ipaddr 10.10.82.254
说明:<9.6/19.2/38.4/57.6/115.2>其中115.2代表115200,即*1000是表示的波特率。
设置某一段IP可以访问BMC
raw 0x32 0x76 0x01 0x01 ip1(0xa 0xa 0xa 0xa) ip2(0xb 0xb 0xb 0xb)raw 0x32 0x76 0x09
设置某个IP可以访问BMC
raw 0x32 0x76 0x00 0x01 ip1 (0xa 0xa 0xa 0xa)
raw 0x32 0x76 0x09
取消设置
raw 0x32 0x76 0x08
获取防火墙设置
raw 0x32 0x77 0x01 0x00
阻止/开启某个端口
raw 0x32 0x76 0x02 0x00/0x01 0x00 (portno)0x22 0x00
取消某个端口的设置(6是5的对应取消操作)
raw 0x32 0x76 0x06 0x00/0x01 0x00 (portno)0x22 0x00
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。