natv2InstancePortMappingBehavior
NATV2-MIB ·
.1.3.6.1.2.1.234.2.1.1.3
Object
column Enumeration
Port mapping behavior is the policy governing the selection
of external address and port in a given realm for a given
five-tuple of source address and port, destination address
and port, and protocol.
endpointIndependent(0), the behavior REQUIRED by RFC 4787,
REQ-1, maps the source address and port to the same
external address and port for all destination address and
port combinations reached through the same external realm
and using the given protocol.
addressDependent(1) maps to the same external address and
port for all destination ports at the same destination
address reached through the same external realm and using
the given protocol.
addressAndPortDependent(2) maps to a separate external
address and port combination for each different
destination address and port combination reached through
the same external realm.
Context
- MIB
- NATV2-MIB
- OID
.1.3.6.1.2.1.234.2.1.1.3- Type
- column
- Access
- readonly
- Status
- current
- Parent
- natv2InstanceEntry
- 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 'NATV2-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NATV2-MIB::natv2InstancePortMappingBehavior'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'NATV2-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NATV2-MIB::natv2InstancePortMappingBehavior.<natv2InstanceIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'NATV2-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'NATV2-MIB::natv2InstancePortMappingBehavior'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | endpointIndependent |
1 | addressDependent |
2 | addressAndPortDependent |
Conformance
Member of