natAddrPortBindLocalPort
NAT-MIB ·
.1.3.6.1.2.1.123.1.8.1.3
Object
For a protocol value TCP or UDP, this object represents
the private-realm-specific port number. On the other
hand, for ICMP a bind is created only for query/response-
type ICMP messages such as ICMP echo, Timestamp, and
Information request messages, and this object represents
the private-realm-specific identifier in the ICMP
message, as defined in RFC 792 for ICMPv4 and in RFC
4443 for ICMPv6.
This object, together with natAddrPortBindProtocol,
natAddrPortBindLocalAddrType, and
natAddrPortBindLocalAddr, constitutes a session endpoint
in the private realm. A bind entry binds a private-
realm-specific endpoint to a public-realm-specific
endpoint, as represented by the tuple of
(natAddrPortBindGlobalPort, natAddrPortBindProtocol,
natAddrPortBindGlobalAddrType, and
natAddrPortBindGlobalAddr).
Deprecated in favor of NATV2-MIB.
Context
- MIB
- NAT-MIB
- OID
.1.3.6.1.2.1.123.1.8.1.3- Type
- column
- Access
- noaccess
- Status
- deprecated
- Parent
- natAddrPortBindEntry
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 'NAT-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NAT-MIB::natAddrPortBindLocalPort'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'NAT-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NAT-MIB::natAddrPortBindLocalPort.<ifIndex>.<natAddrPortBindLocalAddrType>.<natAddrPortBindLocalAddr>.<natAddrPortBindLocalPort>.<natAddrPortBindProtocol>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'NAT-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'NAT-MIB::natAddrPortBindLocalPort'
Syntax
- Source
- INET-ADDRESS-MIBInetPortNumber
- Base type
Unsigned32
Values & Constraints
Type Constraints
range: 0..65535