hmSec2NatPortFwdSrcPort

HMSECURITY2-MIB · .1.3.6.1.4.1.248.52.1.15.2.3.1.3

Object

column r/w OctetString
Source port expression or the keyword 'any'. A port expressions is
structured as 'op port' or 'port1 op port2', where 'op' is a
mathematical operator for:
	o  equal					=
	o  unequal					!=
	o  less than				<
	o  less than or equal		<=
	o  greater than				>
	o  greater than or equal to	>=
	o  outside range			<>
	o  inside range				><
The port must be specified as a decimal number or one of the
aliases:
	o  tcp/udp: echo (7)
	o  tcp/udp: discard, sink, null (9)
	o  tcp: ftp-data (20)
	o  tcp: ftp (21)
	o  tcp/udp: ssh (22)
	o  tcp: telnet (23)
	o  tcp/udp: domain, nameserver (53)
	o  tcp/udp: bootps (67)
	o  tcp/udp: bootpc (68)
	o  udp: tftp (69)
	o  tcp/udp: www, http (80)
	o  tcp/udp: kerberos, krb5 (88)
	o  tcp: sftp (115)
	o  tcp/udp: ntp (123)
	o  udp: snmp (161)
	o  udp: snmp-trap, snmptrap (162)
	o  tcp/udp: bgp (179)
	o  tcp/udp: ldap (389)
	o  tcp/udp: https (443)

Context

MIB
HMSECURITY2-MIB
OID
.1.3.6.1.4.1.248.52.1.15.2.3.1.3
Type
column
Access
readwrite
Status
current
Parent
hmSec2NatPortFwdEntry

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 'HMSECURITY2-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HMSECURITY2-MIB::hmSec2NatPortFwdSrcPort'
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::hmSec2NatPortFwdSrcPort.<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::hmSec2NatPortFwdSrcPort'

Syntax

OctetString

Values & Constraints

No enumerated values or constraints recorded.