把跳数设置为10次:

]# traceroute -m 10 www.baidu.com
traceroute to www.baidu.com (119.75.218.70), 10 hops max, 60 byte packets
 1  10.100.2.1 (10.100.2.1)  0.282 ms  0.265 ms  0.255 ms
 2  121.69.3.113 (121.69.3.113)  26.612 ms  27.984 ms  30.273 ms
 3  10.255.40.221 (10.255.40.221)  1.635 ms  2.449 ms  2.738 ms
 4  10.255.33.61 (10.255.33.61)  1.331 ms  1.334 ms  1.572 ms
 5  124.205.98.1 (124.205.98.1)  2.406 ms  2.689 ms  2.675 ms
 6  * 14.197.178.41 (14.197.178.41)  1.462 ms 14.197.243.121 (14.197.243.121)  2.512 ms
 7  * 14.197.253.49 (14.197.253.49)  1.356 ms *
 8  * * *
 9  * * *
10  * * *

 

版权声明:本文为bass6原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://www.cnblogs.com/bass6/p/6118918.html