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.
-
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.
-
Use the cd command to navigate to the
SP/network/ipv6 directory:
-> cd SP/network/ipv6
-
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
-
To configure an IPv6 auto-configuration option, use the
set command to specify the following
auto-configuration property values:
|
|
|
state
|
set state=enabled
|
Use the state parameter to enable or
disable IPv6:
-
enabled -
Enable IPv6
-
disabled -
Disable IPv6
Note -
With SW 1.0.2 or newer, you can
use set /SP/network/state =
ipv6-only to enable IPv6 and
disable IPv4.
Note -
On systems equipped with SW 1.0.1,
you must enable IPv4 and IPv6
individually, and you cannot enable IPv6
if IPv4 is disabled. To obtain the
choices shown here, upgrade to SW 1.0.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 -
You can enable the stateless option
to run at the same time as the
dhcpv6_stateless option or the
dhcpv6_stateful option is
enabled. However, do not enable
dhcpv6_stateless and
dhcpv6_stateful at the same
time.
-
To set a static IPv6 address, complete these steps:
-
Specify the following property types:
|
|
|
state
|
set state=enabled
|
The IPv6 network state is enabled
by default. To enable a static IP
address this state must be set 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
|
|
-
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.
-
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.