All MIBs › IP-NAT-MIB › ipNatSessTransPort
ipNatSessTransPort
Module: IP-NAT-MIB
OID (symbolic): IP-NAT-MIB::ipNatSessTransPort
OID (numeric): 1.3.6.1.4.1.429.4.78.2.1.9
Node type: OBJECT-TYPE
Type: Integer32
Access: read-only
Description: For UDP and TCP NAT sessions, the translation port number of this NAT session. For neither UDP nor TCP NAT sessions this value is 0.
What is ipNatSessTransPort?
This field reports the translated port number assigned to this NAT session, or 0 if the session isn't TCP or UDP. Admins use this to know the exact external port mapped to an internal connection, useful for matching up with firewall logs on the other side. For example, a translation port of 40001 shows the external-facing port this session's traffic was remapped to.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.429.4.78.2.1.9 snmpwalk -v2c -c public <target> IP-NAT-MIB::ipNatSessTransPort
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.429.4.78.2.1.9.1 snmpget -v2c -c public <target> IP-NAT-MIB::ipNatSessTransPort.1
SNMPv3 example:
snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> ipNatSessTransPort.1
Start monitoring 3Com/CommWorks broadband gateway/router (NAT sessions) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the IP-NAT-MIB::ipNatSessTransPort OID value, configure state conditions and alerts, and monitor any 3Com/CommWorks broadband gateway/router (NAT sessions) from a single console.
OID Breakdown
Upper-level ancestors (8 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| 1.3.6.1.4.1.429 | usr | ANIC-MIB |
| 1.3.6.1.4.1.429.4 | common | HDR2-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.429.4.78 | usripNat | IP-NAT-MIB |
| 1.3.6.1.4.1.429.4.78.2 | ipNatSessTable | IP-NAT-MIB |
| 1.3.6.1.4.1.429.4.78.2.1 | ipNatSessEntry | IP-NAT-MIB |
| 1.3.6.1.4.1.429.4.78.2.1.9 | ipNatSessTransPort | IP-NAT-MIB |