HM2-PLATFORM-ROUTING-MIB :: hm2AgentOspfRoutePrefExternal

MIB Reference — IPNetwork Monitor · Updated October 05, 2026

All MIBs › HM2-PLATFORM-ROUTING-MIB › hm2AgentOspfRoutePrefExternal

hm2AgentOspfRoutePrefExternal

Module: HM2-PLATFORM-ROUTING-MIB

OID (symbolic): HM2-PLATFORM-ROUTING-MIB::hm2AgentOspfRoutePrefExternal

OID (numeric): 1.3.6.1.4.1.248.12.2.4.22

Node type: OBJECT-TYPE

Type: Integer32

Access: read-write

Description: The route preference, sometimes called administrative distance, for external OSPFv2 routes. A route with a preference of 255 is considered unreachable.

What is hm2AgentOspfRoutePrefExternal?

Route preference (administrative distance, 1 to 255, default 110) for external OSPFv2 routes, those redistributed into OSPF from other protocols; 255 means unreachable. Raise it to prefer routes from other sources over redistributed ones.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.4.1.248.12.2.4.22
snmpwalk -v2c -c public <target> HM2-PLATFORM-ROUTING-MIB::hm2AgentOspfRoutePrefExternal

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.4.1.248.12.2.4.22.1
snmpget -v2c -c public <target> HM2-PLATFORM-ROUTING-MIB::hm2AgentOspfRoutePrefExternal.1

Set instance 1 (SNMPv2c):

snmpset -v2c -c private <target> 1.3.6.1.4.1.248.12.2.4.22.1 i <value>

Start monitoring Hirschmann HiOS Platform2 industrial switch (Layer 3 routing) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the HM2-PLATFORM-ROUTING-MIB::hm2AgentOspfRoutePrefExternal OID value, configure state conditions and alerts, and monitor any Hirschmann HiOS Platform2 industrial switch (Layer 3 routing) from a single console.

OID Breakdown

Upper-level ancestors (8 from the standard OID tree / other modules)
Numeric OIDNameModule
1isoLANART-AGENT
1.3orgAirPair-MIB
1.3.6dodAirPair-MIB
1.3.6.1internetAirPair-MIB
1.3.6.1.4privateAirPair-MIB
1.3.6.1.4.1enterprisesAirPair-MIB
1.3.6.1.4.1.248hirschmannHIRSCHMANN-GENERIC-ERROR-MIB
1.3.6.1.4.1.248.12hm2PlatformMibsHM2-TC-MIB
Numeric OIDNameModule
1.3.6.1.4.1.248.12.2hm2PlatformRoutingHM2-PLATFORM-ROUTING-MIB
1.3.6.1.4.1.248.12.2.4hm2AgentRouterOspfConfigGroupHM2-PLATFORM-ROUTING-MIB
1.3.6.1.4.1.248.12.2.4.22hm2AgentOspfRoutePrefExternalHM2-PLATFORM-ROUTING-MIB