natSessionPublicDstPort
NAT-MIB ·
.1.3.6.1.2.1.123.1.9.1.19
Object
When the protocol value is TCP or UDP, this object
represents the destination port in the first packet of
session while in the public realm. On the other hand, when
the protocol is ICMP, this object is not relevant for
translation and should be zero.
The value of this object must be zero when the
natSessionPrivateDstEPBindId object has a zero value
and natSessionPrivateDstEPBindMode is
addressPortBind(2). In such a scenario, the NAT
session lookup will match any port number to this
field.
The value of this object must be zero when the object
is not a representative field (SrcPort, DstPort, or
ICMP identifier) of the session tuple in either the
public realm or the private realm.
Deprecated in favor of NATV2-MIB.
Context
- MIB
- NAT-MIB
- OID
.1.3.6.1.2.1.123.1.9.1.19- Type
- column
- Access
- readonly
- Status
- deprecated
- Parent
- natSessionEntry
- Groups
- 1
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::natSessionPublicDstPort'
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::natSessionPublicDstPort.<ifIndex>.<natSessionIndex>'
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::natSessionPublicDstPort'
Syntax
- Source
- INET-ADDRESS-MIBInetPortNumber
- Base type
Unsigned32
Values & Constraints
Type Constraints
range: 0..65535
Conformance
Member of