ipmitool config BMC ip address and its usage
Dec 18, 2020 | 645 views
Install tools for IPMI
yum -y install OpenIPMI OpenIPMI-devel ipmitool freeipmi
[root@sr2500 ~]# ipmitool lan set 1 ipsrc static
[root@sr2500 ~]# ipmitool lan set 1 ipaddr 192.168.1.211
Setting LAN IP Address to 192.168.1.211
[root@sr2500 ~]# ipmitool lan set 1 netmask 255.255.255.0
Setting LAN Subnet Mask to 255.255.255.0
[root@sr2500 ~]# ipmitool lan set 1 defgw ipaddr 192.168.1.254
Setting LAN Default Gateway IP to 192.168.1.254
# check the configuration
397 ipmitool lan print 1
# print sensor data
ipmitool sensor list
IPMI check server's status
## IPMI List CPU status
$ ipmitool -I lanplus -H bmc-ip -U user -P pass sdr | grep -i CPU | grep -i Status
Refer to: