All MIBs › IP-NAT-MIB › ipNatSessSrcPort
ipNatSessSrcPort
Module: IP-NAT-MIB
OID (symbolic): IP-NAT-MIB::ipNatSessSrcPort
OID (numeric): 1.3.6.1.4.1.429.4.78.2.1.7
Node type: OBJECT-TYPE
Type: Integer32
Access: read-only
Description: For UDP and TCP NAT sessions, the source port number of the packet that initiated the flow associated with this NAT session. For neither UDP nor TCP NAT sessions this value is 0.
What is ipNatSessSrcPort?
This field reports the source port number of the packet that started this NAT session, or 0 if the session isn't TCP or UDP. Admins use this along with the source IP to precisely identify which application or connection on the source host generated this session. For example, a source port of 51234 alongside a TCP protocol value would identify a typical ephemeral client-side port for an outbound connection.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.429.4.78.2.1.7 snmpwalk -v2c -c public <target> IP-NAT-MIB::ipNatSessSrcPort
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.429.4.78.2.1.7.1 snmpget -v2c -c public <target> IP-NAT-MIB::ipNatSessSrcPort.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::ipNatSessSrcPort 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.7 | ipNatSessSrcPort | IP-NAT-MIB |