hm2L3RuleParams
HM2-FW-MIB ·
.1.3.6.1.4.1.248.11.79.1.3.2.1.1.7
Object
column r/w
OctetString
Additional parameters to this rule as string.
A parameter has the syntax:
<param>=<val>
Parameters are separated by a comma.
If more than one value is given for a parameter, values are
separated by a |-sign (pipe).
Following parameters are defined based on the different
protocols:
o icmp: type=<ICMP type> (specify ICMP type to filter)
code=<ICMP code> (specify ICMP code to filter)
o tcp: flags=<SYN/ACK/FIN> (apply to packets with given flags)
o general: state=<new/rel/est> (apply to packets according to
current state of connection>)
mac=<MAC> (specify source MAC address for this rule)
frag=<true/false> (apply to fragments)
Context
- MIB
- HM2-FW-MIB
- OID
.1.3.6.1.4.1.248.11.79.1.3.2.1.1.7- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hm2L3RuleEntry
- 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-FW-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HM2-FW-MIB::hm2L3RuleParams'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HM2-FW-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HM2-FW-MIB::hm2L3RuleParams.<hm2L3RuleIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HM2-FW-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HM2-FW-MIB::hm2L3RuleParams'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-50
Conformance
Member of