ipmi配置方法-20200328

ipmi配置错误-20200328
[root@localhost home]# ipmitool lan set 1 ipsrc static
Could not open device at /dev/ipmi0 or /dev/ipmi/0 or /dev/ipmidev/0: No such file or directory
[root@localhost home]# modprobe ipmi_si ports=0xCA2
[root@localhost home]# ipmitool lan set 1 ipsrc static
[root@localhost home]# ipmitool lan set 1 ipaddr 192.168.0.100
Setting LAN IP Address to 192.168.0.100
[root@localhost home]# ipmitool lan set 1 ipaddr
[root@localhost home]# sync
[root@localhost home]# sync
[root@localhost home]# ipmitool lan list
Invalid LAN command: list
[root@localhost home]# ipmitool lan
LAN Commands:
print [<channel number>]
set <channel number> <command> <parameter>
alert print <channel number> <alert destination>
alert set <channel number> <alert destination> <command> <parameter>
stats get [<channel number>]
stats clear [<channel number>]
[root@localhost home]# ipmitool lan print 1
Set in Progress : Set Complete
Auth Type Support : MD5
Auth Type Enable : Callback : MD5
: User : MD5
: Operator : MD5
: Admin : MD5
: OEM : MD5
IP Address Source : Static Address
IP Address : 192.168.0.100
Subnet Mask : 255.255.255.0
MAC Address : ff:ff:ff:ff:ff:ff
Default Gateway IP : 0.0.0.0
802.1q VLAN ID : Disabled
RMCP+ Cipher Suites : 3,17
Cipher Suite Priv Max : Not Available
Bad Password Threshold : Not Available
[root@localhost home]# sync
[root@localhost home]# sync
[root@localhost home]# sync
[root@localhost home]# ipmitool lan print 1
Set in Progress : Set Complete
Auth Type Support : MD5
Auth Type Enable : Callback : MD5
: User : MD5
: Operator : MD5
: Admin : MD5
: OEM : MD5
IP Address Source : Static Address
IP Address : 192.168.0.100
Subnet Mask : 255.255.255.0
MAC Address : ff:ff:ff:ff:ff:ff
Default Gateway IP : 0.0.0.0
802.1q VLAN ID : Disabled
RMCP+ Cipher Suites : 3,17
Cipher Suite Priv Max : Not Available
Bad Password Threshold : Not Available
[root@localhost home]# ipmitool lan print 1
Set in Progress : Set Complete
Auth Type Support : MD5
Auth Type Enable : Callback : MD5
: User : MD5
: Operator : MD5
: Admin : MD5
: OEM : MD5
IP Address Source : Static Address
IP Address : 192.168.0.100
Subnet Mask : 255.255.255.0
MAC Address : ff:ff:ff:ff:ff:ff
Default Gateway IP : 0.0.0.0
802.1q VLAN ID : Disabled
RMCP+ Cipher Suites : 3,17
Cipher Suite Priv Max : Not Available
Bad Password Threshold : Not Available

 
原文地址:https://www.cnblogs.com/xuanbjut/p/12589482.html