IBM Support

Making a network trace on HP-UX using nettl

Question & Answer


Question

Sometimes it is necessary to trace network traffic to diagnose Framework and other Tivoli product problems. How is this done on HP-UX?

Answer

The nettl utility performs network tracing.

Example of commands and steps are shown below to create and format a network trace between a source and destination host.


Turn on trace:
# nettl -start
# nettl -tn 0x30800000 -e ns_ls_ip -size 1024 -tracemax 99999 -f /tmp/rawout

Duplicate the error

To turn off trace:
# nettl -tf -e all

Make a text file called /tmp/filter with the contents:

filter ip_saddr <ip_addr of source>
filter ip_daddr <ip_addr of destination>

The following command performs formatting of the binary data generated by nettl
netfmt -N -n -l -c /tmp/filter -f /tmp/rawout.TRC0 > /tmp/iptrace

[{"Product":{"code":"SSXLSW","label":"Tivoli Management Framework"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"--","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Product Synonym

framework;fw;5698fra00

Document Information

Modified date:
17 June 2018

UID

swg21175092