Follow these instructions when using the CLI to edit existing IP addresses in ILOM.
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.
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
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
Type the following commands to change the existing IP address assigned.
Command |
Description and Example |
---|---|
|
Type this command followed by the static IP address that you want to assign to the server SP or CMM. For example, by typing:
|
|
Type this command followed by the static NetMask address that you want to assign to the server SP or CMM. For example, by typing:
|
|
Type this command followed by the static gateway address that you want to assign to the server SP or CMM. For example, by typing:
would, tell ILOM to assign |
|
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 |
|
Type this command (true) to assign the network settings specified. For example:
|
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.