Edit Existing IP Addresses in ILOM Using the CLI

Follow these instructions when using the CLI to edit existing IP addresses in ILOM.

What to Do

  1. Establish a local serial console connection or SSH connection to the server SP or CMM:

    • Local Serial Console Connection

      Attach a serial console to the serial port on the server or CMM.

      For more information about how to attach a serial console to the serial port on a Sun Blade 8000 Series Sever Module or CMM see Attach Serial Console to Chassis Monitoring Module or Attach Local Devices to a Sun Blade Server Module. For all other Sun server platforms, consult the user documentation provided with the server.

    • Remote - Secure Shell (SSH) Connection

      Establish a Secure Shell connection to the server SP or CMM.

      From the remote client, establish a secure connection as root to the server SP or CMM. For example , you can establish a secure connection from a remote SSH client to the server SP by typing the following:

      ssh -l root <server_ip_address>

      Password: changeme

    The default prompt appears (->) and the system is ready for you to run the CLI commands to establish network settings.

  2. Type one of the following commands to set the SP working directory:

    • For server SP: cd /SP/network

    • For a chassis CMM in slot 0: cd /CMM/network/CMM0

    • For a chassis CMM in slot 1: cd /CMM/network/CMM0

  3. Type the show command to view the IP address(es) assigned, for example:

    • For a rackmount standalone server: show /SP/network

    • For a chassis blade server module: show /CH/BLn/SP network

    • For a chassis CMM in slot 0: show /CMM/network/CMM0

    • For chassis CMM in slot 1: show /CMM/network/CMM1

  4. Type the following commands to change the existing IP address assigned.

    Command

    Description and Example

    set pendingipaddress=

    Type this command followed by the static IP address that you want to assign to the server SP or CMM.

    For example, by typing:

    set pendingipaddress=129.144.82.26 would tell ILOM to assign 129.144.82.26 as the IP address to the server SP (or CMM).

    set pendingipnetmask=

    Type this command followed by the static NetMask address that you want to assign to the server SP or CMM.

    For example, by typing:

    set pendingipnetmask=255.255.255.0 would tell ILOM to assign 255.255.255.0 as the NetMask address to the server SP (or CMM).

    set pendingipgateway=

    Type this command followed by the static gateway address that you want to assign to the server SP or CMM.

    For example, by typing:

    set pendingipgateway=129.144.82.254

    would, tell ILOM to assign 129.144.82.254 as the gateway address to the server SP (or CMM).

    set pendingipdiscovery=

    Type the following command to tell ILOM whether you want to set a Static IP address on the server SP or CMM.

    set pendingipdiscovery=static

    set commitpending=true

    Type this command (true) to assign the network settings specified.

    For example:

    set pendingipaddress=129.144.82.26

    set pendingipnetmask=255.255.255.0

    set pendingipgateway=129.144.82.254

    set pendingipdiscovery=static

    set comitpending=true

    If you connected to ILOM through a remote SSH connection, the connection made to ILOM using the former IP address will timeout. Use the newly assigned IP address to connect to ILOM.