rmportip

Use the rmportip command to remove an internet Small Computer System Interface (iSCSI) Internet Protocol (IP) address from a node Ethernet port.

Syntax

 rmportip    [  -failover  ]   [  -ip_6  ]  -node  {  node_name  |  node_id  }   port_id  

Parameters

-failover
(Optional) Specifies that the failover IP address information is removed for the specified port.
-ip_6
(Optional) Specifies that the Internet Protocol Version 6 (IPv6) address is removed for the specified port. If this parameter is not used, the Internet Protocol Version 4 (IPv4) address is removed by default.
-nodenode_name | node_id
(Required) Specifies the node with the Ethernet port that the IP address is being removed from.
port_id
(Required) Specifies which port (1, 2, 3, or 4) to apply changes to.

Description

This command removes an IPv4 or IPv6 address from an Ethernet port of a node.

Before you unconfigure an IP from a source Ethernet port, the system checks whether any sessions are established from the selected port to any back-end iSCSI controller. You must remove sessions to the back-end iSCSI controller by using the command before you attempt to unconfigure the port. When the last IP (IPv4 or IPv6) address on a port is removed, the host port group ID that is associated with an iSCSI port is removed.

An invocation example for IPv4

rmportip -node 1   1

The resulting output:

No feedback

An invocation example for IPv6

rmportip -node 1 -ip_6 2

The resulting output:

No feedback