Configure Nutanix IPMI IP Address from CLI

Configure Nutanix IPMI IP from command line CLI

To configure / change / modify the Nutanix IPMI, iDRAC, iLO, iRMC IP address through command line CLI from Nutanix CVM, Nutanix AHV, VMware ESXi and Microsoft Hyper-V is very easy, just need to follow mentioned steps. Lets explore the Nutanix IPMI IP Address Commands below:

Read also : Nutanix IPMI Interface Default Credential and IP Address

Nutanix IPMI – AHV CLI

To configure / change / modify the Nutanix IPMI, iRAC, iLO, iRMC IP address
from Nutanix AHV hypervisor on the Nutanix nodes / hosts to execute AHV commands to configure the Nutanix IPMI, iDRAC, iLO, iRMC IP address as shown below:

Step 1: Configure / Change / Modify Nutanix IPMI IP Address Type

AHV@root# ipmitool lan set 1 ipsrc < none / static / dhcp >

Description
None : Not defined
Static : IPMI IP Address will static instead of DHCP ( Recommended )
DHCP : IPMI IP Address will dynamic and assigned by DHCP Server ( Not Recommended )

Read also : Top 10 Nutanix IPMI Commands Part 1

Step 2: Configure / change / modify Nutanix IPMI IP Address

AHV@root# ipmitool lan set 1 ipaddr < IP Address >

Step 3: Configure / change / modify Nutanix IPMI Subnet Mask

AHV@root# ipmitool lan set 1 netmask < Subnet Mask >

Step 4: Configure / change / modify Nutanix IPMI Default Gateway

AHV@root# ipmitool lan set 1 defgw ipaddr < Default Gateway >

Print IPMI IP Address Details

check / Print Nutanix IPMI IP Address Details after ran configure / change / modify the Nutanix IPMI IP Address to ran above commands

AHV@root# ipmitool lan print 1

I hope, you have configured the Nutanix node / host IPMI IP address successfully.

Read also : How To Reset / Change Nutanix IPMI Password

Nutanix IPMI – VMware ESXi CLI

To configure / change / modify the Nutanix IPMI, iRAC, iLO, iRMC IP address
from Nutanix VMware ESXi hypervisor on the Nutanix nodes / hosts to execute VMware ESXi commands to configure the Nutanix IPMI, iDRAC, iLO, iRMC IP address as shown below:

Step 1: Configure / Change / Modify Nutanix IPMI IP Address Type

ESXi@root# /ipmitool lan set 1 ipsrc < none / static / dhcp >

Description
None : Not defined
Static : IPMI IP Address will static instead of DHCP ( Recommended )
DHCP : IPMI IP Address will dynamic and assigned by DHCP Server ( Not Recommended )

Step 2: Configure / change / modify Nutanix IPMI IP Address

ESXi@root# /ipmitool lan set 1 ipaddr < IP Address >

Step 3: Configure / change / modify Nutanix IPMI Subnet Mask

ESXi@root# /ipmitool lan set 1 netmask < Subnet Mask >

Step 4: Configure / change / modify Nutanix IPMI Default Gateway

ESXi@root# /ipmitool lan set 1 defgw ipaddr < Default Gateway >

Print IPMI IP Address Details

check / Print Nutanix IPMI IP Address Details after ran configure / change / modify the Nutanix IPMI IP Address to ran above commands

ESXi@root# /ipmitool lan print 1

I hope, you have configured the Nutanix node / host IPMI IP address successfully.

Read also: Nutanix IPMI Security Rules in Data center

Nutanix IPMI – Microsoft Hyper-v CLI

To configure / change / modify the Nutanix IPMI, iRAC, iLO, iRMC IP address from Nutanix Microsoft Hyper-v hypervisor on the Nutanix nodes / hosts to execute Micosoft Hyper-v commands to configure the Nutanix IPMI, iDRAC, iLO, iRMC IP address as shown below:

Step 1: open the power shell and following command:

To configure / change / modify Nutanix IPMI IP Address from Microsoft Hyper-v hypervisor

Powershell > ipmiutil lan -I mgmt_interface_ip_addr -G mgmt_interface_gateway ` -S mgmt_interface_subnet_addr -U ADMIN -P ADMIN

Note : User ID and Password will be depend on hardware vendor, use hardware vendor BMC interface – IPMI, iDRAC, iLO, iRMC default credential or yours custom credentials if you changed.

Print IPMI IP Address Details

check / Print Nutanix IPMI IP Address Details after ran configure / change / modify the Nutanix IPMI IP Address to ran above commands

Powershell> ipmitool lan -r -U ADMIN -P ADMIN

Note : User ID and Password will be depend on hardware vendor, use hardware vendor BMC interface – IPMI, iDRAC, iLO, iRMC default credential or yours custom credentials if you changed.

Read also: How To Change Nutanix CVM, AHV and IPMI Passwords

Thanks to being with your favorite HyperHCI Blog to stay tuned with trending technology.!