gtpo1m4vOperations

ZDTCP-TCP/IP Connectivity Diagnosis Tools

Use this command to do the following:

Requirements and Restrictions

Format




DNS
displays DNS server addresses.

PRImary
defines the address of the primary DNS server to use for the gethostbyname and gethostbyaddr functions.

SECndry
defines the address of the secondary DNS server to use for the gethostbyname and gethostbyaddr functions.

ipaddr
is the numeric IP address of the DNS server.

DISplay
displays the primary and secondary DNS server address. If an IP address is not defined for either the primary or secondary servers, NONE is displayed.

NETstat
displays TCP/IP socket statistics.

NSLookup
displays the associated IP addresses for a specified host name or host name alias, or displays the host name for a specified IP address. If you specify a host name alias, the actual host name is displayed as well as the alias and associated IP addresses.

host
is the host name or IP address of a remote IP host. Specify the host name in alphanumeric characters. Each portion of the host name separated by dots must be no larger than 63 alphanumeric characters.
Note:
Hyphens (-) are also allowed in the host name.

PING
checks the connectivity to a remote IP host. A response by the host indicates the host is available.

TImeout-second
waits a specified number of seconds for a pinged host to respond, where second is a number from 1-180.

LOCal-iplocal
specifies the local IP address, where iplocal is the numeric IP address. If you do not specify this parameter, the default local IP address is used. Do not enter the following IP addresses for the LOCAL parameter:

TRACERte
displays the route to an IP host.

In addition, network error indicators are displayed if they occur. These error indicators consist of the following:

*
Probe timed out.

!
The time-to-live (ttl) is <= 1.

!H
Host error.

!N
Network error.

!P
Protocol cannot be reached.

!S
Source route failed.

!F
Fragmentation needed.

SMLCONS
measures the output lines from the TRACERTE parameter and splits in the middle any line longer than 64 characters. The default is that the line is not split. Use the SMLCONS parameter when a console display does not permit lines more than 64 characters wide.

Additional Information

Online help information is available for this command. To display the help information, enter one of the following:

ZDTCP HELP

ZDTCP ?

Examples

The following example defines a primary TPF DNS IP address.

+--------------------------------------------------------------------------------+
|User:   ZDTCP DNS PRIMARY-9.117.26.98                                           |
|                                                                                |
|System: DTCP0005I 08.41.25 TPF DNS SERVER 9.117.26.98 ADDED TO DNS TABLE        |
+--------------------------------------------------------------------------------+

The following example displays the TPF DNS IP addresses.

+--------------------------------------------------------------------------------+
|User:   ZDTCP DNS DISP                                                          |
|                                                                                |
|System: DTCP0006I 08.41.25 TPF DNS Server PRIMARY-9.117.26.98                   |
|                                          SECONDARY-9.117.25.19                 |
+--------------------------------------------------------------------------------+

The following example displays the TPF DNS IP address for the primary server, but the secondary server is not defined.

+--------------------------------------------------------------------------------+
|User:   ZDTCP DNS DISP                                                          |
|                                                                                |
|System: DTCP0006I 08.41.25 TPF DNS Server PRIMARY-9.117.26.98                   |
|                                          SECONDARY-NONE                        |
+--------------------------------------------------------------------------------+

The following example displays TCP/IP socket statistics. The first set of statistics shown is for TCP/IP offload support; the second set of statistics shown is for TCP/IP native stack support. The number of total sockets displayed at the bottom of the screen applies only to TCP/IP native stack support.

+--------------------------------------------------------------------------------+
|User:   ZDTCP NETSTAT                                                           |
|                                                                                |
|System: DTCP0003I 14.49.16 TPF TCP/IP NETSTAT                                   |
|         SOCKET  TYPE  APPLICATION  LOCAL    COUNT  STATUS                      |
|                                     PORT                                       |
|        -------  ----  -----------  -----  -------  ------                      |
|             33  UDP                   69  *******  SERVER                      |
|             34  TCP                 8000        2  LISTEN                      |
|                                                                                |
|        SOCKET   APP NAME   TYPE  LOCAL IP         LPORT  COUNT  STATUS         |
|        -------- ---------- ----  ---------------  -----  -----  -----------    |
|        00C000C9 RIP        UDP               ANY    520  *****  SERVER         |
|        00C000CB TFTP       UDP               ANY     69  *****  SERVER         |
|        00C000CA FTP        TCP               ANY     21      0  SERVER         |
|        00C000CC MQ         TCP               ANY   1414      0  SERVER         |
|        00C000CF FARES      TCP               ANY   5001      0  SERVER         |
|                 1 RAW SOCKETS                                                  |
|                 2 UDP CLIENT SOCKETS                                           |
|                 7 TCP CLIENT SOCKETS                                           |
|                15 TOTAL SOCKETS                                                |
|        END OF DISPLAY                                                          |
+--------------------------------------------------------------------------------+

The following example displays the host name for the specified IP address.

+--------------------------------------------------------------------------------+
|User:   ZDTCP NSL 129.42.19.99                                                  |
|                                                                                |
|System: DTCP0007I 09.24.08 NAME SERVER RESOLUTION DISPLAY                       |
|                                                                                |
|          NAME      - www.ibm.com                                               |
|          ADDRESSES - 129.42.19.99                                              |
|                                                                                |
|        END OF DISPLAY                                                          |
+--------------------------------------------------------------------------------+

The following example displays the host name and associated IP addresses for the specified host name alias.

+--------------------------------------------------------------------------------+
|User:   zdtcp nsl www.espn.go.com                                               |
|                                                                                |
|System: DTCP0007I 09.24.08 NAME SERVER RESOLUTION DISPLAY                       |
|                                                                                |
|          NAME      - espn.go.com                                               |
|          ADDRESSES - 204.202.131.230 204.202.129.230                           |
|          ALIASES   - www.espn.go.com                                           |
|                                                                                |
|        END OF DISPLAY                                                          |
+--------------------------------------------------------------------------------+

The following example displays the ping of a TCP/IP station using a specific local IP address in numeric format.

+--------------------------------------------------------------------------------+
|User:   ZDTCP PING 9.117.33.9 LOCAL-9.117.31.5                                  |
|                                                                                |
|System: DTCP0009I 11.56.54 PING STARTED                                         |
|        DTCP0001I 11.56.54 PINGED HOST 9.117.33.9 (9.117.33.9)                  |
|                           RESPONSE TOOK 16 MSECS                               |
+--------------------------------------------------------------------------------+

The following example displays the ping of a TCP/IP host. In this example, the name server provides the host name (KGNVMC.POK.IBM.COM).

+--------------------------------------------------------------------------------+
|User:   ZDTCP PING KGNVMC.POK.IBM.COM                                           |
|                                                                                |
|System: DTCP0009I 11.55.37 PING STARTED                                         |
|        DTCP0001I 11.55.37 PINGED HOST 9.117.33.9 (KGNVMC.POK.IBM.COM)          |
|                   RESPONSE TOOK 22 MSECS                                       |
|                                                                                |
+--------------------------------------------------------------------------------+

The following example displays the route to an IP host using a specific local IP address in numeric format.

+--------------------------------------------------------------------------------+
|User:   ZDTCP TRACERTE 9.117.33.9 LOCAL-9.117.31.5                              |
|                                                                                |
|System: DTCP0004I 14.30.10 ROUTE TO 9.117.33.9 AS FOLLOWS                       |
|         1 9.117.198.1 (9.117.198.1)     10 ms   10 ms   9 ms                   |
|         2 9.117.197.251 (9.117.197.251)    *  7894 ms   9 ms   9 ms            |
|         3 9.117.1.19 (9.117.1.19)     12 ms   10 ms   9 ms                     |
|         4 kgnvmc.pok.ibm.com (9.117.33.9)     14 ms   16 ms   14 ms            |
|        END OF DISPLAY                                                          |
+--------------------------------------------------------------------------------+

The following example shows a host being unreachable because of networking problems (notice the network error indicators).

+--------------------------------------------------------------------------------+
|                                                                                |
|User:   ZDTCP TRACERTE 9.117.69.34                                              |
|                                                                                |
|System: DTCP0004I 14.27.22 ROUTE TO 9.117.69.34 AS FOLLOWS                      |
|         1 9.117.198.1 (9.117.198.1)     8 ms   11 ms   11 ms                   |
|         2 9.117.197.252 (9.117.197.252)     21 ms   8 ms   11 ms               |
|         3 9.117.1.1 (9.117.1.1)     9 ms   9 ms   9 ms                         |
|         4 9.117.1.1 (9.117.1.1)    *  7531 ms  *  8001 ms !N   5798 ms         |
|         5 9.117.1.1 (9.117.1.1)    *  7637 ms  *  8000 ms  *  8000 ms          |
|         6 9.117.1.1 (9.117.1.1)    *  7970 ms  *  8000 ms  *  8000 ms          |
|         7 9.117.1.1 (9.117.1.1)    *  7968 ms  *  7999 ms  *  8003 ms          |
|         8 9.117.1.1 (9.117.1.1)   !N   3196 ms  *  7763 ms !N   5265 ms        |
|        UNREACHABLE                                                             |
|        END OF DISPLAY                                                          |
+--------------------------------------------------------------------------------+

The following example displays how the use of the SMLCONS parameter splits lines longer than 64 characters.

+--------------------------------------------------------------------------------+
|                                                                                |
|User:   ZDTCP TRACERTE 9.117.69.34 SMLCONS                                      |
|                                                                                |
|System: DTCP0004I 18.38.09 ROUTE TO 9.117.69.34 AS FOLLOWS                      |
|         1 9.117.197.251 (9.117.197.251)                                        |
|         * 5017 ms  * 5004 ms  * 5060 ms                                        |
|         2 9.117.1.1 (9.117.1.1)    58 ms  50 ms  49 ms                         |
|         3 pkmfgvm4.pok.ibm.com (9.117.32.15)                                   |
|         * 5013 ms  * 5006 ms  * 4995 ms                                        |
|         4 9.117.69.34 (9.117.69.34)   * 5008 ms   25 ms   22 ms                |
|        END OF DISPLAY                                                          |
+--------------------------------------------------------------------------------+

Related Information

See TPF Transmission Control Protocol/Internet Protocol for more information about TCP/IP support.