Community discussions

MikroTik App
 
pimmie
newbie
Topic Author
Posts: 47
Joined: Fri Mar 27, 2015 4:51 pm

Missing packet summary in ping output with count=2

Fri Mar 01, 2024 2:11 pm

Is the difference in output for the ping command when using count=2 vs count=3 expected? See output below, for count=2 there is no summary line printed.

For count=1 I can understand why RouterOS doesn't print a summary, even though for scripting purposes it would be nice to be able to always toggle the ping summary line so you can always just check that summary for eg packet-lost and avg-rtt.
[admin@router] > /ping address=www.mikrotik.com count=2
Columns: SEQ, HOST, SIZE, TTL, TIME
SEQ  HOST             SIZE  TTL  TIME     
  0  159.148.172.205    56   52  48ms467us
  1  159.148.172.205    56   52  46ms889us

[admin@router] > /ping address=www.mikrotik.com count=3
  SEQ HOST                                     SIZE TTL TIME       STATUS                                                         
    0 159.148.172.205                            56  52 47ms182us 
    1 159.148.172.205                            56  52 47ms150us 
    2 159.148.172.205                            56  52 46ms949us 
    sent=3 received=3 packet-loss=0% min-rtt=46ms949us avg-rtt=47ms93us max-rtt=47ms182us 
This is on a RBD53iG-5HacD2Hn running v7.14

Who is online

Users browsing this forum: No registered users and 14 guests