ethConfigIfIndex
RAINBOW-MIB ·
.1.3.6.1.4.1.12394.1.2.7.1.1.1.1
Object
column Integer32
Index of Ethernet Interface. In NPU and Micro Base Station, 1 is for the DATA port and 2 is for the MGMT port. In SU, 1 is for the ETHERNET port and 2 is not applicable.
Context
- MIB
- RAINBOW-MIB
- OID
.1.3.6.1.4.1.12394.1.2.7.1.1.1.1- Type
- column
- Access
- readonly
- Status
- current
- Parent
- rbEthIfConfigEntry
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 'RAINBOW-MIB' -M '/opt/observium/mibs/alvarion:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RAINBOW-MIB::ethConfigIfIndex'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'RAINBOW-MIB' -M '/opt/observium/mibs/alvarion:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RAINBOW-MIB::ethConfigIfIndex.<ethConfigIfIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'RAINBOW-MIB' -M '/opt/observium/mibs/alvarion:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'RAINBOW-MIB::ethConfigIfIndex'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 1-2