chnodeip
Use the chnodeip command to set or clear the node IP on the specified node Ethernet port.
Syntax
Parameters
- -ip ipv4addr
- (Optional) Specifies the Internet Protocol Version 4 (IPv4) address for the specified Ethernet port.
- -noip
- (Optional) Specifies that the IPV4 address be cleared from the specified Ethernet port. The
default value is
false. - -mask subnet_mask
- (Optional) Specifies the IPv4 address mask for the specified Ethernet port.
- -gw ipv4_gw
- (Optional) Specifies the IPv4 gateway address for the specified Ethernet port.
- -port_id integer
- (Required) Specifies the port ID on which you want to configure node IP address. The value must be an integer.
- -force
- (Optional) Forces an IP address change for a node Ethernet port even if it causes the
system to go into a degraded or offline state. Important: Using the force parameter might result in a loss of access. Use it only under the direction of IBM® support personnel.
- -vlan vlanid
- (Optional) Specifies the numeric Virtual LAN identifier the clustering port is part of. The value must be an integer.
- -novlan
- (Optional) Deletes or unsets the numeric Virtual LAN identifier the clustering port is part of.
- panel_name
- (Optional) Specifies the system or node on which the command is invoked. The value must be an alphanumeric.
Description
This command sets or clears the node IP address on the specified node Ethernet port.
Note: If you receive error message CMMVC8012E - The operation did not complete in the
time allowed, rerun the command.
Invocation examples
To set a new port IP address on a node, enter the following command:
satask chnodeip -ip 9.7.8.1 -gw 9.0.0.1 -mask 255.255.255.0 -port_id 1The
resulting output:No feedback
To clear an existing IP address from port 1 on a node, enter the following command:
satask chnodeip -noip -port_id 1
The resulting output:
No feedback
To clear an existing IP address from port 2 on a node, enter the following command:
satask chnodeip -noip -port_id 2
The resulting output:
No feedback
To clear existing IP addresses from port 1 on a node, enter the following command:
satask chnodeip -noip -port_id 1If you want to clear the IP address from
port 2, you must rerun the command by specifying the other port ID.The resulting output:
No feedback
To assign VLAN to port_id 4, enter the following command:
satask chnodeip -ip 40.41.42.50 -mask 255.255.255.0 -gw 40.41.42.1 -vlan 5 -port_id 4The resulting output:
No feedback
To change VLAN to port_id 4, enter the following command:
satask chnodeip -ip 40.41.42.50 -mask 255.255.255.0 -gw 40.41.42.1 -vlan 100 -port_id 4The resulting output:
No feedback
To remove VLAN from port_id 4, enter the following command:
satask chnodeip -novlan -port_id 4The resulting output:
No feedback
