Go to main content
Sun Server X4-8 Installation Guide

Exit Print View

Updated: December 2015
 
 

Modify IPv6 Network Settings From the Oracle ILOM CLI

Use this procedure to modify the server's IPv6 network settings using the Oracle ILOM CLI.

To modify IPv4 network settings, see Modify IPv4 Network Settings From the Oracle ILOM CLI.


Note -  You can also change network settings using the BIOS Setup Utility. For instructions, see the Sun Server X4-8 Service Manual.
  1. Log in to the Oracle ILOM CLI. See:

    Note -  If you log in to Oracle ILOM using an Ethernet connection, your connection is terminated after you modify the network settings. You must log back in using the new settings.
  2. Use the cd command to navigate to the SP/network/ipv6 directory:

    -> cd SP/network/ipv6

  3. Type the show command to view the IPv6 network settings configured on the device.

    For example:

    -> show
    /SP/network/ipv6
    Targets:
    
    Properties:
     state = enabled
     autoconfig = stateless
     dhcpv6_server_duid = (none)
     link_local_ipaddress = 2001:db8:214:4fff:feca:5f7e/64
     static_ipaddress = ::/128
     ipgateway = 2001:db8:211:5dff:febe:5000/128
     pending_static_ipaddress = ::/128
     pending_static_ipgateway = ::
     dynamic_ipaddress_1 2001:db8:8:b7:214:4fff:feca:5f7e/64
    
    Commands:
     cd
     show
    
  4. To configure an IPv6 auto-configuration option, use the set command to specify the following auto-configuration property values:
    Property
    Set Property Value
    Description
    state
    set state=enabled
    Use the state parameter to enable or disable IPv6:
    • enabled: Enable IPv6

    • disabled: Disable IPv6

      Note -  With SW 1.2 or newer, you can use set /SP/network/state = ipv6-only to enable IPv6 and disable IPv4.

    Note -  Older versions of Oracle ILOM do not include the ipv4-only or ipv6-only commands. On these versions, you cannot enable IPv6 if IPv4 is disabled. To obtain the options shown here, upgrade to SW 1.2 or newer.

    autoconfig
    set autoconfig= <value>
    Specify this command followed by the autoconfig value you want to set.
    Options include:
    • 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 affect after they are set.

    Note -  You can enable the stateless auto-configuration option to run at the same time as the option for dhcpv6_stateless or 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.
  5. To set a static IPv6 address, complete these steps:
    1. Specify the following property types:

      Note -  These steps do not include all of the network configuration commands. For more complete information, see Configuring Oracle ILOM Network Settings in Oracle X4 Series Servers Administration Guide or the Oracle ILOM documentation at http://www.oracle.com/goto/ILOM/docs.
      Property
      Set Property Value
      Description
      state
      set state=enabled
      The IPv6 network state is enabled by default. To enable a static IP address, you must set this state to enabled.
      pendingipaddress
      set 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:2001:db8:8:b7:214:4fff:feca:5f7e/64
    2. Commit the pending IPv6 static network parameters by typing the following command:

      -> set /SP/network/commitpending=true


    Note -  Pending settings remain pending until you commit them. Assigning a new static IP address to the server ends all active Oracle ILOM sessions to the server. To log back in to Oracle ILOM, create a new session using the newly assigned IP address.
  6. Test the IPv6 network configuration from Oracle ILOM using the Network Test Tool (Ping6).

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