OpenNSL API Guide and Reference Manual
Statistics

The statistics module allows for retrieval of common SNMP statistics for use with switch management and diagnostics software. Both 64-bit and 32-bit counters are supported. In addition, statistics are provided for the following groups: RFC 1213 (MIB-II), RFC 1493 (Bridge MIB), RFC 1757 (EtherStat), RFC 2665 (Ethernet-Like MIB). For more information, see the relevant RFCs.