All MIBs › HM2-FW-MIB › hm2DefaultPolicy
hm2DefaultPolicy
Module: HM2-FW-MIB
OID (symbolic): HM2-FW-MIB::hm2DefaultPolicy
OID (numeric): 1.3.6.1.4.1.248.11.79.1.1.5
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: The default policy for forwarding packets: 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
What is hm2DefaultPolicy?
This read-write setting controls what happens to packets that don't match any explicit firewall rule: accept(1) forwards them, drop(2) silently discards them, and reject(3) discards them while sending the sender an ICMP error. Most security-conscious admins change this from the accept default to drop or reject once their rule set is complete, to close off anything unaccounted for.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.248.11.79.1.1.5 snmpwalk -v2c -c public <target> HM2-FW-MIB::hm2DefaultPolicy
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.248.11.79.1.1.5.1 snmpget -v2c -c public <target> HM2-FW-MIB::hm2DefaultPolicy.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.248.11.79.1.1.5.1 i <value>
Start monitoring Hirschmann industrial Ethernet switch (built-in firewall module) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the HM2-FW-MIB::hm2DefaultPolicy OID value, configure state conditions and alerts, and monitor any Hirschmann industrial Ethernet switch (built-in firewall module) from a single console.
OID Breakdown
Upper-level ancestors (8 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| 1.3.6.1.4.1.248 | hirschmann | HIRSCHMANN-GENERIC-ERROR-MIB |
| 1.3.6.1.4.1.248.11 | hm2ConfigurationMibs | HM2-TC-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.248.11.79 | hm2FwMib | HM2-FW-MIB |
| 1.3.6.1.4.1.248.11.79.1 | hm2FwObjects | HM2-FW-MIB |
| 1.3.6.1.4.1.248.11.79.1.1 | hm2FwGeneralSettings | HM2-FW-MIB |
| 1.3.6.1.4.1.248.11.79.1.1.5 | hm2DefaultPolicy | HM2-FW-MIB |