traceroute <host>
Displays the route that packets take to a network host.
- ipv4
- Displays the route that packets take to the IPv4 address of the host. This keyword is used when the host is specified as a host name rather than as an IP address.
- ipv6
- Displays the route that packets take to the IPv6 address of the host. This keyword is used when the host is specified as a host name rather than as an IP address.
- host
- A host that is the destination for the trace. The host is specified as a name (if DNS is being used on the network), an IPv4 or IPv6 address, or MAC address.
Operational mode
Use this command to perform a “traceroute” operation for a network host. This operation uses the IP protocol time-to-live (TTL) field and attempts to elicit an Internet Control Message Protocol (ICMP) TIME_EXCEEDED response from each gateway along the path to a host to track the route that a set of packets follows. It attempts to trace the route an IP packet follows to an Internet host by launching User Datagram Protocol (UDP) probe packets with a small time to live, then listening for an ICMP “Time exceeded” reply from a gateway.