ipNatExLocalPort
BINTEC-IPEXT-MIB ·
.0.60.1.5
Object
column r/w
Integer32
This object specifies together with ipNatExLocalPortRange the range of local portnumbers, for which the table entry shall be valid. If both objects are set to -1, the entry is valid for all local portnumbers. If ipNatExLocalPortRange is set to -1, the entry is only valid when the local portnumber of a packet is equal to ipNatExLocalPort. Otherwise, the entry is valid if the local portnumber lies in the range ExLocalPort .. ExLocalPortRange.
Context
- MIB
- BINTEC-IPEXT-MIB
- OID
.0.60.1.5- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- ipNatExcludeEntry
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::ipNatExLocalPort'
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::ipNatExLocalPort.<ipNatExIfIndex>.<ipNatExProtocol>.<ipNatExLocalPort>.<ipNatExRemotePort>'
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::ipNatExLocalPort'
Syntax
Integer32
Values & Constraints
Object Constraints
range: -1-65535