HP 3PAR InForm OS 3.1.1 Command Line Interface Reference
Specifies that during an IP failover, a ping either be sent to the specified IP address (<ping_addr>)
or not sent at all (none). This specifier can only be used with the failoverping subcommand.
[<node_ID>]
Specifies the node, by ID, that has an active Ethernet interface. This specifier can only be issued
with the changenode subcommand. This specifier is not required.
RESTRICTIONS
Access to all domains is required to run this command.
EXAMPLES
The following example displays the switching of the old IP address with a new IP address and
netmask:
cli% setnet startaddr 10.0.23.42 192.168.5.218 255.255.252.0
Change of IP address successfully started.
The following example displays the gateway being cleared:
cli% setnet cleargateway
If the machine that the 3Par CLI is running on is not on the same subnet as the 3Par
InServ it is connected to, clearing the gateway will render the InServ unreachable
from that machine, and any future connections will need to be made from a system which
is on the same subnet as the InServ system.
Are you sure you want to clear the gateway (y/n)?
y
Gateway modified successfully.
NOTES
• If successful, this command causes any CLI or GUI clients currently connected to lose their
connection.
• To make it possible to change the network configuration without running the risk of losing
contact with the system because of misconfiguration, the setnet command uses a two step
process. When a new IP address is specified with the setnetstartaddr command, the
system is configured to listen as both the old and new IP addresses. When a new gateway is
specified with the setnet gateway command, the system switches between the old and
new gateways when it sees packets addressed to it being routed through those gateways.
After a connection has been made with the new configuration, the setnet finish command
can be used to remove the old configuration. While in the middle of this process, additional
work must be done by the system. It is preferable to run the setnet finish command after
the new configuration has been verified.
• When changing gateways, starting a CLI connection takes longer than usual, as the first reply
packet is typically routed through the previously used gateway address.
308 Set Commands