hm2DonatRemoteExternalIp
HM2-NAT-MIB ·
.1.3.6.1.4.1.248.11.80.1.6.2.1.1.5
Object
column r/w
OctetString
The IP address where you want the second net/machine to be reachable
from the first net/machine.
Allowed formats are:
- keyword 'any'
- IP address ('10.0.0.1')
- IP address range ('10.0.0.0/8')
Context
- MIB
- HM2-NAT-MIB
- OID
.1.3.6.1.4.1.248.11.80.1.6.2.1.1.5- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hm2DoubleNatRuleEntry
- 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::hm2DonatRemoteExternalIp'
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::hm2DonatRemoteExternalIp.<hm2DonatRuleIndex>'
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::hm2DonatRemoteExternalIp'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 1-20
Conformance
Member of