lsnodeip

Use the sainfo lsnodeip command to list the node IP addresses of Ethernet ports on the node.

Syntax

Read syntax diagramSkip visual syntax diagram sainfo lsnodeip -nohdr-delimdelimiterpanel_name

Parameters

-nohdr
(Optional) By default, headings are displayed for each column of data in a concise style view, and for each item of data in a detailed style view. The -nohdr parameter suppresses the display of these headings.
Note: If no data is available to be displayed, headings are not displayed.
-delim delimiter
(Optional) By default in a concise view, all columns of data are space-separated. The width of each column is set to the maximum width of each item of data. In a detailed view, each item of data has its own row, and if the headers are displayed, the data is separated from the header by a space. The -delim parameter overrides this behavior. Valid input for the -delim parameter is a 1-byte character. If you enter -delim : on the command line, the colon character (:) separates all items of data in a concise view; for example, the spacing of columns does not occur. In a detailed view, the data is separated from its header by the specified delimiter.
panel_name
(Optional) Specifies the system or node on which the command is invoked. The value must be an alphanumeric.

Description

This command lists the node IP addresses for Ethernet ports on a node.

This table provides the attribute values that can be displayed as output view data.
Table 1. sainfo lsnodeip output
Attribute Description
port_id Indicates the Ethernet port ID on the node. The value must be a number (decimal or integer).

For more information, see the lsservicestatus command.

rdma_type Indicates the RDMA Capabilities of the port. The values are colon-separated (Example: RoCE:iWARP).
port_speed Indicates the speed of the port in Gbps.
vlan Indicates the Virtual LAN identifier of the port.
link_state Indicates whether the port is active or inactive.
state Indicates whether an IP Address for clustering purposes is assigned to the Ethernet Port. The possible values are configured or unconfigured (default).
node_IP_address Indicates the Internet Protocol Version 4 (IPv4) node IP address.
subnet_mask Indicates the IPv4 subnet mask value.
gateway Indicates the IPv4 gateway address.

An invocation example

sainfo lsnodeip

The following output is displayed:

port_id   rdma_type   port_speed  vlan      link_state    state            node_IP_address    subnet_mask   gateway
1                     1Gb/s                 inactive      unconfigured    
2                     1Gb/s                 inactive      unconfigured
3         RoCE        25Gb/s      103       active        configured       192.168.54.101     255.255.255.0 192.168.54.1
4         RoCE        25Gb/s                active        configured       192.168.54.102     255.255.255.0 192.168.54.1
... for all the ethernet ports in the system