ipNatPrIntPort
BINTEC-IPEXT-MIB ·
.0.6.1.10
Object
column r/w
Integer32
This object specifies the internal target host's port-number
for incoming packets matching the table entry. If this
object is set to -1, the target portnumber will be
taken from the original incoming packet.
No translation of the portnumber will take place in this
case. If the set of portnumbers for this table entry is
a range instead of a single portnumber, this object will
specify the base of the target range of portnumbers. The
internal portnumber will be constructed as follows:
new-target-port := old-target-port
- ipNatPrExtPort
+ ipNatPrIntPort
Context
- MIB
- BINTEC-IPEXT-MIB
- OID
.0.6.1.10- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- ipNatPresetEntry
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 'BINTEC-IPEXT-MIB' -M '/opt/observium/mibs/bintec:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BINTEC-IPEXT-MIB::ipNatPrIntPort'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'BINTEC-IPEXT-MIB' -M '/opt/observium/mibs/bintec:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BINTEC-IPEXT-MIB::ipNatPrIntPort.<ipNatPrIfIndex>.<ipNatPrProtocol>.<ipNatPrExtPort>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'BINTEC-IPEXT-MIB' -M '/opt/observium/mibs/bintec:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'BINTEC-IPEXT-MIB::ipNatPrIntPort'
Syntax
Integer32
Values & Constraints
Object Constraints
range: -1-65535