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'
Objects (72)
42 directly used by Observium
Showing 72 of 72 objects
Object legend
Object type
Icons distinguish tables, entry rows, columns, scalars, and structural nodes.
SNMPv2-TCTruthValue
Syntax
Blue badges identify the value syntax. Connected badges read as defining module and convention.
IF-MIBifIndex
Table index
Green identifies an index object; yellow names its module when the index is defined elsewhere.
r/w
deprecated
obsolete
Access and status
r/w means read-write. Grey labels mark definitions retained for compatibility.
OBS ✓
Observium use
The indicator appears only when Observium directly references that object.
ifOperStatus
.1.3.6.1.2.1…
Names and OIDs
Object names link to their detail pages. Hover or focus a linked name or badge for available definition details.
.1.3.6.1.2.1.2 |
||
.1.3.6.1.2.1.2.1 |
||
.1.3.6.1.2.1.2.2 |
||
|
|
.1.3.6.1.2.1.2.2.1 |
|
|
|
.1.3.6.1.2.1.2.2.1.1 |
|
|
|
.1.3.6.1.2.1.2.2.1.10 |
|
|
|
.1.3.6.1.2.1.2.2.1.11 |
|
|
|
.1.3.6.1.2.1.2.2.1.12 |
|
|
|
.1.3.6.1.2.1.2.2.1.13 |
|
|
|
.1.3.6.1.2.1.2.2.1.14 |
|
|
|
.1.3.6.1.2.1.2.2.1.15 |
|
|
|
.1.3.6.1.2.1.2.2.1.16 |
|
|
|
.1.3.6.1.2.1.2.2.1.17 |
|
|
|
.1.3.6.1.2.1.2.2.1.18 |
|
|
|
.1.3.6.1.2.1.2.2.1.19 |
|
|
|
.1.3.6.1.2.1.2.2.1.2 |
|
|
|
.1.3.6.1.2.1.2.2.1.20 |
|
|
|
.1.3.6.1.2.1.2.2.1.21 |
|
|
|
ObjectIdentifier
|
.1.3.6.1.2.1.2.2.1.22 |
|
|
.1.3.6.1.2.1.2.2.1.3 |
|
|
|
.1.3.6.1.2.1.2.2.1.4 |
|
|
|
.1.3.6.1.2.1.2.2.1.5 |
|
|
|
.1.3.6.1.2.1.2.2.1.6 |
|
|
|
Enumeration
|
.1.3.6.1.2.1.2.2.1.7 |
|
|
Enumeration
|
.1.3.6.1.2.1.2.2.1.8 |
|
|
.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 |
||
|
|
.1.3.6.1.2.1.31.1.1.1 |
|
|
|
.1.3.6.1.2.1.31.1.1.1.1 |
|
|
|
.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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
.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
- SNMPv2-SMIrfc
- SNMPv2-TCrfc
- IANAifType-MIBrfc
- SNMPv2-CONFrfc
- SNMPv2-MIBrfc
- IF-MIBrfcselected
Type Definitions (3)
| Integer32 |
range: 1..2147483647 Display format:
dA 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:
dThis 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:
255aThis 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
|
ifDescr ifType ifSpeed ifPhysAddress ifAdminStatus ifOperStatus ifLastChange ifLinkUpDownTrapEnable ifConnectorPresent ifHighSpeed ifName
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
|
|
|
ifInOctets ifOutOctets ifInUnknownProtos ifInErrors ifOutErrors ifMtu ifInUcastPkts ifInMulticastPkts ifInBroadcastPkts ifInDiscards ifOutUcastPkts ifOutMulticastPkts ifOutBroadcastPkts ifOutDiscards ifPromiscuousMode
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
|
|
|
ifHCInOctets ifHCOutOctets ifInOctets ifOutOctets ifInUnknownProtos ifInErrors ifOutErrors ifMtu ifInUcastPkts ifInMulticastPkts ifInBroadcastPkts ifInDiscards ifOutUcastPkts ifOutMulticastPkts ifOutBroadcastPkts ifOutDiscards ifPromiscuousMode
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
|
|
|
ifHCInUcastPkts ifHCInMulticastPkts ifHCInBroadcastPkts ifHCOutUcastPkts ifHCOutMulticastPkts ifHCOutBroadcastPkts ifHCInOctets ifHCOutOctets ifInOctets ifOutOctets ifInUnknownProtos ifInErrors ifOutErrors ifMtu ifInUcastPkts ifInMulticastPkts ifInBroadcastPkts ifInDiscards ifOutUcastPkts ifOutMulticastPkts ifOutBroadcastPkts ifOutDiscards ifPromiscuousMode
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
|
|
ifIndex ifDescr ifType ifSpeed ifPhysAddress ifAdminStatus ifOperStatus ifLastChange ifLinkUpDownTrapEnable ifConnectorPresent ifHighSpeed ifName ifNumber ifAlias ifTableLastChange
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
|
|
|
ifOldObjectsGroup
deprecated
|
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.1A compliance statement defined in a previous version of
this MIB module, for SNMP entities which have network
interfaces.
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
| Object | Access | Syntax | Description |
|---|---|---|---|
| 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.2A compliance statement defined in a previous version of
this MIB module, for SNMP entities which have network
interfaces.
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
| Object | Access | Syntax | Description |
|---|---|---|---|
| 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.3The compliance statement for SNMP entities which have
network interfaces.
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
| Object | Access | Syntax | Description |
|---|---|---|---|
| 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)
| Name | OID | Description |
|---|---|---|
.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. |