genPortIfMap
CONFIG-MIB ·
avaya variant
·
.1.3.6.1.4.1.81.9.1.1.18
Object
This MIB object defines the mapping of the LANNET box port to a MIB-II interface. If the port corresponds to a stack of interfaces - like the case of ATM ports, the interface number of this port shows the lowest interface in the ifStack, the one that typically has a connector present. If value zero is returned, the mapping is impossible or unknown for this type of port.
Context
- MIB
- CONFIG-MIB
- OID
.1.3.6.1.4.1.81.9.1.1.18- Type
- column
- Access
- readonly
- Status
- mandatory
- Parent
- genPortEntry
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 'CONFIG-MIB' -M '/opt/observium/mibs/avaya:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CONFIG-MIB::genPortIfMap'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CONFIG-MIB' -M '/opt/observium/mibs/avaya:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CONFIG-MIB::genPortIfMap.<genPortGroupId>.<genPortId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CONFIG-MIB' -M '/opt/observium/mibs/avaya:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CONFIG-MIB::genPortIfMap'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647