IF-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
Observium uses this MIB in discovery or polling workflows on applicable devices.
Discovery Inventory Polling Ports Sensors
Explore Observium network monitoring
Source file
IF-MIB
Last revised
Identity
ifMIB
Base OID
1.3.6.1.2.1.31
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
Net-SNMP examples using the rfc MIB directory Show commands

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'
How SNMP, Net-SNMP, MIB paths, and variants work
Objects (72)
42 directly used by Observium
.1.3.6.1.2.1.2
.1.3.6.1.2.1.2.1
.1.3.6.1.2.1.2.2
ifEntry OBS ✓
.1.3.6.1.2.1.2.2.1
ifIndex OBS ✓
.1.3.6.1.2.1.2.2.1.1
ifInOctets OBS ✓
.1.3.6.1.2.1.2.2.1.10
ifInUcastPkts OBS ✓
.1.3.6.1.2.1.2.2.1.11
ifInNUcastPkts OBS ✓ deprecated
.1.3.6.1.2.1.2.2.1.12
ifInDiscards OBS ✓
.1.3.6.1.2.1.2.2.1.13
ifInErrors OBS ✓
.1.3.6.1.2.1.2.2.1.14
.1.3.6.1.2.1.2.2.1.15
ifOutOctets OBS ✓
.1.3.6.1.2.1.2.2.1.16
ifOutUcastPkts OBS ✓
.1.3.6.1.2.1.2.2.1.17
ifOutNUcastPkts OBS ✓ deprecated
.1.3.6.1.2.1.2.2.1.18
ifOutDiscards OBS ✓
.1.3.6.1.2.1.2.2.1.19
ifDescr OBS ✓
.1.3.6.1.2.1.2.2.1.2
ifOutErrors OBS ✓
.1.3.6.1.2.1.2.2.1.20
ifOutQLen OBS ✓ deprecated
.1.3.6.1.2.1.2.2.1.21
ifSpecific deprecated
ObjectIdentifier
.1.3.6.1.2.1.2.2.1.22
ifType OBS ✓
.1.3.6.1.2.1.2.2.1.3
ifMtu OBS ✓
.1.3.6.1.2.1.2.2.1.4
ifSpeed OBS ✓
.1.3.6.1.2.1.2.2.1.5
ifPhysAddress OBS ✓
.1.3.6.1.2.1.2.2.1.6
ifAdminStatus OBS ✓ r/w
Enumeration
.1.3.6.1.2.1.2.2.1.7
ifOperStatus OBS ✓
Enumeration
.1.3.6.1.2.1.2.2.1.8
ifLastChange OBS ✓
.1.3.6.1.2.1.2.2.1.9
.1.3.6.1.2.1.31
.1.3.6.1.2.1.31.1
.1.3.6.1.2.1.31.1.1
ifXEntry OBS ✓
.1.3.6.1.2.1.31.1.1.1
ifName OBS ✓
.1.3.6.1.2.1.31.1.1.1.1
ifHCOutOctets OBS ✓
.1.3.6.1.2.1.31.1.1.1.10
.1.3.6.1.2.1.31.1.1.1.11
.1.3.6.1.2.1.31.1.1.1.12
.1.3.6.1.2.1.31.1.1.1.13
Enumeration
.1.3.6.1.2.1.31.1.1.1.14
ifHighSpeed OBS ✓
.1.3.6.1.2.1.31.1.1.1.15
ifPromiscuousMode OBS ✓ r/w
.1.3.6.1.2.1.31.1.1.1.16
.1.3.6.1.2.1.31.1.1.1.17
ifAlias OBS ✓ r/w
.1.3.6.1.2.1.31.1.1.1.18
.1.3.6.1.2.1.31.1.1.1.19
.1.3.6.1.2.1.31.1.1.1.2
.1.3.6.1.2.1.31.1.1.1.3
.1.3.6.1.2.1.31.1.1.1.4
.1.3.6.1.2.1.31.1.1.1.5
ifHCInOctets OBS ✓
.1.3.6.1.2.1.31.1.1.1.6
ifHCInUcastPkts OBS ✓
.1.3.6.1.2.1.31.1.1.1.7
.1.3.6.1.2.1.31.1.1.1.8
.1.3.6.1.2.1.31.1.1.1.9
.1.3.6.1.2.1.31.1.2
.1.3.6.1.2.1.31.1.2.1
.1.3.6.1.2.1.31.1.2.1.1
.1.3.6.1.2.1.31.1.2.1.2
ifStackStatus OBS ✓ r/w
.1.3.6.1.2.1.31.1.2.1.3
ifTestTable deprecated
.1.3.6.1.2.1.31.1.3
ifTestEntry deprecated
.1.3.6.1.2.1.31.1.3.1
ifTestId deprecated r/w
.1.3.6.1.2.1.31.1.3.1.1
ifTestStatus deprecated r/w
Enumeration
.1.3.6.1.2.1.31.1.3.1.2
ifTestType deprecated r/w
.1.3.6.1.2.1.31.1.3.1.3
ifTestResult deprecated
Enumeration
.1.3.6.1.2.1.31.1.3.1.4
ifTestCode deprecated
ObjectIdentifier
.1.3.6.1.2.1.31.1.3.1.5
ifTestOwner deprecated r/w
.1.3.6.1.2.1.31.1.3.1.6
.1.3.6.1.2.1.31.1.4
.1.3.6.1.2.1.31.1.4.1
.1.3.6.1.2.1.31.1.4.1.1
.1.3.6.1.2.1.31.1.4.1.2
Enumeration
.1.3.6.1.2.1.31.1.4.1.3
.1.3.6.1.2.1.31.1.5
.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
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
Type Definitions (3)
Integer32 range: 1..2147483647
Display format: d
A unique value, greater than zero, for each interface or
interface sub-layer in the managed system. It is
recommended that values are assigned contiguously starting
from 1. The value for each interface sub-layer must remain
constant at least from one re-initialization of the entity's
network management system to the next re-initialization.
Integer32 range: 0..2147483647
Display format: d
This textual convention is an extension of the
InterfaceIndex convention. The latter defines a greater
than zero value used to identify an interface or interface
sub-layer in the managed system. This extension permits the
additional value of zero. the value zero is object-specific
and must therefore be defined as part of the description of
any object which uses this syntax. Examples of the usage of
zero might include situations where interface was unknown,
or when none or all interfaces need to be referenced.
OwnerString deprecated
OctetString range: 0..255
Display format: 255a
This data type is used to model an administratively
assigned name of the owner of a resource. This information
is taken from the NVT ASCII character set. It is suggested
that this name contain one or more of the following: ASCII
form of the manager station's transport address, management
station name (e.g., domain name), network management
personnel's name, location, or phone number. In some cases
the agent itself will be the owner of an entry. In these
cases, this string shall be set to a string starting with
'agent'.
Conformance Groups (14)
ifGeneralGroup deprecated
A collection of objects deprecated in favour of
ifGeneralInformationGroup.
.1.3.6.1.2.1.31.2.1.1
A collection of objects providing information specific to
non-high speed (non-high speed interfaces transmit and
receive at speeds less than or equal to 20,000,000
bits/second) character-oriented or fixed-length-transmission
network interfaces.
.1.3.6.1.2.1.31.2.1.2
A collection of objects providing information specific to
high speed (greater than 20,000,000 bits/second) character-
oriented or fixed-length-transmission network interfaces.
.1.3.6.1.2.1.31.2.1.3
A collection of objects providing information specific to
non-high speed (non-high speed interfaces transmit and
receive at speeds less than or equal to 20,000,000
bits/second) packet-oriented network interfaces.
.1.3.6.1.2.1.31.2.1.4
A collection of objects providing information specific to
high speed (greater than 20,000,000 bits/second but less
than or equal to 650,000,000 bits/second) packet-oriented
network interfaces.
.1.3.6.1.2.1.31.2.1.5
A collection of objects providing information specific to
higher speed (greater than 650,000,000 bits/second) packet-
oriented network interfaces.
.1.3.6.1.2.1.31.2.1.6
A collection of objects providing information on the
multiple addresses which an interface receives.
.1.3.6.1.2.1.31.2.1.7
ifTestGroup deprecated
A collection of objects providing the ability to invoke
tests on an interface.
.1.3.6.1.2.1.31.2.1.8
ifStackGroup deprecated
The previous collection of objects providing information on
the layering of MIB-II interfaces.
.1.3.6.1.2.1.31.2.1.9
A collection of objects providing information applicable to
all network interfaces.
.1.3.6.1.2.1.31.2.1.10
A collection of objects providing information on the
layering of MIB-II interfaces.
.1.3.6.1.2.1.31.2.1.11
The collection of objects deprecated from the original MIB-
II interfaces group.
.1.3.6.1.2.1.31.2.1.12
A collection of objects providing information specific to
interface counter discontinuities.
.1.3.6.1.2.1.31.2.1.13
The notifications which indicate specific changes in the
value of ifOperStatus.
.1.3.6.1.2.1.31.2.1.14
Compliance Statements (3)

OID .1.3.6.1.2.1.31.2.2.1
A compliance statement defined in a previous version of
this MIB module, for SNMP entities which have network
interfaces.
Required groups
mandatory ifGeneralGroup
mandatory ifStackGroup
optional ifFixedLengthGroup This group is mandatory for all network interfaces which
are character-oriented or transmit data in fixed-length
transmission units.
optional ifHCFixedLengthGroup This group is mandatory only for those network interfaces
which are character-oriented or transmit data in fixed-
length transmission units, and for which the value of the
corresponding instance of ifSpeed is greater than 20,000,000
bits/second.
optional ifPacketGroup This group is mandatory for all network interfaces which
are packet-oriented.
optional ifHCPacketGroup This group is mandatory only for those network interfaces
which are packet-oriented and for which the value of the
corresponding instance of ifSpeed is greater than
650,000,000 bits/second.
optional ifTestGroup This group is optional. Media-specific MIBs which require
interface tests are strongly encouraged to use this group
for invoking tests and reporting results. A medium specific
MIB which has mandatory tests may make implementation of

this group mandatory.
optional ifRcvAddressGroup The applicability of this group MUST be defined by the
media-specific MIBs. Media-specific MIBs must define the
exact meaning, use, and semantics of the addresses in this
group.
Object refinements
ObjectAccessSyntaxDescription
ifLinkUpDownTrapEnable readonly
Write access is not required.
ifPromiscuousMode readonly
Write access is not required.
ifStackStatus readonly
active(1)
Write access is not required, and only one of the six
enumerated values for the RowStatus textual convention need
be supported, specifically: active(1).
ifAdminStatus readonly
Enumeration
up(1), down(2)
Write access is not required, nor is support for the value
testing(3).

OID .1.3.6.1.2.1.31.2.2.2
A compliance statement defined in a previous version of
this MIB module, for SNMP entities which have network
interfaces.
Required groups
mandatory ifGeneralInformationGroup
mandatory ifStackGroup2
mandatory ifCounterDiscontinuityGroup
optional ifFixedLengthGroup This group is mandatory for all network interfaces which
are character-oriented or transmit data in fixed-length
transmission units.
optional ifHCFixedLengthGroup This group is mandatory only for those network interfaces
which are character-oriented or transmit data in fixed-
length transmission units, and for which the value of the
corresponding instance of ifSpeed is greater than 20,000,000
bits/second.
optional ifPacketGroup This group is mandatory for all network interfaces which
are packet-oriented.
optional ifHCPacketGroup This group is mandatory only for those network interfaces
which are packet-oriented and for which the value of the
corresponding instance of ifSpeed is greater than
650,000,000 bits/second.
optional ifRcvAddressGroup The applicability of this group MUST be defined by the
media-specific MIBs. Media-specific MIBs must define the
exact meaning, use, and semantics of the addresses in this
group.
Object refinements
ObjectAccessSyntaxDescription
ifLinkUpDownTrapEnable readonly
Write access is not required.
ifPromiscuousMode readonly
Write access is not required.
ifStackStatus readonly
active(1)
Write access is not required, and only one of the six
enumerated values for the RowStatus textual convention need
be supported, specifically: active(1).
ifAdminStatus readonly
Enumeration
up(1), down(2)
Write access is not required, nor is support for the value
testing(3).
ifAlias readonly
Write access is not required.

OID .1.3.6.1.2.1.31.2.2.3
The compliance statement for SNMP entities which have
network interfaces.
Required groups
mandatory ifGeneralInformationGroup
mandatory linkUpDownNotificationsGroup
optional ifFixedLengthGroup This group is mandatory for those network interfaces which
are character-oriented or transmit data in fixed-length
transmission units, and for which the value of the
corresponding instance of ifSpeed is less than or equal to
20,000,000 bits/second.
optional ifHCFixedLengthGroup This group is mandatory for those network interfaces which
are character-oriented or transmit data in fixed-length
transmission units, and for which the value of the
corresponding instance of ifSpeed is greater than 20,000,000
bits/second.
optional ifPacketGroup This group is mandatory for those network interfaces which
are packet-oriented, and for which the value of the
corresponding instance of ifSpeed is less than or equal to
20,000,000 bits/second.
optional ifHCPacketGroup This group is mandatory only for those network interfaces
which are packet-oriented and for which the value of the
corresponding instance of ifSpeed is greater than 20,000,000
bits/second but less than or equal to 650,000,000
bits/second.
optional ifVHCPacketGroup This group is mandatory only for those network interfaces
which are packet-oriented and for which the value of the
corresponding instance of ifSpeed is greater than
650,000,000 bits/second.
optional ifCounterDiscontinuityGroup This group is mandatory for those network interfaces that
are required to maintain counters (i.e., those for which one
of the ifFixedLengthGroup, ifHCFixedLengthGroup,
ifPacketGroup, ifHCPacketGroup, or ifVHCPacketGroup is
mandatory).
optional ifRcvAddressGroup The applicability of this group MUST be defined by the
media-specific MIBs. Media-specific MIBs must define the
exact meaning, use, and semantics of the addresses in this
group.
Object refinements
ObjectAccessSyntaxDescription
ifLinkUpDownTrapEnable readonly
Write access is not required.
ifPromiscuousMode readonly
Write access is not required.
ifAdminStatus readonly
Enumeration
up(1), down(2)
Write access is not required, nor is support for the value
testing(3).
ifAlias readonly
Write access is not required.
Notifications / Traps (2)
NameOIDDescription
.1.3.6.1.6.3.1.1.5.3
A linkDown trap signifies that the SNMP entity, acting in
an agent role, has detected that the ifOperStatus object for
one of its communication links is about to enter the down
state from some other state (but not from the notPresent
state). This other state is indicated by the included value
of ifOperStatus.
.1.3.6.1.6.3.1.1.5.4
A linkUp trap signifies that the SNMP entity, acting in an
agent role, has detected that the ifOperStatus object for
one of its communication links left the down state and
transitioned into some other state (but not into the
notPresent state). This other state is indicated by the
included value of ifOperStatus.