Community discussions

MikroTik App
 
ezhangiso
newbie
Topic Author
Posts: 28
Joined: Tue Feb 23, 2021 9:07 am

How to get the received ping of ros v7.x?

Tue May 03, 2022 8:41 am

Hello,
As shown in the figure, through ping, v6.49.2 can obtain the received value of 2; but v7.2.1 obtains the received value is empty (nil).
In v7.x, this method can no longer be used to obtain the received value. Is there any other way to obtain the received value?
You do not have the required permissions to view the files attached to this post.
 
User avatar
Jotne
Forum Guru
Forum Guru
Posts: 3291
Joined: Sat Dec 24, 2016 11:17 am
Location: Magrathean

Re: How to get the received ping of ros v7.x?

Tue May 03, 2022 10:02 am

Missing ping number seems to only bee seen with count=2. Try count=3
This looks like a bug and MT should fix it.
[jotne@RB951-2] > :put [:ping 8.8.8.8 count=2]
Columns: SEQ, HOST, SIZE, TTL, TIME
SEQ  HOST     SIZE  TTL  TIME     
  0  8.8.8.8    56   53  17ms540us
  1  8.8.8.8    56   53  17ms770us


[jotne@RB951-2] > :put [:ping 8.8.8.8 count=3]
  SEQ HOST                                     SIZE TTL TIME       STATUS                                 
    0 8.8.8.8                                    56  53 17ms843us 
    1 8.8.8.8                                    56  53 17ms499us 
    2 8.8.8.8                                    56  53 17ms694us 
    sent=3 received=3 packet-loss=0% min-rtt=17ms499us avg-rtt=17ms678us max-rtt=17ms843us 
3

Who is online

Users browsing this forum: No registered users and 29 guests