Go to main content
Oracle® Server X5-4 Installation Guide

Exit Print View

Updated: July 2017
 
 

Modify Network Settings From the Oracle ILOM CLI

This procedure provides instructions for modifying Oracle ILOM network settings from the command-line interface (CLI).


Note -  You can also change network settings using the BIOS Setup Utility. For instructions, refer to Access the BIOS Setup Utility in Oracle Server X5-4 Service Manual
  1. Log in to the Oracle ILOM CLI.

    Use the relevant method:

  2. Perform the network configuration instructions that apply to your network environment, then test the network settings:
    • To view or configure IPv4 network settings, perform Step 3 and Step 4.
    • To view or configure IPv6 network settings, perform Steps 5 through 8.
  3. For IPv4 network configurations, use the cd command to navigate to the /SP/network directory:
    cd /SP/network
  4. Do one of the following:
    • If you have a DHCP server on the network, type the following command to view the settings assigned to the server by the DHCP server:

      show

    • If there is no DHCP server, or if you want to assign settings, use the set command to assign values for the properties shown in the table below.

      For example:

      set pendingipdiscovery=static

      set pendingipaddress=10.8.183.106

      set pendingipnetmask=255.255.255.0

      set pendingipgateway=10.8.183.254

      set commitpending=true

      Property
      Value to Set
      Description
      state
      enabled or disabled
      The network state is enabled by default. If you disable the network connection to the SP, you can only access Oracle ILOM using the serial management port.
      pendingipdiscovery
      static or dhcp
      Network discovery options include static for a static IP address or dhcp for an IP address assigned by a DHCP server (default).
      pendingipaddress
      pendingipnetmask
      pendingipgateway
      <ip_address>
      <netmask>
      <gateway>
      To assign multiple static network settings type the set command for each property (IP address, netmask, and gateway) along with the static value that you want to assign.
      commitpending
      true
      Type set commitpending=true to commit changes.

    Note -  Setting commitpending to true commits the changes made to the network settings. This terminates your Oracle ILOM connection. You need to log in to use the new settings and continune.

    To test the IPv4 or IPv6 network settings, see Step 9.

  5. For IPv6 network configurations, use the cd command to navigate to the SP/network/ipv6 directory:

    cd SP/network/ipv6

  6. To view the IPv6 network settings, type the show command.

    For example:

    show
    /SP/network/ipv6
    Targets:
    
    Properties:
     state = enabled
     autoconfig = stateless
     dhcpv6_server_duid = (none)
     link_local_ipaddress = fe80::214:4fff:feca:5f7e/64
     static_ipaddress = ::/128
     ipgateway = fe80::211:5dff:febe:5000/128
     pending_static_ipaddress = ::/128
     dynamic_ipaddress_1 fec0:a:8:b7:214:4fff:feca:5f7e/64
    
    Commands:
     cd
     show
    
  7. To configure an IPv6 auto-configuration option, use the set command to specify the following auto-configuration property values.

    For example:

    set state=enabled

    set autoconfig=dhcpv6_stateless

    Property
    Value to Set
    Description
    state
    enabled or disabled
    The IPv6 network state is enabled by default. To enable an IPv6 auto-configuration option, this state must be set to enabled.
    autoconfig
    Values include:
    stateless
    dhcpv6_stateless
    dhcpv6_stateful
    disable
    Use autoconfig command followed by one of the following values:
    • stateless (default setting)

      Automatically assigns IP address learned from IPv6 network router.

    • dhcpv6_stateless

      Automatically assigns DNS information learned from the DHCPv6 server. The dhcpv6_stateless property value is available in Oracle ILOM as of 3.0.14.

    • dhcpv6_stateful

      Automatically assigns the IPv6 address learned from the DHCPv6 server. The dhcpv6_stateful property value is available in Oracle ILOM as of 3.0.14.

    • disable

      Disables all auto-configuration property values and sets the read-only property value for link local address.


    Note -  The IPv6 configuration options take effect after they are set. You do not need to commit these changes under the /network target.

    Note -  You can enable the stateless auto-configuration option to run at the same time as when the option for dhcpv6_stateless is enabled or as when the option for dhcpv6_stateful is enabled. However, the auto-configuration options for dhcpv6_stateless and dhcpv6_stateful should not be enabled to run at the same time.
  8. To set a static IPv6 address, complete these steps:
    1. Specify the property types. For example:

      set state=enabled

      set pending_static_ipaddress=fec0:a:8:b7:214:4fff:feca:5f7e/64

      Property
      Value to Set
      Description
      state
      enabledordisabled
      The IPv6 network state is enabled by default. To enable a static IP address this state must be set to enabled.
      pending_static_ipaddress
      <ipv6_address>/ <subnet_mask_length_in_bits>
      Type this command followed by the property value for the static IPv6 address and netmask that you want to assign to the device. IPv6 address example:fec0:a:8:b7:214:4fff:feca:5f7e/64
    2. To commit the pending IPv6 static network parameters, type:

      set /SP/network commitpending=true


    Note -  Network settings are considered pending until you commit them. Assigning a new static IP address to the server ends all active Oracle ILOM sessions with the server. To log back in to Oracle ILOM, create a new session using the newly assigned IP address.
  9. Test the IPv4 or IPv6 network configuration from Oracle ILOM using the Network Test Tools (Ping and Ping6).

    For details, see Test IPv4 or IPv6 Network Configuration From the Oracle ILOM CLI.