5 tracer— tracing ip packets, Running the tracer utility from a terminal – HP Integrity NonStop H-Series User Manual

Page 35

Advertising
background image

5 Tracer— Tracing IP Packets

The Tracer Utility displays the path taken by IP packets on route to a network host. Use the Tracer
Utility to determine any problems that these packets might encounter. From each gateway system
along the path, the Tracer Utility attempts to elicit an ICMP TIME_EXCEEDED message. From the
destination remote host, it attempts to elicit a ICMP_PORT_UNREACHABLE message.

Running the Tracer Utility from a Terminal

You can use Tracer Utility only if your user ID is SUPER.SUPER.

Output from the Tracer Utility appears on the screen of the terminal from which the utility was
launched. You can also choose to have the output logged to a file.

TRACER [ / run-option ] [ , run-option... / ][ -d ]

[ -m max-ttl ][-n ][ -p port-num ] [ q nqueries ]

[ -r ][ -s src-addr ] [ -v ] [ -w wait-time ]

remote-host-name [ data-size ]

[run-option ]

specifies an operating system RUN command option. For a complete description of all RUN
options, see the TACL Reference Manual.

Note that the OUT option allows you to send the output of a trace to a log file.

Examples:

The following command directs the output of a trace to remote system named \IDEV to a disk
file named $fiti.trace. traceout on the local system.

>TACL TRACER/OUT $fiti.trace.traceout/IDEV

The following command directs the output of a trace to remote system named \IDEV to a disk
file named $wpo.trace. traceout on the system named \igate.

>TACL TRACER/OUT \igate.$wpo.trace.traceout/IDEV

[ -d ]

sets the SO_DEBUG option on the socket being used.

[ -m max-ttl ]

specifies the maximum time-to-live value (or number of hops) used in out-going probe packets.
If you do not specify this option, the Tracer Utility uses the default value of 30 hops.

[ -n ]

specifies that the address of each gateway be printed numerically rather than both symbolically
and numerically. Thus, only the IP address, rather than the address and gateway name, appears
in the output. Specifying -n avoids having the Tracer Utility do a time-consuming address-to-name
lookup. HP therefore recommends use of this option.

[ -p port-num ]

specifies the base UDP port number used in probes. If you do not specify this option, the Tracer
utility uses the default value 33434 for port-num.

The UDP port number, whether it is the default number or a number you specify through this
option, should not be an actual port range on the remote host to which the probe is destined.
The remote host should not process the probe packet, but rather send back a

Running the Tracer Utility from a Terminal

35

Advertising
This manual is related to the following products: