natSessionPublicSrcAddr
NAT-MIB ·
.1.3.6.1.2.1.123.1.9.1.16
Object
The source IP address of the session endpoint that
lies in the public network.
The value of this object must be zero when the
natSessionPrivateSrcEPBindId object has a zero value.
In such a scenario, the NAT session lookup will match
any IP address to this field.
The type of this address is determined by the value of
the natSessionPublicAddrType object.
Deprecated in favor of NATV2-MIB.
Context
- MIB
- NAT-MIB
- OID
.1.3.6.1.2.1.123.1.9.1.16- 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::natSessionPublicSrcAddr'
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::natSessionPublicSrcAddr.<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::natSessionPublicSrcAddr'
Syntax
- Source
- INET-ADDRESS-MIBInetAddress
- Base type
OctetString
Values & Constraints
Type Constraints
range: 0..255
Conformance
Member of
Compliance refinements
natMIBFullCompliance
INET-ADDRESS-MIB::InetAddress
range: 4
range: 16
An implementation is required to support global IPv4
and/or IPv6 addresses, depending on its support
for IPv4 and IPv6.
and/or IPv6 addresses, depending on its support
for IPv4 and IPv6.
natMIBReadOnlyCompliance
INET-ADDRESS-MIB::InetAddress
range: 4
range: 16
An implementation is required to support global IPv4
and/or IPv6 addresses, depending on its support for
IPv4 and IPv6.
and/or IPv6 addresses, depending on its support for
IPv4 and IPv6.