natv2PortMapInternalMappedAddressType
NATV2-MIB ·
.1.3.6.1.2.1.234.2.6.1.10
Object
Internal address type actually translated by this mapping. Any value other than ipv4(1) or ipv6(2) would be unexpected. In the general case, this is the same as given by natv2AddressMapInternalAddressType. In the DS-Lite case, the address type is ipv4(1).
Context
- MIB
- NATV2-MIB
- OID
.1.3.6.1.2.1.234.2.6.1.10- Type
- column
- Access
- readonly
- Status
- current
- Parent
- natv2PortMapEntry
- 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::natv2PortMapInternalMappedAddressType'
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::natv2PortMapInternalMappedAddressType.<natv2PortMapInstanceIndex>.<natv2PortMapProtocol>.<natv2PortMapExternalRealm>.<natv2PortMapExternalAddressType>.<natv2PortMapExternalAddress>.<natv2PortMapExternalPort>'
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::natv2PortMapInternalMappedAddressType'
Syntax
- Source
- INET-ADDRESS-MIBInetAddressType
- Base type
Enumeration
Values & Constraints
Type Values
0 | unknown |
1 | ipv4 |
2 | ipv6 |
3 | ipv4z |
4 | ipv6z |
16 | dns |
25 | l2vpn |
Conformance
Member of