ptIfIndex

HMPRIV-MAX-MIB · .1.3.6.1.4.1.248.70.12.6.3.2.1.3

Object

column mandatory Integer32
The ifIndex of this port. This index is same as that
of ifIndex variable in the ifTable of MIB-II.
The value of this variable will range from 1 to <ifNumber>.

Context

MIB
HMPRIV-MAX-MIB
OID
.1.3.6.1.4.1.248.70.12.6.3.2.1.3
Type
column
Access
readonly
Status
mandatory
Parent
portEntry

Walk 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 'HMPRIV-MAX-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HMPRIV-MAX-MIB::ptIfIndex'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HMPRIV-MAX-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HMPRIV-MAX-MIB::ptIfIndex.<ptSlotIndex>.<ptPortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HMPRIV-MAX-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HMPRIV-MAX-MIB::ptIfIndex'

Syntax

Source
SNMPv2-SMIInteger32
Base type
Integer32

Values & Constraints

Type Constraints
range: -2147483648..2147483647