natAddrPortBindProtocol
NAT-MIB ·
.1.3.6.1.2.1.123.1.8.1.4
Object
This object specifies a protocol identifier. If the value of this object is none(1), then this bind entry applies to all IP traffic. Any other value of this object specifies the class of IP traffic to which this BIND applies. Deprecated in favor of NATV2-MIB.
Context
- MIB
- NAT-MIB
- OID
.1.3.6.1.2.1.123.1.8.1.4- Type
- column
- Access
- noaccess
- Status
- deprecated
- Parent
- natAddrPortBindEntry
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::natAddrPortBindProtocol'
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::natAddrPortBindProtocol.<ifIndex>.<natAddrPortBindLocalAddrType>.<natAddrPortBindLocalAddr>.<natAddrPortBindLocalPort>.<natAddrPortBindProtocol>'
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::natAddrPortBindProtocol'
Syntax
- Source
- NatProtocolType
- Base type
Enumeration
Values & Constraints
Type Values
1 | none |
2 | other |
3 | icmp |
4 | udp |
5 | tcp |