V
V
Vlad Zaitsev2015-05-10 14:16:28
Computer networks
Vlad Zaitsev, 2015-05-10 14:16:28

How to get traffic on the interface for the last 5 minutes from the Mikrotik console?

Actually, the question is in the title :)
I want to know how much traffic has passed through the interface for some time. Found only the counter which increases from the moment of the beginning.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
L
lexalex, 2015-05-10
@vvzvlad

You can run a script in the scheduler that will reset counters every 5 minutes:
/system scheduler
add interval=5m name=resetcounters on-event="/interface ethernet reset-counters 1" policy=\
write start-time=startup
# 1 - number interface
you will need to download and install netflow analyzer ( For example )
You need to enable traffic flow on Mikrotik:
/ip traffic-flow set enabled=yes
specify analyzer address
/ip traffic-flow target add address=192.168.1.78:9996 version =9
More details here
This scheme worked for me

G
German Sukhachev, 2015-05-10
@g3fox

You won't be able to achieve what you want from the command line.
You can add graphics:
wiki.mikrotik.com/wiki/Manual:Tools/Graphing

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question