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
.1.3.6.1.2.1.2
ifNumberSNMPv2-SMIInteger32.1.3.6.1.2.1.2.1
ifTable.1.3.6.1.2.1.2.2
ifEntry.1.3.6.1.2.1.2.2.1
ifIndexInterfaceIndex.1.3.6.1.2.1.2.2.1.1
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
ifDescrOBS ✓SNMPv2-TCDisplayString.1.3.6.1.2.1.2.2.1.2
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
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 ✓r/w
Enumeration.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
ifMIB.1.3.6.1.2.1.31
.1.3.6.1.2.1.31.1
ifXTable.1.3.6.1.2.1.31.1.1
ifXEntry.1.3.6.1.2.1.31.1.1.1
ifNameOBS ✓SNMPv2-TCDisplayString.1.3.6.1.2.1.31.1.1.1.1
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
Enumeration.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
SNMPv2-TCTruthValue.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 ✓r/w
SNMPv2-TCDisplayString.1.3.6.1.2.1.31.1.1.1.18
ifCounterDiscontinuityTimeSNMPv2-TCTimeStamp.1.3.6.1.2.1.31.1.1.1.19
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
ifStackTable.1.3.6.1.2.1.31.1.2
ifStackEntry.1.3.6.1.2.1.31.1.2.1
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 ✓r/w
SNMPv2-TCRowStatus.1.3.6.1.2.1.31.1.2.1.3
ifTestTabledeprecated
.1.3.6.1.2.1.31.1.3
ifTestEntrydeprecated
.1.3.6.1.2.1.31.1.3.1
ifTestIddeprecatedr/w
SNMPv2-TCTestAndIncr.1.3.6.1.2.1.31.1.3.1.1
ifTestStatusdeprecatedr/w
Enumeration.1.3.6.1.2.1.31.1.3.1.2
ifTestTypedeprecatedr/w
SNMPv2-TCAutonomousType.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
ifTestOwnerdeprecatedr/w
OwnerString.1.3.6.1.2.1.31.1.3.1.6
ifRcvAddressTable.1.3.6.1.2.1.31.1.4
ifRcvAddressEntry.1.3.6.1.2.1.31.1.4.1
ifRcvAddressAddressSNMPv2-TCPhysAddress.1.3.6.1.2.1.31.1.4.1.1
SNMPv2-TCRowStatus.1.3.6.1.2.1.31.1.4.1.2
Enumeration.1.3.6.1.2.1.31.1.4.1.3
ifTableLastChangeSNMPv2-SMITimeTicks.1.3.6.1.2.1.31.1.5
ifStackLastChangeSNMPv2-SMITimeTicks.1.3.6.1.2.1.31.1.6
.1.3.6.1.2.1.31.2
.1.3.6.1.2.1.31.2.1
.1.3.6.1.2.1.31.2.2

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