IF-MIB

Download MIB Monitored by Observium

The MIB module to describe generic objects for network interface sub-layers. This MIB is an updated version of MIB-II's ifTable, and incorporates the extensions defined in RFC 1229.

Observium actively monitors this MIB Visit Observium
Observium uses this MIB in discovery or polling workflows on applicable devices.
Discovery Inventory Polling Ports Sensors
Source file
IF-MIB
Last revised
Identity
ifMIB
Base OID
1.3.6.1.2.1.31
Objects
3 scalars · 53 columns
Tables
5 tables
Net-SNMP examples using the rfc MIB directory

These commands use the standard Observium installation path and load the selected MIB variant before the RFC and Net-SNMP directories.

Translate the module identity
/usr/bin/snmptranslate -Pud -Ir -On -m 'IF-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'IF-MIB::ifMIB'
Walk the MIB subtree
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'IF-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'IF-MIB::ifMIB'
Command help
Imported Objects
IANAifType-MIB IANAifType
SNMPv2-CONF MODULE-COMPLIANCE (no object page) NOTIFICATION-GROUP (no object page) OBJECT-GROUP (no object page)
SNMPv2-MIB snmpTraps
SNMPv2-SMI Counter32 Counter64 Gauge32 Integer32 mib-2 MODULE-IDENTITY (no object page) NOTIFICATION-TYPE (no object page) OBJECT-TYPE (no object page) TimeTicks
SNMPv2-TC AutonomousType DisplayString PhysAddress RowStatus TestAndIncr TEXTUAL-CONVENTION (no object page) TimeStamp TruthValue

Objects

OBS ✓36

Scalarsinterfaces

.1.3.6.1.2.1.2
Object Syntax OID
ifNumberSNMPv2-SMIInteger32.1.3.6.1.2.1.2.1
.1.3.6.1.2.1.2.2 · 22 columns
OID Tree

A list of interface entries. The number of entries is given by the value of ifNumber.

ifEntry .1.3.6.1.2.1.2.2.1
Index ifIndex
Column Syntax OID
ifIndexInterfaceIndex.1.3.6.1.2.1.2.2.1.1
ifDescrOBS ✓SNMPv2-TCDisplayString.1.3.6.1.2.1.2.2.1.2
ifTypeOBS ✓IANAifType-MIBIANAifType.1.3.6.1.2.1.2.2.1.3
ifMtuOBS ✓SNMPv2-SMIInteger32.1.3.6.1.2.1.2.2.1.4
ifSpeedOBS ✓SNMPv2-SMIGauge32.1.3.6.1.2.1.2.2.1.5
ifPhysAddressOBS ✓SNMPv2-TCPhysAddress.1.3.6.1.2.1.2.2.1.6
ifAdminStatusOBS ✓Enumerationr/w.1.3.6.1.2.1.2.2.1.7
ifOperStatusOBS ✓Enumeration.1.3.6.1.2.1.2.2.1.8
ifLastChangeOBS ✓SNMPv2-SMITimeTicks.1.3.6.1.2.1.2.2.1.9
ifInOctetsOBS ✓SNMPv2-SMICounter32.1.3.6.1.2.1.2.2.1.10
ifInUcastPktsOBS ✓SNMPv2-SMICounter32.1.3.6.1.2.1.2.2.1.11
ifInNUcastPktsOBS ✓deprecated
SNMPv2-SMICounter32.1.3.6.1.2.1.2.2.1.12
ifInDiscardsOBS ✓SNMPv2-SMICounter32.1.3.6.1.2.1.2.2.1.13
ifInErrorsOBS ✓SNMPv2-SMICounter32.1.3.6.1.2.1.2.2.1.14
ifInUnknownProtosSNMPv2-SMICounter32.1.3.6.1.2.1.2.2.1.15
ifOutOctetsOBS ✓SNMPv2-SMICounter32.1.3.6.1.2.1.2.2.1.16
ifOutUcastPktsOBS ✓SNMPv2-SMICounter32.1.3.6.1.2.1.2.2.1.17
ifOutNUcastPktsOBS ✓deprecated
SNMPv2-SMICounter32.1.3.6.1.2.1.2.2.1.18
ifOutDiscardsOBS ✓SNMPv2-SMICounter32.1.3.6.1.2.1.2.2.1.19
ifOutErrorsOBS ✓SNMPv2-SMICounter32.1.3.6.1.2.1.2.2.1.20
ifOutQLendeprecated
SNMPv2-SMIGauge32.1.3.6.1.2.1.2.2.1.21
ifSpecificdeprecated
ObjectIdentifier.1.3.6.1.2.1.2.2.1.22
.1.3.6.1.2.1.31.1.1 · 19 columns
OID Tree

A list of interface entries. The number of entries is given by the value of ifNumber. This table contains additional objects for the interface table.

ifXEntry .1.3.6.1.2.1.31.1.1.1
Augments ifEntry Index ifIndex
Column Syntax OID
ifNameOBS ✓SNMPv2-TCDisplayString.1.3.6.1.2.1.31.1.1.1.1
ifInMulticastPktsOBS ✓SNMPv2-SMICounter32.1.3.6.1.2.1.31.1.1.1.2
ifInBroadcastPktsOBS ✓SNMPv2-SMICounter32.1.3.6.1.2.1.31.1.1.1.3
ifOutMulticastPktsOBS ✓SNMPv2-SMICounter32.1.3.6.1.2.1.31.1.1.1.4
ifOutBroadcastPktsOBS ✓SNMPv2-SMICounter32.1.3.6.1.2.1.31.1.1.1.5
ifHCInOctetsOBS ✓SNMPv2-SMICounter64.1.3.6.1.2.1.31.1.1.1.6
ifHCInUcastPktsOBS ✓SNMPv2-SMICounter64.1.3.6.1.2.1.31.1.1.1.7
ifHCInMulticastPktsOBS ✓SNMPv2-SMICounter64.1.3.6.1.2.1.31.1.1.1.8
ifHCInBroadcastPktsOBS ✓SNMPv2-SMICounter64.1.3.6.1.2.1.31.1.1.1.9
ifHCOutOctetsOBS ✓SNMPv2-SMICounter64.1.3.6.1.2.1.31.1.1.1.10
ifHCOutUcastPktsOBS ✓SNMPv2-SMICounter64.1.3.6.1.2.1.31.1.1.1.11
ifHCOutMulticastPktsOBS ✓SNMPv2-SMICounter64.1.3.6.1.2.1.31.1.1.1.12
ifHCOutBroadcastPktsOBS ✓SNMPv2-SMICounter64.1.3.6.1.2.1.31.1.1.1.13
ifLinkUpDownTrapEnableEnumerationr/w.1.3.6.1.2.1.31.1.1.1.14
ifHighSpeedOBS ✓SNMPv2-SMIGauge32.1.3.6.1.2.1.31.1.1.1.15
ifPromiscuousModeOBS ✓SNMPv2-TCTruthValuer/w.1.3.6.1.2.1.31.1.1.1.16
ifConnectorPresentOBS ✓SNMPv2-TCTruthValue.1.3.6.1.2.1.31.1.1.1.17
ifAliasOBS ✓SNMPv2-TCDisplayStringr/w.1.3.6.1.2.1.31.1.1.1.18
ifCounterDiscontinuityTimeSNMPv2-TCTimeStamp.1.3.6.1.2.1.31.1.1.1.19
.1.3.6.1.2.1.31.1.2 · 3 columns
OID Tree

The table containing information on the relationships between the multiple sub-layers of network interfaces. In particular, it contains information on which sub-layers run 'on top of' which other sub-layers, where each…

ifStackEntry .1.3.6.1.2.1.31.1.2.1
Column Syntax OID
ifStackHigherLayerInterfaceIndexOrZero.1.3.6.1.2.1.31.1.2.1.1
ifStackLowerLayerInterfaceIndexOrZero.1.3.6.1.2.1.31.1.2.1.2
ifStackStatusOBS ✓SNMPv2-TCRowStatusr/w.1.3.6.1.2.1.31.1.2.1.3

ifTestTable

deprecated
.1.3.6.1.2.1.31.1.3 · 6 columns
OID Tree

This table contains one entry per interface. It defines objects which allow a network manager to instruct an agent to test an interface for various faults. Tests for an interface are defined in the media-specific MIB …

ifTestEntry .1.3.6.1.2.1.31.1.3.1
Augments ifEntry Index ifIndex
Column Syntax OID
ifTestIddeprecated
SNMPv2-TCTestAndIncrr/w.1.3.6.1.2.1.31.1.3.1.1
ifTestStatusdeprecated
Enumerationr/w.1.3.6.1.2.1.31.1.3.1.2
ifTestTypedeprecated
SNMPv2-TCAutonomousTyper/w.1.3.6.1.2.1.31.1.3.1.3
ifTestResultdeprecated
Enumeration.1.3.6.1.2.1.31.1.3.1.4
ifTestCodedeprecated
ObjectIdentifier.1.3.6.1.2.1.31.1.3.1.5
ifTestOwnerdeprecated
OwnerStringr/w.1.3.6.1.2.1.31.1.3.1.6
.1.3.6.1.2.1.31.1.4 · 3 columns
OID Tree

This table contains an entry for each address (broadcast, multicast, or uni-cast) for which the system will receive packets/frames on a particular interface, except as follows:

…

ifRcvAddressEntry .1.3.6.1.2.1.31.1.4.1
Column Syntax OID
ifRcvAddressAddressSNMPv2-TCPhysAddress.1.3.6.1.2.1.31.1.4.1.1
ifRcvAddressStatusSNMPv2-TCRowStatusr/w.1.3.6.1.2.1.31.1.4.1.2
ifRcvAddressTypeEnumerationr/w.1.3.6.1.2.1.31.1.4.1.3

ScalarsifMIBObjects

ifMIB · .1.3.6.1.2.1.31.1
Object Syntax OID
ifTableLastChangeSNMPv2-SMITimeTicks.1.3.6.1.2.1.31.1.5
ifStackLastChangeSNMPv2-SMITimeTicks.1.3.6.1.2.1.31.1.6

Notifications / Traps (2)

NotificationVariable bindingsOID
linkDown
  1. ifIndex
  2. ifAdminStatus
  3. ifOperStatus
.1.3.6.1.6.3.1.1.5.3
linkUp
  1. ifIndex
  2. ifAdminStatus
  3. ifOperStatus
.1.3.6.1.6.3.1.1.5.4

Type Definitions (3)

TypeSyntaxConstraints
InterfaceIndex Integer32 1 constraints
InterfaceIndexOrZero Integer32 1 constraints
OwnerString deprecated OctetString 1 constraints

Conformance Groups (14)

ifGeneralGroup deprecated .1.3.6.1.2.1.31.2.1.1 Members (11)
ifFixedLengthGroup .1.3.6.1.2.1.31.2.1.2 Members (5)
ifHCFixedLengthGroup .1.3.6.1.2.1.31.2.1.3 Members (7)
ifPacketGroup .1.3.6.1.2.1.31.2.1.4 Members (15)
ifHCPacketGroup .1.3.6.1.2.1.31.2.1.5 Members (17)
ifVHCPacketGroup .1.3.6.1.2.1.31.2.1.6 Members (23)
ifRcvAddressGroup .1.3.6.1.2.1.31.2.1.7 Members (2)
ifTestGroup deprecated .1.3.6.1.2.1.31.2.1.8 Members (6)
ifStackGroup deprecated .1.3.6.1.2.1.31.2.1.9 Members (1)
ifGeneralInformationGroup .1.3.6.1.2.1.31.2.1.10 Members (15)
ifStackGroup2 .1.3.6.1.2.1.31.2.1.11 Members (2)
ifOldObjectsGroup deprecated .1.3.6.1.2.1.31.2.1.12 Members (4)
ifCounterDiscontinuityGroup .1.3.6.1.2.1.31.2.1.13 Members (1)
linkUpDownNotificationsGroup .1.3.6.1.2.1.31.2.1.14 Notifications (2)

Compliance Statements (3)

ifCompliance deprecated .1.3.6.1.2.1.31.2.2.1
ifCompliance2 deprecated .1.3.6.1.2.1.31.2.2.2
ifCompliance3 .1.3.6.1.2.1.31.2.2.3
Dependencies (5) 5 direct 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
  1. SNMPv2-SMIrfc
  2. SNMPv2-TCrfc
  3. IANAifType-MIBrfc
  4. SNMPv2-CONFrfc
  5. SNMPv2-MIBrfc
  6. IF-MIBrfcselected