How to find the IP Address of IBM AS/400 iSeries

How to find the IP address of a remote iSeries system?

Method 1.

Use the PING command, either on the iSeries or from Windows command prompt:

> PING AMS600
Verifying connection to host system AMS600 at address 12.240.18.87.

Method 2.

Use the Verify TCP/IP Connection (VFYTCPCNN) command on the iSeries

> VFYTCPCNN AMS600
Verifying connection to host system AMS600 at address 12.240.18.87.

How to find the IP address of a local iSeries system

There are three ways to do this depending on the level of detail you required.

Method 1.

Enter command NETSTAT to show the TCP/IP Network Status menu.
Select option 1 – Work with IPv4 interface status
IP address is shown for both Internet Address & Network Address.

Internet Network Line Interface
 Opt  Address       Address      Description   Status
      12.240.18.87  12.240.18.0  ETHLINE       Active

Method 2.

Enter command CFGTCP to show the Configure TCP/IP menu
Select option 10 to list the TCP/IP host table entries.
IP Internet Address and hostname is shown

         Internet       Host
 Opt     Address        Name
         ::1            IPV6-LOOPBACK
                        IPV6-LOCALHOST
         12.240.18.87   AMS600

Method 3.

Ping your local system name:

PING AMS600
 Verifying connection to host system AMS600 at address 12.240.18.87.
Posted in tips.