natAddrMapLocalAddrTo
NAT-MIB ·
.1.3.6.1.2.1.123.1.4.1.7
Object
This object specifies the last IP address of the range
of IP addresses mapped by this translation entry. If
only a single address is being mapped, the value of this
object is equal to the value of natAddrMapLocalAddrFrom.
For a static NAT, the number of addresses in the range
defined by natAddrMapLocalAddrFrom and
natAddrMapLocalAddrTo must be equal to the number of
addresses in the range defined by
natAddrMapGlobalAddrFrom and natAddrMapGlobalAddrTo.
The value of this object must be greater than or equal
to the value of the natAddrMapLocalAddrFrom object.
The type of this address is determined by the value of
the natAddrMapLocalAddrType object.
Deprecated in favor of NATV2-MIB.
Context
- MIB
- NAT-MIB
- OID
.1.3.6.1.2.1.123.1.4.1.7- Type
- column
- Access
- readwrite
- Status
- deprecated
- Parent
- natAddrMapEntry
- 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::natAddrMapLocalAddrTo'
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::natAddrMapLocalAddrTo.<ifIndex>.<natAddrMapIndex>'
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::natAddrMapLocalAddrTo'
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.
range: 4
range: 16
Write access is not required. An implementation is
required to support global IPv4 and/or IPv6 addresses,
depending on its support for IPv4 and IPv6.
required to support global IPv4 and/or IPv6 addresses,
depending on its support for IPv4 and IPv6.