H3C使用ping命令--用户视图

完整的ping命令,用于下面参考

<H3C>ping 1.1.1.1

  PING 1.1.1.1: 56  data bytes, press CTRL_C to break

    Reply from 1.1.1.1: bytes=56 Sequence=1 ttl=255 time=10 ms

    Reply from 1.1.1.1: bytes=56 Sequence=2 ttl=255 time=16 ms

    Reply from 1.1.1.1: bytes=56 Sequence=3 ttl=255 time=20 ms

    Reply from 1.1.1.1: bytes=56 Sequence=4 ttl=255 time=15 ms

    Reply from 1.1.1.1: bytes=56 Sequence=5 ttl=255 time=1 ms

 

  --- 1.1.1.1 ping statistics ---

    5 packet(s) transmitted

    5 packet(s) received

    0.00% packet loss

round-trip min/avg/max = 1/12/20 ms

 

<H3C>ping ?

      -a      指定源地址    例:<H3C>ping -a 2.2.2.2 1.1.1.1

                                         源地址目的地址

      -c      指定发送报文的次数  例:<H3C>ping -c 2 1.1.1.1  //ping两次

      -h      指定报文的TTL值,1~255,默认为255

      -m     指定发送报文的时间间隔,1~65535,默认200毫秒                         

      -r   记录路由,默认是不记录路由的

      -s      指定所发送报文的长度,默认为56字节,20~8100

      -t     指定超时时间,默认200毫秒,1~65535

原文地址:https://www.cnblogs.com/fanweisheng/p/11151171.html