hm2L2RuleAction
HM2-FW-MIB ·
.1.3.6.1.4.1.248.11.79.1.6.3.1.1.3
Object
column r/w
Enumeration
The action of the corresponding rule: o accept(1): Packets matching this rule are accepted and will be forwarded o drop(2): Packets matching this rule will be silently discarded o enforce-modbus(4): Packets matching this rule are enforced by modbus enforcer and will be forwarded or discarded. The selected protocol should be tcp or udp o enforce-opc(5): Packets matching this rule are enforced by opc enforcer and will be forwarded or discarded. The selected protocol should be tcp o enforce-iec104(6): Packets matching this rule are enforced by IEC104 enforcer and will be forwarded or discarded. The selected protocol should be tcp o enforce-ethernetip(7): Packets matching this rule are enforced by EtherNet/IP enforcer and will be forwarded or discarded. The selected protocol should be TCP. o enforce-dnp3(8): Packets matching this rule are enforced by dnp3 enforcer and will be forwarded or discarded. The selected protocol should be tcp. o enforce-amp(9): Packets matching this rule will be forwarded or discarded based on AMP enforcer rules. The selected protocol must be TCP.
Context
- MIB
- HM2-FW-MIB
- OID
.1.3.6.1.4.1.248.11.79.1.6.3.1.1.3- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hm2L2RuleEntry
- 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::hm2L2RuleAction'
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::hm2L2RuleAction.<hm2L2RuleIndex>'
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::hm2L2RuleAction'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | accept |
2 | drop |
4 | enforce-modbus |
5 | enforce-opc |
6 | enforce-iec104 |
7 | enforce-ethernetip |
8 | enforce-dnp3 |
9 | enforce-amp |
Conformance
Member of