NETFLOW-MIB
The Netflow MIB provides a simple and easy method to get NetFlow cache information, current NetFlow configuration and statistics. It will enable medium to small size enterprises to take advantage of NetFlow technology over SNMP at a reduced infrastructure cost. The MIB is created to provide Netflow information in these areas:
- Cache information and configuration.
- Collector information and configuration.
- Export Statistics.
- Version 9 Export Template information.
Terminology used Flow A flow is defined as a unidirectional sequence of packets with some common properties that pass through a network device. These collected flows are exported to an external device, the NetFlow collector. Network flows are highly granular; for example, flow records include details such as IP addresses, packet and byte counts,timestamps, Type of Service (ToS), application ports, input and output interfaces, etc.
Exporter A device (for example, a router) with NetFlow services enabled. The exporter monitors packets entering an observation point and creates flows out of these packets. The information from these flows are exported in the form of Flow Records to the collector.
Flow Record A Flow Record provides information about an IP Flow that exists on the Exporter. The Flow Records are commonly referred to as NetFlow Services data or NetFlow data.
Collector The NetFlow Collector receives Flow Records from one or more Exporters. It processes the received export packet, i.e. parses, stores, display the Flow Record information. The flow records may be optionally aggregated before being stored into the hard disk.
Template NetFlow Version 9 Export format is template based. Version 9 record format consists of a packet header followed by at least one or more template or data FlowSets. A template FlowSet (collection of one or more template) provides a description of the fields that will be present in future data FlowSets. Templates provide an extensible design to the record format, a feature that should allow future enhancements to NetFlow services without requiring concurrent changes to the basic flow-record format.
One additional record type is also a part of Version 9 specification: an options template. Rather than supplying information about IP flows, options are used to supply information about the NetFlow process configuration or NetFlow process specific data.
- Source file
NETFLOW-MIB- Last revised
- Identity
netflowMIB- Base OID
1.3.6.1.4.1.3320.9.226- Objects
- 6 scalars · 22 columns
- Tables
- 6 tables
Net-SNMP examples using the bdcom MIB directory
These commands use the standard Observium installation path and load the selected MIB variant before the RFC and Net-SNMP directories.
/usr/bin/snmptranslate -Pud -Ir -On -m 'NETFLOW-MIB' -M '/opt/observium/mibs/bdcom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'NETFLOW-MIB::netflowMIB'
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'NETFLOW-MIB' -M '/opt/observium/mibs/bdcom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NETFLOW-MIB::netflowMIB'
Imported Objects
| IF-MIB | ifIndex |
| INET-ADDRESS-MIB | InetAddress InetAddressType InetPortNumber |
| NMS-SMI | nmsMgmt |
| SNMPv2-CONF | MODULE-COMPLIANCE (no object page) OBJECT-GROUP (no object page) |
| SNMPv2-SMI | Counter32 Counter64 Gauge32 Integer32 MODULE-IDENTITY (no object page) OBJECT-TYPE (no object page) Unsigned32 |
| SNMPv2-TC | RowStatus TEXTUAL-CONVENTION (no object page) TruthValue |
.1.3.6.1.4.1.3320.9.226.1.1.1
· 1 columns
This table provides Netflow Enable information per interface.
.1.3.6.1.4.1.3320.9.226.1.1.1.1
| Column | Syntax | OID |
|---|---|---|
| netflowCacheNetflowEnable | NetflowInterfaceDirectionTypesr/w | .1.3.6.1.4.1.3320.9.226.1.1.1.1.1 |
.1.3.6.1.4.1.3320.9.226.1.1.2
· 7 columns
A table containing configuration and statistics per cache. Cache may be main cache or an aggregation cache.
.1.3.6.1.4.1.3320.9.226.1.1.2.1
| Column | Syntax | OID |
|---|---|---|
| netflowCacheType | NetflowAggregationtypes | .1.3.6.1.4.1.3320.9.226.1.1.2.1.1 |
| netflowCacheEnable | SNMPv2-TCTruthValue | .1.3.6.1.4.1.3320.9.226.1.1.2.1.2 |
| netflowCacheEntries | SNMPv2-SMIUnsigned32 | .1.3.6.1.4.1.3320.9.226.1.1.2.1.3 |
| netflowUsedEntries | SNMPv2-SMIUnsigned32 | .1.3.6.1.4.1.3320.9.226.1.1.2.1.4 |
| netflowUnUsedEntries | SNMPv2-SMIUnsigned32 | .1.3.6.1.4.1.3320.9.226.1.1.2.1.5 |
| netflowActiveTimeOut | minutesSNMPv2-SMIUnsigned32 | .1.3.6.1.4.1.3320.9.226.1.1.2.1.6 |
| netflowInactiveTimeOut | secondsSNMPv2-SMIUnsigned32r/w | .1.3.6.1.4.1.3320.9.226.1.1.2.1.7 |
.1.3.6.1.4.1.3320.9.226.1.2.1
· 1 columns
A table containing version information about export configuration per cache type.
.1.3.6.1.4.1.3320.9.226.1.2.1.1
| Column | Syntax | OID |
|---|---|---|
| netflowExportVersion | NetflowVersionTyper/w | .1.3.6.1.4.1.3320.9.226.1.2.1.1.1 |
netflowCollectorInfo
.1.3.6.1.4.1.3320.9.226.1.2
| Object | Syntax | OID |
|---|---|---|
| netflowMaxCollectors | SNMPv2-SMIUnsigned32 | .1.3.6.1.4.1.3320.9.226.1.2.2 |
.1.3.6.1.4.1.3320.9.226.1.2.3
· 4 columns
A control table to configure the collectors that the netflow packets are exported to. The number of entries that can be configured for the cache type is limited by the value of netflowMaxCollectors.
.1.3.6.1.4.1.3320.9.226.1.2.3.1
| Column | Syntax | OID |
|---|---|---|
| netflowCollectorAddressType | INET-ADDRESS-MIBInetAddressType | .1.3.6.1.4.1.3320.9.226.1.2.3.1.1 |
| netflowCollectorAddress | INET-ADDRESS-MIBInetAddressr/w | .1.3.6.1.4.1.3320.9.226.1.2.3.1.2 |
| netflowCollectorPort | INET-ADDRESS-MIBInetPortNumberr/w | .1.3.6.1.4.1.3320.9.226.1.2.3.1.3 |
| netflowCollectorStatus | SNMPv2-TCRowStatusr/w | .1.3.6.1.4.1.3320.9.226.1.2.3.1.4 |
netflowExportStatistics
.1.3.6.1.4.1.3320.9.226.1.3
| Object | Syntax | OID |
|---|---|---|
| netflowOctetsExport | SNMPv2-SMICounter32 | .1.3.6.1.4.1.3320.9.226.1.3.1 |
| netflowRecordsExported | SNMPv2-SMICounter32 | .1.3.6.1.4.1.3320.9.226.1.3.2 |
| netflowPktsExported | SNMPv2-SMICounter32 | .1.3.6.1.4.1.3320.9.226.1.3.3 |
| netflowPktsFailed | SNMPv2-SMICounter32 | .1.3.6.1.4.1.3320.9.226.1.3.4 |
netflowTemplateInfo
.1.3.6.1.4.1.3320.9.226.1.4
| Object | Syntax | OID |
|---|---|---|
| netflowTemplateOptionsFlag | SNMPv2-TCTruthValuer/w | .1.3.6.1.4.1.3320.9.226.1.4.1 |
.1.3.6.1.4.1.3320.9.226.1.4.2
· 4 columns
A control table to provide statistics of version 9 Flow and Option templates.
.1.3.6.1.4.1.3320.9.226.1.4.2.1
| Column | Syntax | OID |
|---|---|---|
| netflowTemplateType | NetflowTemplateTypes | .1.3.6.1.4.1.3320.9.226.1.4.2.1.1 |
| netflowTemplateAdded | SNMPv2-SMIUnsigned32 | .1.3.6.1.4.1.3320.9.226.1.4.2.1.2 |
| netflowTemplateActive | SNMPv2-SMIUnsigned32 | .1.3.6.1.4.1.3320.9.226.1.4.2.1.3 |
| netflowTemplateAgerPolls | SNMPv2-SMIUnsigned32 | .1.3.6.1.4.1.3320.9.226.1.4.2.1.4 |
.1.3.6.1.4.1.3320.9.226.1.4.3
· 5 columns
A control table providing information about version 9.
.1.3.6.1.4.1.3320.9.226.1.4.3.1
| Column | Syntax | OID |
|---|---|---|
| netflowTemplateExportVer9Enable | SNMPv2-TCTruthValue | .1.3.6.1.4.1.3320.9.226.1.4.3.1.1 |
| netflowTemplateExportVer9TplTimeout | minutesSNMPv2-SMIUnsigned32r/w | .1.3.6.1.4.1.3320.9.226.1.4.3.1.2 |
| netflowTemplateExportVer9OptTimeout | minutesSNMPv2-SMIUnsigned32r/w | .1.3.6.1.4.1.3320.9.226.1.4.3.1.3 |
| netflowTemplateExportVer9TplRefreshRate | packetsSNMPv2-SMIUnsigned32r/w | .1.3.6.1.4.1.3320.9.226.1.4.3.1.4 |
| netflowTemplateExportVer9OptRefreshRate | packetsSNMPv2-SMIUnsigned32r/w | .1.3.6.1.4.1.3320.9.226.1.4.3.1.5 |
Type Definitions (4)
| Type | Syntax | Constraints |
|---|---|---|
| NetflowAggregationtypes | Enumeration | 13 values |
| NetflowInterfaceDirectionTypes | Enumeration | 4 values |
| NetflowTemplateTypes | Enumeration | 2 values |
| NetflowVersionType | Enumeration | 3 values |
Dependencies (8) 6 direct · 2 transitive Show tree and compile order Hide dependency details
Each imported module is resolved in the importing module's source directory first, then through the normal default-variant rules.
Dependency tree
Dependency-first compile order
- SNMPv2-SMIrfc
- SNMPv2-TCrfc
- IANAifType-MIBrfc
- SNMPv2-CONFrfc
- SNMPv2-MIBrfc
- IF-MIBrfc
- INET-ADDRESS-MIBrfc
- NMS-SMIbdcom
- NETFLOW-MIBbdcomselected