RouterOS ethernet statistics

Hi,

We often experience mysterious ethernet lock-ups and unexplained slowness. On Canopy and whatnot we get a lot of ethernet stats. Would it be possible to get the basic stats on ethernets like we get on a typical Linux box? Here is an example:

RX packets:46153205 errors:0 dropped:0 overruns:0 frame:0
TX packets:21638167 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:586744856 (559.5 MiB) TX bytes:3750889879 (3.4 GiB)

Please forgive me if I am asking for something in 4.X :smiley: we are stabilizing on 3.30 right now.

-jim wiegand
vistavox

It’s supported.

3.x you can get it via SNMP, 4.x allows it to be fetched via SNMP, as well as in winbox / console.

wow… seems like there are many parameters, but none of them is working…

[admin@MikroTik] > :put [/interface ethernet get srv rx-<TAB> ]  
rx-1024-1518  rx-512-1023     rx-broadcast  rx-multicast  rx-too-long
rx-128-255    rx-64           rx-bytes      rx-overflow   
rx-1519-max   rx-65-127       rx-fcs-error  rx-pause      
rx-256-511    rx-align-error  rx-fragment   rx-runt

any value prints empty string. checked with v3.28 and v4.1

Hi,

Yeah the SNMP works for me. I checked the counters in an RB750 against WaveRider CCU counters and saw similar numbers. That gives me more to go on until we upgrade.

Thanks,
-jim

actually, on some devices we have this command:

[admin@MikroTik] > interface ethernet print stats detail 
                      name: ether1-gateway ether2-local-master ether3-local-sl>
              rx-broadcast: 941248         492                 0              >
                  rx-pause: 0              0                   0              >
              rx-multicast: 644959         2410                0              >
              rx-fcs-error: 0              0                   0              >
            rx-align-error: 0              0                   0              >
                   rx-runt: 0              0                   0              >
               rx-fragment: 0              0                   0              >
                     rx-64: 986414         555864              0              >
                 rx-65-127: 628783         60702               0              >
                rx-128-255: 231746         201841              0              >
                rx-256-511: 46113          27298               0              >
               rx-512-1023: 27302          25702               0              >
              rx-1024-1518: 999700         62813               0              >
               rx-1519-max: 0              0                   0              >
               rx-too-long: 0              0                   0              >
               rx-overflow: 0              0                   0              >
                  rx-bytes: 1684455329     204962284           0              >
              tx-broadcast: 1352           5926                0              >
                  tx-pause: 0              0                   0              >
              tx-multicast: 0              5926                0              >
               tx-underrun: 0              0                   0              >
                     tx-64: 524178         114507              0              >
                 tx-65-127: 83028          70431               0              >
                tx-128-255: 182308         189942              0              >
                tx-256-511: 28455          30448               0              >
               tx-512-1023: 25695          24554               0              >
              tx-1024-1518: 62377          939921              0              >
               tx-1519-max: 0              0                   0              >
               tx-too-long: 0              0                   0              >
              tx-collision: 0              0                   0              >
-- [Q quit|D dump|right|down]

:smiley: :smiley: :smiley:

[admin@MikroTik] > interface ethernet print stats detail 
  name: "srv"
[admin@MikroTik] >

Normis, what devices offer such detailed iterface info? On RB433 I get nothing…

this is from RB750

works on RB450G, v3.30, as well

RB600 with v4.5

[admin@R1] > /interface ethernet print stats detail            
    name: ether1 ether2 ether3
[admin@R1] >

e.g. it no longer works :frowning:

no, it does work. only on the routerboards that use the same chip as RB450 and 750. not all chips give such info.