Change ILO IP address via CLI on HP C7000 Blade Chassis

VMware Virtual Machine Hosting

You need to change the ILO IP on an HP blade. You don’t have access to blade except via SSH to the HP C7000 Chassis.

Here is how:

1. Connect to the C7000 chassis:

HP BladeSystem Onboard Administrator
(C) Copyright 2006-2012 Hewlett-Packard Development Company, L.P.

Type ‘HELP’ to display a list of valid commands.
Type ‘HELP ‘ to display detailed information about a specific command.
Type ‘HELP HELP’ to display more detailed information about the help system.

2. Connect to the blade via the C7000 chassis CLI:
c7000-1> connect server 8

Connecting to bay 8 …
User:OAtmp-administrator logged-in to c7000-1(10.10.10.101)
iLO 2 Standard Blade Edition 1.80 at 10:12:14 Oct 30 2009
Server Name: host is unamed
Server Power: On

hpiLO->

3. Show the existing IP and Gateway:

hpiLO-> show /map1/enetport1/lanendpt1/ipendpt1
status=0
status_tag=COMMAND COMPLETED

/map1/enetport1/lanendpt1/ipendpt1
Targets
Properties
IPv4Address=10.81.0.160
SubnetMask=255.255.255.0
AddressOrigin=Static
Verbs
cd version exit show set

hpiLO->show gateway1
status=0
status_tag=COMMAND COMPLETED

/map1/gateway1
Targets
Properties
AccessInfo=10.150.240.1
AccessContext=Default Gateway
Verbs
cd version exit show set

4. Change the IP (requires reboot):
hpiLO->set /map1/enetport1/lanendpt1/ipendpt1 IPv4Address=10.13.247.222 SubnetMask=255.255.240.0
status=0
status_tag=COMMAND COMPLETED
Network settings change applied, iLO needs to be reset.

CLI session stopped

Connection terminated by server.

5. After the reboot, follow steps 1-3, and now change the Gateway (requires reboot):
hpiLO->set /map1/gateway1 AccessInfo=10.13.240.1
status=0
status_tag=COMMAND COMPLETED
Network settings change applied, iLO needs to be reset.

CLI session stopped