You can use communications trace to determine whether your data is being transmitted correctly across the network.
Use the communications trace function to troubleshoot TCP/IP. Communications trace is a service function that allows the data that flows over a communications line, such as a local area network (LAN) or wide area network (WAN), to be captured for analysis. The communications trace traces only the packets received by or sent from IBM® i. It does not trace other packets flowing on the network. After the data has been traced, the raw data can be dumped into a stream file, or it can be formatted and placed in a spooled file to be displayed or printed.
If your system is multihomed, data might be sent on one interface and received on a different interface. In this situation, you should trace two communications lines to see packets that are sent and received.
Communications trace can be used for troubleshooting both IPv4 and IPv6 communications.
Use communications trace in these situations:
- Your problem analysis procedures do not give enough information about the problem.
- You suspect that a protocol violation is the problem.
- You suspect that line noise is the problem.
- You want to know if your application is transmitting information correctly across the network.
- You want to know if you have performance problems with network congestion or data throughput.
To use the CL commands to perform a communications trace, you must have *SERVICE special authority defined in your user profile, or you must be authorized to the service trace function of IBM i through IBM Navigator for i.
The trace connection function is an alternative method of getting a trace that is similar to a communications trace. See Trace connection for more information.
To use the communications trace function, perform these tasks.