natv2ProtocolNumber
NATV2-MIB ·
.1.3.6.1.2.1.234.2.2.1.2
Object
column ProtocolNumber
Counters in this conceptual row apply to packets indicating the upper-layer protocol identified by the value of this object. It is up to the implementation to determine and operate upon only those values that correspond to protocols supported by the NAT instance.
Context
- MIB
- NATV2-MIB
- OID
.1.3.6.1.2.1.234.2.2.1.2- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- natv2ProtocolEntry
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::natv2ProtocolNumber'
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::natv2ProtocolNumber.<natv2ProtocolInstanceIndex>.<natv2ProtocolNumber>'
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::natv2ProtocolNumber'
Syntax
- Source
- ProtocolNumber
- Base type
Unsigned32
Values & Constraints
Type Constraints
range: 0..255