Sub-Interface throughput doesn't add up to Physical Interface throughput (SNMP monitoring)
Created On 02/28/19 07:47 AM - Last Modified 04/18/19 23:03 PM
- SNMP monitoring enabled for physical and logical (sub-interface).
- Sum of throughput of sub-interface doesn't add up to the throughput of actual physical interface.
- SNMP Monitoring
- For hardware/physical interfaces (example: ethernet1/2), firewall populates "Physical port counters read from MAC" in the SNMP MIB. These are MAC counters at the physical interface level and SNMP monitoring reads from them to display statistics for a physical interface.
- For logical interfaces (example: VLAN , sub-interfaces (eth1/2.100 and eth1/2.200)), firewall only populates "Logical interface counters read from CPU" in the SNMP MIB. These are counters at CPU level (and not the actual physical interface). SNMP monitoring reads from them to display statistics for the logical interface.
- Due to hardware offloading, many packets do not reach CPU and as such there will be a difference in counters/throughput between a physical and logical interface.
- This causes the combined throughput of logical interfaces not to match the interface throughput. For ex: the throughput for eth1/2.100 and eth1/2.200 may not add up to eth1/2 stats.
- Aggregate interface is created by either combining physical or logical interface. The above explanation still applies to them. If it is made by combining physical ports, Both "Physical port counters read from MAC" and "logical interface counters read from CPU" are available here whereas aggregate sub-interface (logical interface), only has "Logical interface counters read from CPU".
- For ex:
ae 1 members:
- Throughput of ae1= Throughput of ethernet1/5 + Throughput of ethernet1/6
- This is as per design. If you have sub interfaces configured and using snmp to monitor the throughput, the sum throughput of sub-interfaces doesn't add up to the throughput of actual physical interface.