IPMI Commands to Set Interfaces to Dedicated and Shared Mode

  • 4 January 2021
  • 0 replies
  • 9879 views

Userlevel 3
Badge +2


This article contains IPMI commands for checking and setting interfaces to dedicated or shared mode.

For example, after a BMC upgrade, the IPMI might not be accessible. So, you need to verify and change the interfaces to dedicated or shared mode.

Note: To run ipmitool commands on an ESXI host, prefix all commands with a forward slash (/).

Note: To run ipmitool commands from a remote system such as the CVM (Controller VM), add the "-I lanplus", "-H <IPMI IP>", "-U <username>" and "-P <password>" parameters to the ipmitool command.

For example:

nutanix@cvm$ ipmitool -I lanplus –H x.x.x.x –U ADMIN –P <password> <command>

 

 

Quanta Platform

Use these commands for an NX-3400 (Quanta) platform. All commands are executed dynamically and a restart is not required.

Check the status.

[root@host]# ipmitool raw 0x0c 0x02 0x01 0xff 0 0


An output similar to the following is displayed.
1100           :00 - Shared port

1101           :01 - Dedicated port

 

Shared NIC:

[root@host]# ipmitool raw 0x0c 0x01 0x01 0xff 0x00

Dedicated NIC.

[root@host]# ipmitool raw 0x0c 0x01 0x01 0xff 0x01

 

 

Supermicro Platform

To achieve the same result on a Supermicro platform, see Supermicro FAQs 9848 (Hardware Monitoring:- IPMI).

Read LAN SELECT setting.

[root@host]# ipmitool raw 0x30 0x70 0xc 0 0 0


 

Returned value:
00 00           :Default (failover)

01 00           :Dedicated LAN

01 01           :Onboard LAN

 

Check the traffic through Dedicated LAN.

[root@host]# ipmitool raw 0x30 0x70 0xc 1 1 0

Check the traffic through Onboard LAN1

[root@host]# ipmitool raw 0x30 0x70 0xc 1 1 1

Check failover (default setting)

[root@host]# ipmitool raw 0x30 0x70 0xc 1 0 0


BMC resets after the command.

 

 

 

For the NX-1000 / NX-7000 Series

To get the LAN mode.

[root@host]# ipmitool raw 0x30 0x70 0x0c 0


 

Returned value:
00           :Dedicated

01           :Shared

02           :Failover

 

To change the setting to Dedicated.

[root@host]# ipmitool raw 0x30 0x70 0x0c 1 0

To change the setting to Shared.

[root@host]# ipmitool raw 0x30 0x70 0x0c 1 1

To change the setting to Failover.

[root@host]# ipmitool raw 0x30 0x70 0x0c 1 2

For more information on setting the IPMI to dedicated, see this article.

 

 

 

For G4 and G5

Get LAN mode.

[root@host]# ipmitool raw 0x30 0x70 0x0c 0


 

Returned value:
00           :Dedicated

01           :Onboard/shared

02           :Failover

 

Set LAN mode dedicated.

[root@host]# ipmitool raw 0x30 0x70 0x0c 1 0

Set LAN mode onboard/shared.

[root@host]# ipmitool raw 0x30 0x70 0x0c 1 1

Set LAN mode failover.

[root@host]# ipmitool raw 0x30 0x70 0x0c 1 2

 

For more information, please visit our portal documentation.


This topic has been closed for comments