Assign a Static IP Address to Server Module SP Using the CLI

1.Connect and log in to ILOM as described in one of these procedures:

“Log In to ILOM Using a Serial Connection” on page 47

“Log In to ILOM From an Ethernet Connection Using the CLI” on page 48

2.At the ILOM CLI prompt (->), type the following command to set the working directory:

->cd /SP/network

3.Type the following commands, using your own addresses in place of the examples below:

To configure a static Ethernet configuration, type:

->cd /SP/network

->set pendingipaddress=IP address

->set pendingipnetmask=Netmask address ->set pendingipgateway=Gateway address

->set pendingipdiscovery=static ->set commitpending=true

To configure a dynamic Ethernet configuration, type:

->cd /SP/network

->set pendingipdiscovery=dhcp ->set commitpending=true

4.To log out of ILOM, type: ->exit

Chapter 4 Setting Up ILOM

51

Page 63
Image 63
Sun Microsystems X6270 manual Assign a Static IP Address to Server Module SP Using the CLI, To log out of ILOM, type -exit