gtpo1m7rOperations

ZIPTR-Display IP Trace Table

Use this command to do the following:

Requirements and Restrictions

Format




ALL
displays all entries in the IP trace table.

FORMAT
displays formatted entries in the IP trace table.

RESET
initializes the IP trace table.
Note:
If you specify this parameter, all IP packets that are being traced may not be written to tape.

num
is a specific number of the most recent entries in the IP trace table that you want to display.

Additional Information

Examples

The following example displays the last five entries in the IP trace table, where:

 RW 
is the read/write operation code.

 IN 
is the IP channel command word (IPCCW) area index. X'FF'indicates that you are using local sockets.

 SOURCE IP 
is the source IP address.

 DEST IP 
is the destination IP address.

 SPORT 
is the source port. This field has meaning only for packets using the Transmission Control Protocol (TCP) or User Datagram Protocol (UDP) protocol.

 DPORT 
is the destination port. This field has meaning only for packets using the TCP or UDP protocol.

 PR 
is the protocol; for example:

01
specifies Internet Control Message Protocol (ICMP).

06
specifies TCP.

11
specifies UDP.

 FG 
is the TCP flag byte. This field has meaning only for packets using the TCP protocol.

 DATA 
is the user data in the IP packet. Only the first seven bytes of user data are displayed.
+--------------------------------------------------------------------------------+
|User:   ZIPTR 5                                                                 |
|                                                                                |
|System: IPTR0001I 12.41.57 IP TRACE TABLE                                       |
|        RW IN    SOURCE IP        DEST IP     SPORT DPORT PR FG DATA            |
|        31 02   9.117.249.058   9.117.249.056  9999  1025 06 18 4040F1F0        |
|        32 02   9.117.249.056   9.117.249.058  1025  9999 06 18 4040F1F0F08181  |
|        51 02   9.117.249.058   9.117.249.056  9999  1025 06 18 4040F1F0        |
|        52 02   9.117.249.056   9.117.249.058  1025  9999 06 18 4040F1F0F08181  |
|        31 02   9.117.249.058   9.117.249.056  9999  1025 06 18 4040F1F0        |
|        639 ENTRIES IN IP TRACE TABLE+                                          |
+--------------------------------------------------------------------------------+

The following example shows a formatted display of the IP trace table. The information shown in the display depends on the protocol of the IP packet, as follows:

 RWI 
is the read/write operation code.

 IPCCW 
is the IP channel command word (IPCCW) area index. X'FF'indicates that you are using local sockets.

 SOURCE IP 
is the source IP address.

 DEST IP 
is the destination IP address.

 LEN 
is the length of the IP packet.

 TOD 
is the time stamp.

 PROTOCOL 
is the protocol of the IP packet; for example:

01
specifies ICMP

06
specifies TCP

11
specifies UDP.

 SOURCE PORT 
is the source port. This field is displayed only for packets using TCP or UDP.

 DEST PORT 
is the destination port. This field is displayed only for packets using TCP or UDP.

 SEQ 
is the sequence number in the TCP header. This field is displayed only for packets using TCP.

 ACK 
is the acknowledgment number in the TCP header. This field is displayed only for packets using TCP that have the ACK flag set in the TCP flag byte.

 WINDOW 
is the window size in the TCP header. This field is displayed only for packets using TCP.

 URGENT OFFSET 
is the urgent offset field in the TCP header. If this value is not 0, the packet contains out-of-band (OOB) data. This field is displayed only for packets using TCP.

 TCP FLAG BYTE 
is the flag byte in the TCP header. The numeric value is displayed with the names of each bit that is set in the flag byte. This field is displayed only for packets using TCP.

 REASON CODE 
is the reason code provided if an exception condition is associated with a packet.

 IP HEADER 
is the entire IP header of the packet.

 TCP HEADER 
is the entire TCP header of the packet. This field is displayed only for packets using TCP.

 UDP HEADER 
is the entire UDP header of the packet. This field is displayed only for packets using UDP.

 DATA 
The user data in the packet that was traced.
+---------------------------------------------------------------------------------------------+
|User:   ZIPTR 7 FORMAT                                                                       |
|                                                                                             |
|System: IPTR0002I 10.30.59 IP FORMATTED TRACE                                                |
|        RWI-32  IPCCW-01  SOURCE IP-9.117.107.167  DEST IP-9.117.249.50  LEN-60              |
|          TOD-B6E1183EC53E8646  PROTOCOL-01 (ICMP)                                           |
|          REASON CODE - REJECTED BY FIREWALL                                                 |
|          IP HEADER   4500003C 76480000 7D014FB5 09756BA7 0975F932 _                         |
|          DATA    0   0    0800215C 05002700 61626364 65666768  ........ /.......            |
|                 16  10    696A6B6C                             ..,.                         |
|        RWI-31  IPCCW-01  SOURCE IP-9.117.249.50  DEST IP-9.117.107.167  LEN-56              |
|          TOD-B6E1183EC5BF3D06  PROTOCOL-01 (ICMP)                                           |
|          REASON CODE - REJECTED BY FIREWALL _                                               |
|          IP HEADER   45000038 D4B20000 3C01324F 0975F932 09756BA7                           |
|          DATA    0   0    030AA7A0 00000000 4500003C 76480000  ..x..... ........            |
|                 16  10    7D014FB5                             ....                         |
|        RWI-52  IPCCW-01  SOURCE IP-9.117.241.25  DEST IP-9.117.249.50  LEN-48               |
|          TOD-B6E118E5B9980844  PROTOCOL-06 (TCP)  SOURCE PORT-1025  DEST PORT-9999          |
|          SEQ-2388309905  WINDOW--1  URGENT OFFSET-0                                         |
|          TCP FLAG BYTE-02 (SYN)  _                                                          |
|          IP HEADER   45000030 14B60000 39066FDC 0975F119 0975F932                           |
|          TCP HEADER  0401270F 8E5AB791 00000000 7002FFFF 15C90000 020405D4 01030304         |
|        RWI-31  IPCCW-01  SOURCE IP-9.117.249.50  DEST IP-9.117.241.25  LEN-48               |
|          TOD-B6E118E5BA17272F  PROTOCOL-06 (TCP)  SOURCE PORT-9999  DEST PORT-1025 _        |
|          SEQ-2388367744  ACK-2388309906  WINDOW-8192  URGENT OFFSET-0                       |
|          TCP FLAG BYTE-12 (ACK, SYN)                                                        |
|          IP HEADER   45000030 D4BF0000 3C06ACD2 0975F932 0975F119                           |
|          TCP HEADER  270F0401 8E5B9980 8E5AB792 70122000 CDDB0000 020405D4 01030304         |
|        RWI-32  IPCCW-01  SOURCE IP-9.117.241.25  DEST IP-9.117.249.50  LEN-40 _             |
|          TOD-B6E118E5EB111744  PROTOCOL-06 (TCP)  SOURCE PORT-1025  DEST PORT-9999          |
|          SEQ-2388309906  ACK-2388367745  WINDOW-8192  URGENT OFFSET-0                       |
|          TCP FLAG BYTE-10 (ACK)                                                             |
|          IP HEADER   45000028 14B70000 39066FE3 0975F119 0975F932                           |
|          TCP HEADER  0401270F 8E5AB792 8E5B9981 50102000 F9C30000                           |
|        RWI-32  IPCCW-01  SOURCE IP-9.117.241.25  DEST IP-9.117.249.50  LEN-57               |
|          TOD-B6E118E5EB111744  PROTOCOL-06 (TCP)  SOURCE PORT-1025  DEST PORT-9999          |
|          SEQ-2388309906  ACK-2388367745  WINDOW-8192  URGENT OFFSET-0                       |
|          TCP FLAG BYTE-18 (ACK, PSH)                                                        |
|          IP HEADER   45000039 14B80000 39066FD1 0975F119 0975F932                           |
|          TCP HEADER  0401270F 8E5AB792 8E5B9981 50182000 E86A0000                           |
|          DATA    0   0    D7C9D5C7 60D7D6D5 C7000000 01000000  PING-PON G....... _          |
|                 16  10    64                                   .                            |
|        RWI-32  IPCCW-01  SOURCE IP-9.117.241.25  DEST IP-9.117.249.50  LEN-140              |
|          TOD-B6E118E5EB111744  PROTOCOL-06 (TCP)  SOURCE PORT-1025  DEST PORT-9999          |
|          SEQ-2388309923  ACK-2388367745  WINDOW-8192  URGENT OFFSET-0                       |
|          TCP FLAG BYTE-18 (ACK, PSH)  _                                                     |
|          IP HEADER   4500008C 14B90000 39066F7D 0975F119 0975F932                           |
|          TCP HEADER  0401270F 8E5AB7A3 8E5B9981 50182000 104E0000                           |
|          DATA    0   0    4040F1F0 F0818181 81818181 81818181    100aaa aaaaaaaa            |
|                 16  10    81818181                             aaaa                         |
|        1064 ENTRIES IN IP TRACE TABLE                                                       |
+---------------------------------------------------------------------------------------------+

Related Information

See TPF Transmission Control Protocol/Internet Protocol for more information about the IP trace table and TCP/IP native stack support.