1. By default, IPMI/BMC port is set to static, 0.0.0.0. Current IPMI IP can be queried by the Linux command below.
note: default ipmi log in username/password: administrator/versa123
[admin@Perf-Branch2: ~] $ sudo ipmitool lan print 1
Set in Progress : Set Complete
Auth Type Support : MD5 PASSWORD
Auth Type Enable : Callback : MD5 PASSWORD
: User : MD5 PASSWORD
: Operator : MD5 PASSWORD
: Admin : MD5 PASSWORD
: OEM :
IP Address Source : Static Address
IP Address : 0.0.0.0
Subnet Mask : 0.0.0.0
MAC Address : c4:00:ad:d7:4d:31
SNMP Community String : ro_s3c
BMC ARP Control : ARP Responses Enabled, Gratuitous ARP Enabled
Default Gateway IP : 0.0.0.0
Default Gateway MAC : 00:00:00:00:00:00
Backup Gateway IP : 0.0.0.0
Backup Gateway MAC : 00:00:00:00:00:00
802.1q VLAN ID : Disabled
802.1q VLAN Priority : 0
RMCP+ Cipher Suites : 1,2,3,6,7,8,11,12,15,16,17
Cipher Suite Priv Max : aaaaaaaaaaaXXXX
: X=Cipher Suite Unused
: c=CALLBACK
: u=USER
: o=OPERATOR
: a=ADMIN
: O=OEM
Bad Password Threshold : Not Available
[admin@Perf-Branch2: ~] $
2. To set IPMI IP to DHCP, issue the commands below in Linux. After setting IPMI to DHCP, please wait a few seconds for BMC to obtain DHCP IP before inquiring the IP.
[admin@Perf-Branch2: ~] $ sudo ipmitool lan set 1 ipsrc dhcp
[admin@Perf-Branch2: ~] $ sudo ipmitool lan print 1
Set in Progress : Set Complete
Auth Type Support : MD5 PASSWORD
Auth Type Enable : Callback : MD5 PASSWORD
: User : MD5 PASSWORD
: Operator : MD5 PASSWORD
: Admin : MD5 PASSWORD
: OEM :
IP Address Source : DHCP Address
IP Address : 10.0.0.76
Subnet Mask : 255.255.0.0
MAC Address : c4:00:ad:d7:4d:31
SNMP Community String : ro_s3c
BMC ARP Control : ARP Responses Enabled, Gratuitous ARP Enabled
Default Gateway IP : 10.0.0.1
Default Gateway MAC : 00:00:00:00:00:00
Backup Gateway IP : 0.0.0.0
Backup Gateway MAC : 00:00:00:00:00:00
802.1q VLAN ID : Disabled
802.1q VLAN Priority : 0
RMCP+ Cipher Suites : 1,2,3,6,7,8,11,12,15,16,17
Cipher Suite Priv Max : aaaaaaaaaaaXXXX
: X=Cipher Suite Unused
: c=CALLBACK
: u=USER
: o=OPERATOR
: a=ADMIN
: O=OEM
Bad Password Threshold : Not Available
[admin@Perf-Branch2: ~] $
3. To set IPMI IP to a static IP, issue the commands below in Linux.
[admin@Perf-Branch2: ~] $ sudo ipmitool lan set 1 ipsrc static
[admin@Perf-Branch2: ~] $ sudo ipmitool lan set 1 ipaddr 10.0.0.76
Setting LAN IP Address to 10.0.0.76
[admin@Perf-Branch2: ~] $ sudo ipmitool lan set 1 netmask 255.255.0.0
Setting LAN Subnet Mask to 255.255.0.0
[admin@Perf-Branch2: ~] $ sudo ipmitool lan set 1 defgw ipaddr 10.0.0.1
Setting LAN Default Gateway IP to 10.0.0.1
[admin@Perf-Branch2: ~] $
[admin@Perf-Branch2: ~] $ sudo ipmitool lan print 1
Set in Progress : Set Complete
Auth Type Support : MD5 PASSWORD
Auth Type Enable : Callback : MD5 PASSWORD
: User : MD5 PASSWORD
: Operator : MD5 PASSWORD
: Admin : MD5 PASSWORD
: OEM :
IP Address Source : Static Address
IP Address : 10.0.0.76
Subnet Mask : 255.255.0.0
MAC Address : c4:00:ad:d7:4d:31
SNMP Community String : ro_s3c
BMC ARP Control : ARP Responses Enabled, Gratuitous ARP Enabled
Default Gateway IP : 10.0.0.1
Default Gateway MAC : 00:00:00:00:00:00
Backup Gateway IP : 0.0.0.0
Backup Gateway MAC : 00:00:00:00:00:00
802.1q VLAN ID : Disabled
802.1q VLAN Priority : 0
RMCP+ Cipher Suites : 1,2,3,6,7,8,11,12,15,16,17
Cipher Suite Priv Max : aaaaaaaaaaaXXXX
: X=Cipher Suite Unused
: c=CALLBACK
: u=USER
: o=OPERATOR
: a=ADMIN
: O=OEM
Bad Password Threshold : Not Available
[admin@Perf-Branch2: ~] $
4. Once IPMI IP is established, IPMI GUI can be accessed and managed via web browser from a remote PC.
https://<IPMI IP address>
For example: https://10.0.0.76
default login: administrator/versa123
Note: depending on the web browser and its security settings, if it is prompted to proceed to the IPMI IP, please proceed as instructed by the web browser.
5. IPMI/BMC port can also be remotely accessed via a remote Linux command line as shown below.
$ sudo ipmitool -I lanplus -H <IPMI IP> -U <username> -P <password> <IPMI commands>
For example: from a remote Linux box
$ sudo ipmitool -I lanplus -H 10.0.0.76 -U administrator -P versa123 lan print 1
Set in Progress : Set Complete
Auth Type Support : MD5 PASSWORD
Auth Type Enable : Callback : MD5 PASSWORD
: User : MD5 PASSWORD
: Operator : MD5 PASSWORD
: Admin : MD5 PASSWORD
: OEM :
IP Address Source : Static Address
IP Address : 10.0.0.76
Subnet Mask : 255.255.0.0
MAC Address : c4:00:ad:d7:4d:31
SNMP Community String : ro_s3c
BMC ARP Control : ARP Responses Enabled, Gratuitous ARP Enabled
Default Gateway IP : 10.0.0.1
Default Gateway MAC : 00:00:00:00:00:00
Backup Gateway IP : 0.0.0.0
Backup Gateway MAC : 00:00:00:00:00:00
802.1q VLAN ID : Disabled
802.1q VLAN Priority : 0
RMCP+ Cipher Suites : 1,2,3,6,7,8,11,12,15,16,17
Cipher Suite Priv Max : aaaaaaaaaaaXXXX
: X=Cipher Suite Unused
: c=CALLBACK
: u=USER
: o=OPERATOR
: a=ADMIN
: O=OEM
Bad Password Threshold : Not Available
admin@versa-flexvnf:~$
Notes:
To access SOL (serial-over-lan) from a remote system:
$ sudo ipmitool -I lanplus -H 10.0.0.76 -U administrator -P versa123 sol activate
IPMI Sensor/event commands:
$ sudo ipmitool -I lanplus -H 10.0.0.76 -U administrator -P versa123 sensor
$ sudo ipmitool -I lanplus -H 10.0.0.76 -U administrator -P versa123 sel elist
IPMI: Power commands:
$ sudo ipmitool -I lanplus -H 10.0.0.76 -U administrator -P versa123 chassis power status
$ sudo ipmitool -I lanplus -H 10.0.0.76 -U administrator -P versa123 chassis power
chassis power Commands: status, on, off, cycle, reset, diag, soft