natAddrMapGlobalPortTo
NAT-MIB ·
.1.3.6.1.2.1.123.1.4.1.14
Object
If this conceptual row describes a Basic NAT address
mapping, then the value of this object must be zero. If
this conceptual row describes NAPT, then the value of
this object specifies the last port number in the range
of ports being mapped to.
The value of this object must be greater than or equal
to the value of the natAddrMapGlobalPortFrom object. If
the translation specifies a single port, then the value
of this object is equal to the value of
natAddrMapGlobalPortFrom.
Deprecated in favor of NATV2-MIB.
Context
- MIB
- NAT-MIB
- OID
.1.3.6.1.2.1.123.1.4.1.14- 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::natAddrMapGlobalPortTo'
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::natAddrMapGlobalPortTo.<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::natAddrMapGlobalPortTo'
Syntax
- Source
- INET-ADDRESS-MIBInetPortNumber
- Base type
Unsigned32
Values & Constraints
Type Constraints
range: 0..65535
Conformance
Member of