2.1.28. traceroute

Syntax

traceroute A.B.C.D [max_hop <2-255>]

Parameter


A.B.C.D Specify IPv4 to trace.

max_hop Specify maximum hop to trace. <2-255>


Default

No default value for this command.

Mode

User EXEC Privileged EXEC

Usage

Use traceroute" command to do network trace route diagnostic.

Example

This example shows how to trace route host 192.168.1.111.

Switch# traceroute 192.168.1.111
traceroute to 192.168.1.111 (192.168.1.111), 30 hops max, 40 byte
packets

1.  192.168.1.111 (192.168.1.111) 0 ms 10 ms 0 ms