LACP Trunk – Managing Incoming and Outgoing Traffic

snmpswitch

I want to monitor the incoming and outgoing traffic of an lacp trunk (Port 23 and 24 (group id 02)).

How can I get the value?
I already searched for an OID, but I have not found it.

Before, I used the following OIDs:

  • IfOutOctets: 1.3.6.1.2.1.2.2.1.16.[PORT]
  • IfInOctets: 1.3.6.1.2.1.2.2.1.10.[PORT]

But these are only for a single port.

Switch: 3com Baseline Switch 2924 SFP Plus

Result of GetIf:

enter image description here

Best Answer

Your SNMP index may not match your port number. On some platforms, the indexes are not even persistent across reloads unless configured to be. I'd expect to find an interface speed of 2Gbps in your SNMPwalk for your 2-port LACP. You should scrutinize any ports showing a speed > 0 besides your physical ports 1-24 as possibly the LACP virtual interface.

I'd recommend investing some time to install and learn Cacti. Cacti excels at SNMP monitoring especially using the standard RFC IF-MIB. You can enable debugging when Cacti queries your platform which will correlate other helpful elements of your ports like descriptions. Keep in mind that your SNMP counters for your VLAN interface may only count octets going into and out of the VLAN, not within the VLAN.