RB4011 drops and snmp
Posted: Sat Apr 04, 2020 11:07 am
Hi,
I have a RB4011 with only one 10 Gbit link routing/firewalling traffic. (6.44.6, and firmware 6.43.7)
Works okay for about 18 months. Today I noticed some counters which did not show up in the monitoring or should not be there.
I cleared the counters a couple of time. As you can see there are some RX drops. But if you check this command:
My problem is how to monitor the drops? “print oid” leads to values from the main interface.
It seems there are no snmp oid for the Ethernet part. I did a snmpwalk and grep on the number and could not find any result.
Should the main/root interface not show the same amount? That would solve the issue.
Second, the system sends “tx-pause”, which make sense with the rx-drops, but flowcontrol is disabled…
For clarity I enabled it on the disabled link ether1. So it shows in the config.
Third, which is rather strange:
For my understanding, the RB4011 has the SFP+ directly connected to the cpu and not the switch..
I enabled ether1, and suddenly I have a lot more error there.
I assume the counters are the 2.5 Gbit links to the switch chips…
But there is no traffic on the switches. Switch1 was never active, and switch2 is active but ether10 is never used (during the uptime)
I’m aware it’s running the 6.44.6 version, I will plan an upgrade of the both the ROS version and the firmware.
Anyone any thought on how to monitor the drops?
Cheers,
Harry
I have a RB4011 with only one 10 Gbit link routing/firewalling traffic. (6.44.6, and firmware 6.43.7)
Works okay for about 18 months. Today I noticed some counters which did not show up in the monitoring or should not be there.
Code: Select all
[admin@x] /interface ethernet> print stats
name: ether1 ether2 ether3 ether4 ether5 ether6 ether7 ether8 ether9 ether10 sfp-sfpplus1
driver-rx-byte: 0 0 0 0 0 0 0 0 0 0 453 418 729 475
driver-rx-packet: 0 0 0 0 0 0 0 0 0 0 465 357 696
driver-tx-byte: 0 0 0 0 0 0 0 0 0 0 454 750 372 102
driver-tx-packet: 0 0 0 0 0 0 0 0 0 0 466 309 144
rx-bytes: 0 0 0 0 0 0 0 0 0 0 445 042 439 047
rx-packet: 465 357 696
rx-too-short: 0
rx-64: 528 421
rx-65-127: 145 182 164
rx-128-255: 14 143 095
rx-256-511: 7 054 258
rx-512-1023: 9 783 903
rx-1024-1518: 107 376 831
rx-1519-max: 181 294 219
rx-too-long: 0
rx-unicast: 0 0 0 0 0 0 0 0 0 0
rx-broadcast: 0 0 0 0 0 0 0 0 0 0 286 518
rx-pause: 0 0 0 0 0 0 0 0 0 0 0
rx-multicast: 0 0 0 0 0 0 0 0 0 0 633 426
rx-fcs-error: 0 0 0 0 0 0 0 0 0 0 0
rx-align-error: 0
rx-fragment: 0 0 0 0 0 0 0 0 0 0 0
rx-unknown-op: 0 0 0 0 0 0 0 0 0 0
rx-length-error: 0
rx-code-error: 0 0 0 0 0 0 0 0 0 0
rx-jabber: 0 0 0 0 0 0 0 0 0 0 0
rx-drop: 0 0 0 0 0 0 0 0 0 0 5 195
tx-bytes: 0 0 0 0 0 0 0 0 0 0 446 488 611 935
tx-packet: 466 309 502
tx-unicast: 0 0 0 0 0 0 0 0 0 0
tx-broadcast: 0 0 0 0 0 0 0 0 0 0 1 445 279
tx-pause: 0 0 0 0 0 0 0 0 0 0 358
tx-multicast: 0 0 0 0 0 0 0 0 0 0 12 411
tx-collision: 0 0 0 0 0 0 0 0 0 0
tx-excessive-collision: 0 0 0 0 0 0 0 0 0 0
tx-multiple-collision: 0 0 0 0 0 0 0 0 0 0
tx-single-collision: 0 0 0 0 0 0 0 0 0 0
tx-deferred: 0 0 0 0 0 0 0 0 0 0
tx-late-collision: 0 0 0 0 0 0 0 0 0 0
tx-drop: 0 0 0 0 0 0 0 0 0 0
tx-rx-64: 0 0 0 0 0 0 0 0 0 0
tx-rx-65-127: 0 0 0 0 0 0 0 0 0 0
tx-rx-128-255: 0 0 0 0 0 0 0 0 0 0
tx-rx-256-511: 0 0 0 0 0 0 0 0 0 0
tx-rx-512-1023: 0 0 0 0 0 0 0 0 0 0
tx-rx-1024-1518: 0 0 0 0 0 0 0 0 0 0
Code: Select all
[admin@x] /interface>> print stats-detail where name="sfp-sfpplus1" or type=vlan
Flags: D - dynamic, X - disabled, R - running, S - slave
0 R name="sfp-sfpplus1" last-link-up-time=dec/18/2019 11:45:43 link-downs=0 rx-byte=57 095 702 786 201 tx-byte=57 036 216 809 471 rx-packet=55 890 915 225
tx-packet=55 887 109 204 rx-drop=0 tx-drop=0 tx-queue-drop=0 rx-error=0 tx-error=0 fp-rx-byte=57 095 702 786 201 fp-tx-byte=57 036 216 809 471
fp-rx-packet=55 890 915 225 fp-tx-packet=55 887 109 204
1 R
name="VL_200" last-link-up-time=dec/18/2019 11:45:43 link-downs=0 rx-byte=47 728 898 175 960 tx-byte=9 135 144 323 972 rx-packet=37 947 970 137
tx-packet=17 990 816 234 rx-drop=0 tx-drop=0 tx-queue-drop=0 rx-error=0 tx-error=0 fp-rx-byte=47 728 726 273 533 fp-tx-byte=0 fp-rx-packet=37 947 820 793
fp-tx-packet=0
2 R
name="VL_1021" last-link-up-time=dec/18/2019 11:45:43 link-downs=0 rx-byte=9 142 539 258 145 tx-byte=47 677 524 048 683 rx-packet=17 937 490 060
tx-packet=37 896 292 970 rx-drop=0 tx-drop=0 tx-queue-drop=0 rx-error=0 tx-error=0 fp-rx-byte=9 142 452 149 432 fp-tx-byte=0 fp-rx-packet=17 937 385 856
fp-tx-packet=0
It seems there are no snmp oid for the Ethernet part. I did a snmpwalk and grep on the number and could not find any result.
Should the main/root interface not show the same amount? That would solve the issue.
Second, the system sends “tx-pause”, which make sense with the rx-drops, but flowcontrol is disabled…
For clarity I enabled it on the disabled link ether1. So it shows in the config.
Code: Select all
[admin@x] /interface ethernet> export
/interface ethernet
set [ find default-name=ether1 ] disabled=yes rx-flow-control=on tx-flow-control=on
set [ find default-name=ether2 ] disabled=yes
set [ find default-name=ether3 ] disabled=yes
set [ find default-name=ether4 ] disabled=yes
set [ find default-name=ether5 ] disabled=yes
set [ find default-name=ether6 ] disabled=yes
set [ find default-name=ether7 ] disabled=yes
set [ find default-name=ether8 ] disabled=yes
set [ find default-name=ether9 ] disabled=yes
set [ find default-name=ether10 ] comment=MGT poe-out=off
set [ find default-name=sfp-sfpplus1 ] advertise=10000M-full auto-negotiation=no
Code: Select all
[admin@x] /interface ethernet switch> print stats
name: switch1 switch2
driver-rx-byte: 0 0
driver-rx-packet: 0 0
driver-tx-byte: 0 0
driver-tx-packet: 0 0
rx-bytes: 0 0
rx-packet: 5 0
rx-too-short: 0 0
rx-64: 2 130 907 700 0
rx-65-127: 0 0
rx-128-255: 0 0
rx-256-511: 0 0
rx-512-1023: 0 0
rx-1024-1518: 0 0
rx-1519-max: 0 0
rx-too-long: 936 0
rx-broadcast: 944 0
rx-pause: 41 740 288 0
rx-multicast: 0 0
rx-fcs-error: 0 0
rx-align-error: 41 740 288 0
rx-fragment: 904 0
rx-length-error: 0 0
rx-jabber: 2 130 907 560 0
rx-drop: 0 0
tx-bytes: 0 0
tx-packet: 920 0
tx-broadcast: 0 0
tx-pause: 0 0
tx-multicast: 0 0
I enabled ether1, and suddenly I have a lot more error there.
Code: Select all
[admin@x] /interface ethernet switch> print stats
name: switch1 switch2
driver-rx-byte: 0 0
driver-rx-packet: 0 0
driver-tx-byte: 0 0
driver-tx-packet: 0 0
rx-bytes: 0 0
rx-packet: 5 0
rx-too-short: 1 107 053 440 0
rx-64: 2 130 907 700 0
rx-65-127: 0 0
rx-128-255: 0 0
rx-256-511: 0 0
rx-512-1023: 0 0
rx-1024-1518: 0 0
rx-1519-max: 0 0
rx-too-long: 936 0
rx-broadcast: 944 0
rx-pause: 1 167 253 504 0
rx-multicast: 1 107 054 592 0
rx-fcs-error: 1 103 788 244 0
rx-align-error: 1 167 253 504 0
rx-fragment: 904 0
rx-length-error: 0 0
rx-jabber: 2 130 907 560 0
rx-drop: 1 103 787 704 0
tx-bytes: 0 0
tx-packet: 920 0
tx-broadcast: 1 096 696 456 0
tx-pause: 1 096 696 200 0
tx-multicast: 0 0
But there is no traffic on the switches. Switch1 was never active, and switch2 is active but ether10 is never used (during the uptime)
I’m aware it’s running the 6.44.6 version, I will plan an upgrade of the both the ROS version and the firmware.
Anyone any thought on how to monitor the drops?
Cheers,
Harry