chportib

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

Syntax

Read syntax diagramSkip visual syntax diagram chportib -ip ipv4addr -mask subnet_mask -gw ipv4gw object_id

Parameters

-ip ipv4addr
(Required) Sets the IPv4 address for the Ethernet port. You cannot use this parameter for IPv6 addresses.
-mask subnet_mask
(Required) Sets the IPv4 subnet mask. You cannot use this parameter with the IPv6 subnet masks.
-gw ipv4gw
(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 InfiniBand 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