1, ping 包
ping 126.0.1.3
2,持续ping包 ping -t
ping 126.0.1.3 -t
3,ping大包 ping -s size 指定ping的包长度
- [root@sino-platform:/root]# ping 126.0.1.3 -s 1490
- PING 126.0.1.3 (126.0.1.3): 1490 data bytes
- 1498 bytes from 126.0.1.3: seq=0 ttl=255 time=6.098 ms
- 1498 bytes from 126.0.1.3: seq=1 ttl=255 time=6.039 ms
- 1498 bytes from 126.0.1.3: seq=2 ttl=255 time=6.031 ms
- 1498 bytes from 126.0.1.3: seq=3 ttl=255 time=7.193 ms
- 1498 bytes from 126.0.1.3: seq=4 ttl=255 time=6.076 ms
- 1498 bytes from 126.0.1.3: seq=5 ttl=255 time=6.044 ms
- 1498 bytes from 126.0.1.3: seq=6 ttl=255 time=6.051 ms
- 1498 bytes from 126.0.1.3: seq=7 ttl=255 time=6.048 ms
查看丢包情况:
0% packet loss 说明没有丢包。
1% packet loss 说明有丢包。
4,ping 快包
ping -f 126.0.1.3 //极限检测
不能用上面的命令的话,就开多个(20个)窗口同时ping.
5,ping + 参数
ping 172.17.2.124 vrf _mgmt_vrf_