hmSec2NatPortFwdProto
HMSECURITY2-MIB ·
.1.3.6.1.4.1.248.52.1.15.2.3.1.8
Object
column r/w
OctetString
The protocol as a decimal number (in range 1 - 255) or a name. The following protocol names are currently supported: o 'icmp': internet control message protocol (RFC 792) o 'igmp': internet group management protocol o 'ip': internet protocol (RFC 791) o 'tcp': transmission control protocol (RFC 793) o 'udp': user datagram protocol (RFC 768) o 'esp': IPsec encapsulated security payload (RFC 2406) o 'ah': IPsec authentication header (RFC 2402)
Context
- MIB
- HMSECURITY2-MIB
- OID
.1.3.6.1.4.1.248.52.1.15.2.3.1.8- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hmSec2NatPortFwdEntry
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 'HMSECURITY2-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HMSECURITY2-MIB::hmSec2NatPortFwdProto'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HMSECURITY2-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HMSECURITY2-MIB::hmSec2NatPortFwdProto.<index>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HMSECURITY2-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HMSECURITY2-MIB::hmSec2NatPortFwdProto'
Syntax
OctetString
Values & Constraints
No enumerated values or constraints recorded.