chportib

Use the chportib command to assign an Internet Protocol (IP) address to each node Ethernet port for NVMe for IB ports.

Syntax

chportib -ipipv4addr -masksubnet_mask -gwipv4gw object_id

Parameters

-ipipv4addr
(Required) Sets the IPv4 address for the Ethernet port. You cannot use this parameter for IPv6 addresses.
-masksubnet_mask
(Required) Sets the IPv4 subnet mask. You cannot use this parameter with the IPv6 subnet masks.
-gwipv4gw
(Required) Sets the IPv4 gateway IP address. You cannot use this parameter for IPv6 gateway addresses.
object_id
(Required) Specifies which port (1, 2, 3, or 4) to apply changes to. The default is 1.

Description

This command assigns an Internet Protocol (IP) address to each node Ethernet port for NVMe for IB ports

An invocation example for IPv4

chportib -ip 9.8.7.1 -gw 9.0.0.1 -mask 255.255.255.0 1

The resulting output:

No feedback