Ipmi Configuration using ipmitool

LAN Configuration for IPMI

 

Check the status of  Lan already with below command

#ipmitool lan print

 

Set lan type as static

#ipmitool lan set 1 ipsrc static

# ipmitool lan set 1 ipaddr 10.0.1.114

Setting LAN IP Address to 10.0.1.114

#ipmitool lan set 1 netmask 255.255.255.0

Setting LAN Subnet Mask to 255.255.255.0

#ipmitool lan set 1 arp respond on

#ipmitool lan set 1 auth ADMIN MD5

#ipmitool lan set 1 access on

 

When configuring LANs, older versions of ipmitool would not automatically reset Set in Progress to Set Complete. This can be done manually using a raw command

#ipmitool lan print 1

#ipmitool raw 0x0c 1 1 0 0

 

We can check the configuration using ipmitool lan print 1.

#ipmitool lan print 1

 

User Configuration in IPMI

 

Check the list of users

root@spank89:~# ipmitool user list 1

ID  Name         Callin  Link Auth    IPMI Msg   Channel Priv Limit

2   ADMIN            false   false      true       ADMINISTRATOR

 

Set the password of user with ID 2 ie ADMIN

#ipmitool user set password 2 {pasword}

Example:  ipmitool user set password 2 root1234

 

Steps for creating new user.

#ipmitool user set name 3 admin1

#ipmitool user set password 3

Password for user 3:
Password for user 3:

#ipmitool channel setaccess 1 2 3 link=on ipmi=on callin=on privilege=4

#ipmitool user enable 3

Advertisements