hm2L3Action
HM2-FW-MIB ·
.1.3.6.1.4.1.248.11.79.1.3.2.1.1.8
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 reject(3): Packets matching this rule will be dropped and the originator gets informed by an ICMP message 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
Context
- MIB
- HM2-FW-MIB
- OID
.1.3.6.1.4.1.248.11.79.1.3.2.1.1.8- 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::hm2L3Action'
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::hm2L3Action.<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::hm2L3Action'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | accept |
2 | drop |
3 | reject |
4 | enforce-modbus |
5 | enforce-opc |
6 | enforce-iec104 |
7 | enforce-ethernetip |
8 | enforce-dnp3 |
Conformance
Member of