ethIfIndex
BIANCA-ETH-IF-MIB ·
.1.3.6.1.4.1.272.4.37.1.1.1
Object
A unique value for each interface. Its value ranges
between 1000 and the value of ifNumber. The following
information is encoded in the ifIndex:
a. An ifIndex between 1000 and 9999 define
hardware interfaces with the following attributes.
b. An ifIndex greater than or equal to 10000 defines
a software interface. Examples include the
dialup-interfaces as defined in the biboPPPTable.
Context
- MIB
- BIANCA-ETH-IF-MIB
- OID
.1.3.6.1.4.1.272.4.37.1.1.1- Type
- column
- Access
- readonly
- Status
- mandatory
- Parent
- ethIfEntry
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'BIANCA-ETH-IF-MIB' -M '/opt/observium/mibs/bintec:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BIANCA-ETH-IF-MIB::ethIfIndex'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'BIANCA-ETH-IF-MIB' -M '/opt/observium/mibs/bintec:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BIANCA-ETH-IF-MIB::ethIfIndex.<ethIfIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'BIANCA-ETH-IF-MIB' -M '/opt/observium/mibs/bintec:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'BIANCA-ETH-IF-MIB::ethIfIndex'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647