traceroute

Sends ICMP echo requests with increasing TTL value to the specified IP.

Syntax

traceroute IPADDR [ max-ttl 1-255 | min-ttl 1-255 | timeout 1-60 ]
traceroute NAME [ max-ttl 1-255 | min-ttl 1-255 | timeout 1-60 ]

Parameters

IPADDR
Specifies the destination IPV4 or IPV6 address.
NAME
Specifies the destination host name.
max-ttl 1-255
Specifies the maximum TTL value. The range is 1-255, default is 30.
min-ttl 1-255
Specifies the minimum TTL value. The range is 1-255, default is 1.
timeout 1-60
Specifies the timeout value. The range 1-60, default is 5 seconds.

Modes

Exec mode

Usage Guidelines

This command is available only to users with admin role.

Examples

The following example sends ICMP echo requests.

device# traceroute 172.217.165.132 

traceroute to 172.217.165.132 (172.217.165.132), 30 hops max, 60 byte packets 

1  host.internal (10.42.0.1)  0.053 ms  0.020 ms  0.018 ms 
2  10.20.73.129 (10.20.73.129)  0.330 ms  0.458 ms  0.478 ms 
3  10.22.3.6 (10.22.3.6)  0.897 ms  1.675 ms  1.751 ms 
4  10.22.3.17 (10.22.3.17)  0.950 ms  1.752 ms  1.746 ms 
5  10.22.3.13 (10.22.3.13)  8.126 ms  8.143 ms  8.199 ms 
6  10.254.127.58 (10.254.127.58)  3.409 ms  0.499 ms  0.578 ms 
7  134.141.55.25 (134.141.55.25)  0.497 ms  0.552 ms  0.542 ms 
8  208.185.247.161.IPYX-150368-ZYO.zip.zayo.com (208.185.247.161)  1.078 ms  1.228 ms  1.009 ms 
9  100.ge-11-3-4.mpr3.sjc7.us.zip.zayo.com.zip.zayo.com (208.185.247.73)  0.673 ms  0.663 ms  0.656 ms 
10  ae16.cr1.sjc2.us.zip.zayo.com (64.125.31.12)  4.104 ms  4.126 ms  4.237 ms 
11  ae27.cs1.sjc2.us.eth.zayo.com (64.125.30.230)  3.512 ms  3.487 ms  5.108 ms 
12  * * * 
13  142.250.160.46 (142.250.160.46)  2.449 ms  2.440 ms  2.451 ms 
14  209.85.243.50 (209.85.243.50)  2.209 ms  2.188 ms  2.180 ms 
15  108.170.242.83 (108.170.242.83)  2.827 ms  2.846 ms  2.935 ms 
16  142.250.234.137 (142.250.234.137)  2.722 ms  2.865 ms  2.858 ms 
17  142.250.237.172 (142.250.237.172)  9.852 ms  9.826 ms  9.870 ms 
18  * 142.250.235.172 (142.250.235.172)  51.634 ms * 
19  * * * 
20  216.239.57.137 (216.239.57.137)  68.178 ms * * 
21  108.170.226.122 (108.170.226.122)  67.973 ms  66.627 ms  66.614 ms 
22  108.170.248.1 (108.170.248.1)  67.274 ms  67.365 ms  67.498 ms 
23  142.250.224.245 (142.250.224.245)  67.081 ms  67.077 ms  67.100 ms 
24  172.217.165.132 (172.217.165.132)  67.678 ms  66.427 ms  66.502 ms 

device# traceroute 255.255.255.255 
Error: Broadcast address not allowed 

device# traceroute abcd 
Error: Host resolution failed