netifIndex
NETAPP-MIB ·
.1.3.6.1.4.1.789.1.22.1.2.1.1
Object
column Integer32
A unique value for each interface. For clustered Data ONTAP, the high-order 16-bits denote the node identifier and the low-order 16-bits denote the interface index within the node. For Data ONTAP operating in 7-mode, it ranges between 1 and the ifNumber value. The value for each interface must remain constant at least from one re-initialization of the entity's network management system to the next re-initialization.
Context
- MIB
- NETAPP-MIB
- OID
.1.3.6.1.4.1.789.1.22.1.2.1.1- Type
- column
- Access
- readonly
- Status
- current
- Parent
- netifEntry
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 'NETAPP-MIB' -M '/opt/observium/mibs/netapp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NETAPP-MIB::netifIndex'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'NETAPP-MIB' -M '/opt/observium/mibs/netapp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NETAPP-MIB::netifIndex.<netifIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'NETAPP-MIB' -M '/opt/observium/mibs/netapp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'NETAPP-MIB::netifIndex'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 1-2147483647