Can I use ipmitool to determine which IPMI link is 'up'?

Solution 1:

The following works if you are SSH'd in to the server, so assumedly it should work via the "ipmitool -I lanplus" method as well:

ipmitool raw 0x30 0x70 0x0c 0

The results are as follows:

00 = Dedicated
01  = Shared
02  = Failover 

To change the mode, run:

(Dedicated) ipmitool raw 0x30 0x70 0x0c 1 0 
(Shared) ipmitool raw 0x30 0x70 0x0c 1 1
(Failover) ipmitool raw 0x30 0x70 0x0c 1 2 

http://www.supermicro.com/support/faqs/faq.cfm?faq=11639

Solution 2:

There's something wrong with the layout (wrong tab space) in the ipmitool man page at die.net. See the correctly formatted ipmitool man page at man.archlinux.org instead.

The lan get is below the delloem (for Dell poweredge server ex. Dell R620)

ipmitool -I lanplus -H 172.16.100.100 -U ADMIN -P secret delloem lan get
ipmitool -I lanplus -H 172.16.100.100 -U ADMIN -P secret delloem lan get active

However, you use the Supermicro server. I think the command beyond won't work.
You may need to enter BIOS to set ipmi to the option share over lan.

I don't know how to use ipmitool to set and get ipmi share over lan information except Dell server.