1 | tracepath
|
2 | ===
|
3 |
|
4 | 追踪目的主机经过的路由信息
|
5 |
|
6 | ## 补充说明
|
7 |
|
8 | **tracepath命令** 用来追踪并显示报文到达目的主机所经过的路由信息。
|
9 |
|
10 | ### 语法
|
11 |
|
12 | ```shell
|
13 | tracepath(参数)
|
14 | ```
|
15 |
|
16 | ### 参数
|
17 |
|
18 | * 目的主机:指定追踪路由信息的目的主机;
|
19 | * 端口:指定使用的UDP端口号。
|
20 |
|
21 | ### 实例
|
22 |
|
23 | ```shell
|
24 | tracepath www.58.com
|
25 | 1: 192.168.2.10 (192.168.2.10) 20.150ms pmtu 1500
|
26 | 1: unknown (192.168.2.1) 9.343ms
|
27 | 2: 221.6.45.33 (221.6.45.33) 34.430ms
|
28 | 3: 221.6.9.81 (221.6.9.81) 19.263ms
|
29 | 4: 122.96.66.37 (122.96.66.37) 54.372ms
|
30 | 5: 219.158.96.149 (219.158.96.149) asymm 6 128.526ms
|
31 | 6: 123.126.0.66 (123.126.0.66) 138.281ms
|
32 | 7: 124.65.57.26 (124.65.57.26) 166.244ms
|
33 | 8: 61.148.154.98 (61.148.154.98) 103.723ms
|
34 | 9: 202.106.42.102 (202.106.42.102) asymm 10 78.099ms
|
35 | 10: 210.77.139.150 (210.77.139.150) asymm 9 199.930ms
|
36 | 11: 211.151.104.6 (211.151.104.6) asymm 10 121.965ms
|
37 | 12: no reply
|
38 | 13: 211.151.111.30 (211.151.111.30) asymm 12 118.989ms reached
|
39 | Resume: pmtu 1500 hops 13 back 12
|
40 | ```
|
41 |
|
42 |
|