hm2DnatProto
HM2-NAT-MIB ·
.1.3.6.1.4.1.248.11.80.1.2.1.2.1.1.9
Object
column r/w
Enumeration
The IP protocol (RFC 791) for protocol-independent filtering. The following values are currently supported: o icmp(1): Internet Control Message Protocol (RFC 792) o igmp(2): Internet Group Management Protocol o ipip(3): IP in IP tunneling (RFC 1853) o tcp(4): Transmission Control Protocol (RFC 793) o udp(5): User Datagram Protocol (RFC 768) o esp(6): IPsec Encapsulated Security Payload (RFC 2406) o ah(7): IPsec Authentication Header (RFC 2402) o icmpv6(8): Internet Control Message Protocol for IPv6 o any(9): apply to all protocols
Context
- MIB
- HM2-NAT-MIB
- OID
.1.3.6.1.4.1.248.11.80.1.2.1.2.1.1.9- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hm2DnatRuleEntry
- 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 'HM2-NAT-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HM2-NAT-MIB::hm2DnatProto'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HM2-NAT-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HM2-NAT-MIB::hm2DnatProto.<hm2DnatRuleIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HM2-NAT-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HM2-NAT-MIB::hm2DnatProto'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | icmp |
2 | igmp |
3 | ipip |
4 | tcp |
5 | udp |
6 | esp |
7 | ah |
8 | icmpv6 |
9 | any |
Conformance
Member of