natProtocol
NAT-MIB ·
.1.3.6.1.2.1.123.1.10.1.1
Object
This object represents the protocol pertaining to which parameters are reported. Deprecated in favor of NATV2-MIB.
Context
- MIB
- NAT-MIB
- OID
.1.3.6.1.2.1.123.1.10.1.1- Type
- column
- Access
- noaccess
- Status
- deprecated
- Parent
- natProtocolEntry
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::natProtocol'
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::natProtocol.<natProtocol>'
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::natProtocol'
Syntax
- Source
- NatProtocolType
- Base type
Enumeration
Values & Constraints
Type Values
1 | none |
2 | other |
3 | icmp |
4 | udp |
5 | tcp |