Traceroute
Use the M4500 traceroute commands to discover the IPv4 or IPv6 route that packets take to a destination.
traceroute
Use the traceroute command to discover the routes that packets actually take when traveling to their destination through the network on a hop-by-hop basis. Traceroute continues to provide a synchronous response when initiated from the CLI.
| Default |
The default initTtl is 1. The default maxTtl is 30. The default maxFail is 5. The default interval is 3 seconds. The default count is 3. The default port is 33434. The default size is 0 bytes. |
| Format | traceroute [vrf <vrf-name>] <ip-address | hostname> [initTtl <initTtl>] [maxTtl <maxTtl>] [maxFail <maxFail>] [interval <interval>] [count <count>] [port <port>] [size <size>] [source {< ip-address> | <slot/port> | loopback <loopback-id> | serviceport | tunnel <tunnel-id> | vlan <vlan-id>}] |
| Mode | Privileged EXEC |
| Parameter | Definition |
|---|---|
| vrf-name | The name of the virtual router in which to initiate traceroute. Only hosts reachable from within the VRF instance can be tracerouted. If a source parameter is specified in conjunction with a vrf parameter, it must be a member of the VRF. The ipv6 parameter cannot be used in conjunction with the vrf parameter. |
| initTtl | Use initTtl to specify the initial time-to-live (TTL), the maximum number of router hops between the local and remote system. Range is 0 to 255. |
| maxTtl | Use maxTtle to specify the maximum TTL. Range is 1 to 255. |
| maxFail | Use maxFail to terminate the traceroute after failing to receive a response for this number of consecutive probes. Range is 0 to 255. |
| port | Use the optional port parameter to specify destination UDP port of the probe. This should be an unused port on the remote destination system. Range is 1 to 65535. |
| count | Use the count parameter to specify the number of probes per hop. The range for count is 1 to 10. |
| interval | Use the interval parameter to specify the time between probes, in seconds. If traceroute does receive a response to a probe within this interval, then it sends the next probe immediately. Range is 1 to 60 seconds. |
| size | Use the size parameter to specify the size of probe packets, in bytes. Range is 0 to 39936 bytes. |
| source | Use the source parameter to specify the source IP/IPv6 address or interface to use for the traceroute. |
traceroute ipv6
Use the traceroute command to discover the routes that packets actually take when traveling to their destination through the network on a hop-by-hop basis. The <ipv6-address|hostname> parameter must be a valid IPv6 address|hostname.
| Default |
The default initTtl is 1. The default maxTtl is 30. The default maxFail is 5. The default interval is 3 seconds. The default count is 3. The default port is 33434. The default size is 0 bytes. |
| Format | traceroute ipv6 <ipv6-address | hostname> [initTtl <initTtl>] [maxTtl <maxTtl>] [maxFail <maxFail>] [interval <interval>] [count <count>] [port <port>] [size <size>] [source {< ipv6-address> | <slot/port> | loopback <loopback-id> | serviceport | tunnel <tunnel-id> | vlan <vlan-id>}] |
| Mode | Privileged EXEC |