Usage Examples
Basic usage with default parameters:
Trace without requiring elevated privileges (supported platforms only, see privileges):
Trace using the udp
(or tcp
or icmp
) protocol (also aliases --icmp
, --udp
& --tcp
):
Trace to multiple targets simultaneously (icmp
protocol only,
see #72):
Trace with a minimum round time of 250ms
and a grace period of 50ms
:
Trace with a custom first and maximum time-to-live
:
Use custom destination port 443
for tcp
tracing:
Use custom source port 5000
for udp
tracing:
Use the dublin
(or paris
) ECMP routing strategy for udp
with fixed source and destination ports:
Trace with a custom source address:
Trace with a source address determined by the IPv4 address for interface en0
:
Trace using IPv6
:
Trace using ipv4-then-ipv6
fallback (or ipv6-then-ipv4
or ipv4
or ipv6
):
Generate a json
(or csv
, pretty
, markdown
) tracing report with 5 rounds of data:
Generate a Graphviz DOT
file report of all tracing flows for a TCP trace after 5 rounds:
Generate a textual report of all tracing flows for a UDP trace after 5 rounds:
Perform DNS queries using the google
DNS resolver (or cloudflare
, system
, resolv
):
Lookup [AS][autonomous_system] information for all discovered IP addresses (not yet available for the system
resolver,
see #66):
Set the reverse DNS lookup cache time-to-live to be 60 seconds:
Lookup and display short
(or long
or location
or off
) GeoIp information from a mmdb
file:
Parse icmp
extensions:
Hide the IP address, hostname and GeoIp for the first two hops:
Customize Tui columns (see Column Reference):
Customize the color theme:
List all Tui items that can have a custom color theme:
Customize the key bindings:
List all Tui commands that can have a custom key binding:
Specify the location of the Trippy config file:
Generate a template configuration file:
Generate bash
shell completions (or fish
, powershell
, zsh
, elvish
):
Generate ROFF
man page:
Use the de
Tui locale:
List supported Tui locales:
Run in silent
tracing mode and output compact
trace logging with full
span events: