Community discussions

MikroTik App
 
mani78
just joined
Topic Author
Posts: 2
Joined: Sat Mar 26, 2022 8:13 am

command to print the stats of the eth interface

Sat Mar 26, 2022 8:49 am

Hello,

My first post here, If it is wrong, kindly delete/move it.

I use this command to print the stats of the eth interface.
/interface ethernet print stats
Image

1. What is the command to get the rate of tx, rx data of packets & bytes as shown in the image above, I want to get the values only for ether12
2. The same value I want print it for gretunnel

Thanks
 
mani78
just joined
Topic Author
Posts: 2
Joined: Sat Mar 26, 2022 8:13 am

Re: command to print the stats of the eth interface

Sat Mar 26, 2022 9:25 am

Hello,

I got the answer, thanks.
/usr/bin/ssh root@IPAddr -p port "/interface monitor-traffic ether12 interval=2s

Who is online

Users browsing this forum: Bing [Bot], MarkusT and 29 guests