You can use the following line commands from the IP Node Monitor, IP Resource Monitor, and connection lists to manage simple traces:
Starts a packet trace for the selected entry. In most cases, a panel appears for you to specify additional filter criteria.
Note: The number of packets retained for a trace is determined by the SMARTTRACE parameter group.
Stops the current packet trace for the selected entry. A stopped trace remains viewable for a time as specified in the SMARTTRACE parameter group.
Deletes the packet trace and all associated packet trace data for the selected entry.
Views the packets collected by the current packet trace.
Example: Trace a Connection
You enter PT against an IP connection on a Connections panel to start a packet trace:
COMP44---------------- TCP/IP : Connections (Netstat) --------Stack: *MULTIPLE*
Command ===> Scroll ===> CSR
Line 518 of 550 Refresh Every ... Seconds
S=View I=Information CS=Statistics P=Ping T=TraceRoute NL=Lookup Z=Drop
D=VTAM Display PT=Packet Trace TPA=Transaction Path Analyzer ?=Actions
Foreign Host Port Local Host LPort TaskName Status Idle
172.31.122.204 1770 192.168.65.11 3001 COMP1 ESTABLISHED 0:09:41
PT 172.31.122.209 2676 192.168.65.11 3001 COMP1 ESTABLISHED 0:03:45
172.31.122.209 2680 192.168.65.11 3001 COMP1 ESTABLISHED 3:39:49
After the trace has started (as indicated by *PT*), you can enter PTV against the connection to view the trace.
PTV 172.31.122.209 2676 192.168.65.11 3001 COMP1 ESTABLISHED *PT*
The following panel shows some of the traced packets:
COMP44-------------- SmartTrace : Connection Packet List ----------------------
Command ===> Scroll ===> CSR
S/V=View P=Print
Stack .... TCPIP11 Total Traced 334
Local Host 192.168.65.11 <--> Foreign Host 172.31.122.209
Local Port 3001 Foreign Port 2676
Protocol TCP
Dir +Time Bytes Summary Information
0001 -> <0.001 70 Ack Psh Win=32738 Seq=2044186642 Ack=1239670188
0002 <- 0.643 40 Ack Psh Win=32738 Seq=1239670188 Ack=2044186672
0003 <- 0.713 70 Ack Psh Win=32738 Seq=1239670188 Ack=2044186672
You can refresh the panel to see the latest packets, drill down to the individual packet detail, or go back to the connection list to stop the trace.