NAT-MIB :: natSessionPublicSrcPort

MIB Reference — IPNetwork Monitor · Updated September 14, 2026

All MIBsNAT-MIBnatSessionPublicSrcPort

natSessionPublicSrcPort

Module: NAT-MIB

OID (symbolic): NAT-MIB::natSessionPublicSrcPort

OID (numeric): 1.3.6.1.2.1.123.1.9.1.17

Node type: OBJECT-TYPE

Type: InetPortNumber

Access: read-only

Description: When the protocol value is TCP or UDP, this object represents the source port in the first packet of session while in public-realm. On the other hand, when protocol is ICMP, a NAT session is created only for query/response-type ICMP messages such as ICMP echo, Timestamp, and Information request messages, and this

object represents the public-realm-specific identifier in the ICMP message, as defined in RFC 792 for ICMPv4 and in RFC 4443 for ICMPv6.

The value of this object must be zero when the natSessionPrivateSrcEPBindId object has a zero value and natSessionPrivateSrcEPBindMode is set to 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.

What is natSessionPublicSrcPort?

For TCP/UDP, the public-side source port of the session after translation; for ICMP, the public-side identifier used in the translated echo/timestamp/info-request message. Deprecated in favor of NATV2-MIB.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.2.1.123.1.9.1.17
snmpwalk -v2c -c public <target> NAT-MIB::natSessionPublicSrcPort

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.2.1.123.1.9.1.17.1
snmpget -v2c -c public <target> NAT-MIB::natSessionPublicSrcPort.1

Start monitoring Vendor-neutral IETF standard (NAT-capable router, firewall, or CGN appliance) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the NAT-MIB::natSessionPublicSrcPort OID value, configure state conditions and alerts, and monitor any Vendor-neutral IETF standard (NAT-capable router, firewall, or CGN appliance) from a single console.

OID Breakdown

Upper-level ancestors (6 from the standard OID tree / other modules)
Numeric OIDNameModule
1isoLANART-AGENT
1.3orgAirPair-MIB
1.3.6dodAirPair-MIB
1.3.6.1internetAirPair-MIB
1.3.6.1.2mgmtAXON-MIB
1.3.6.1.2.1mib_2AXON-MIB
Numeric OIDNameModule
1.3.6.1.2.1.123natMIBNAT-MIB
1.3.6.1.2.1.123.1natMIBObjectsNAT-MIB
1.3.6.1.2.1.123.1.9natSessionTableNAT-MIB
1.3.6.1.2.1.123.1.9.1natSessionEntryNAT-MIB
1.3.6.1.2.1.123.1.9.1.17natSessionPublicSrcPortNAT-MIB