natAddrMapGlobalAddrTo
NAT-MIB ·
.1.3.6.1.2.1.123.1.4.1.12
Object
This object specifies the last IP address of the range
of IP addresses being mapped to. If only a single
address is being mapped to, the value of this object is
equal to the value of natAddrMapGlobalAddrFrom. For a
static NAT, the number of addresses in the range defined
by natAddrMapGlobalAddrFrom and natAddrMapGlobalAddrTo
must be equal to the number of addresses in the range
defined by natAddrMapLocalAddrFrom and
natAddrMapLocalAddrTo. The value of this object must be
greater than or equal to the value of the
natAddrMapGlobalAddrFrom object.
The type of this address is determined by the value of
the natAddrMapGlobalAddrType object.
Deprecated in favor of NATV2-MIB.
Context
- MIB
- NAT-MIB
- OID
.1.3.6.1.2.1.123.1.4.1.12- 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::natAddrMapGlobalAddrTo'
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::natAddrMapGlobalAddrTo.<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::natAddrMapGlobalAddrTo'
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.