hm2DonatIfmDirection

HM2-NAT-MIB · .1.3.6.1.4.1.248.11.80.1.6.2.2.1.2

Object

column Enumeration
Meanings:
- ingress(1): The first net/machine can be reached through this
  interface
- egress(2): The second net/machine can be reached through this
  interface
- both(3): Both machines/nets can be reached through this interface

Context

MIB
HM2-NAT-MIB
OID
.1.3.6.1.4.1.248.11.80.1.6.2.2.1.2
Type
column
Access
noaccess
Status
current
Parent
hm2DonatRuleIfMappingEntry

Walk 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::hm2DonatIfmDirection'
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::hm2DonatIfmDirection.<hm2DonatIfmInterface>.<hm2DonatIfmDirection>.<hm2DonatIfmRuleIndex>'
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::hm2DonatIfmDirection'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1ingress
2egress
3both