Hi there,
I have this PPPoE Server where I need to know, via script, what is the current IN and OUT bytes on a dynamic PPPoE interface.
When the user logs out, MT sends this information to my Radius on the account packet… Problem is, I actually need this info with the user logged in…
I tried tons of commands and none display this information… The closest one was:
/queue simple print bytes interface=<pppoe-username>
(because my users get shaped with dynamic queues received from the Radius server).
The problem with that command is that it only shows me 1 direction of the connection apparently, the other side (download) gets truncated, like this:
Flags: X - disabled, I - invalid, D - dynamic
# TARGET-ADDRESSES DST-ADDRESS BYTES TOTAL-BYTES
0 D 0.0.0.0/0 2646379/10... 2647859
So, anyone has any other command that can tell me, like “ifconfig” on linux, the total bytes in and out on a interface?