natv2SubscriberPortMapEntries
NATV2-MIB ·
.1.3.6.1.2.1.234.1.1.1.7
Object
column SNMPv2-SMIUnsigned32
The current number of port map entries in the port map table for the subscriber, including static mappings. A port map entry maps from a given external realm, address, and port for a given protocol to an internal realm, address, and port. This definition includes 'hairpin' mappings, where the external realm is the same as the internal one. Port map entries are also tracked per instance and per protocol and address pool within the instance.
Context
- MIB
- NATV2-MIB
- OID
.1.3.6.1.2.1.234.1.1.1.7- Type
- column
- Access
- readonly
- Status
- current
- Parent
- natv2SubscriberEntry
- 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::natv2SubscriberPortMapEntries'
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::natv2SubscriberPortMapEntries.<natv2SubscriberIndex>'
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::natv2SubscriberPortMapEntries'
Syntax
- Source
- SNMPv2-SMIUnsigned32
- Base type
Unsigned32
Values & Constraints
Type Constraints
range: 0..4294967295
Conformance
Member of