hm2AgentOspfDefaultMetric

HM2-PLATFORM-ROUTING-MIB · .1.3.6.1.4.1.248.12.2.4.1

Object

scalar r/w Integer32
Default metric of redistributed routes, when OSPF redistributes 
from other protocols. {0} indicates that the parameter is not configured,
this value should not be set. Valid range for set is (1..16777214).

Context

MIB
HM2-PLATFORM-ROUTING-MIB
OID
.1.3.6.1.4.1.248.12.2.4.1
Type
scalar
Access
readwrite
Status
current
Parent
hm2AgentRouterOspfConfigGroup

Scalars have one instance, identified by the .0 suffix.

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HM2-PLATFORM-ROUTING-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HM2-PLATFORM-ROUTING-MIB::hm2AgentOspfDefaultMetric.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HM2-PLATFORM-ROUTING-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HM2-PLATFORM-ROUTING-MIB::hm2AgentOspfDefaultMetric'

Syntax

Integer32

Values & Constraints

Object Constraints
range: 0-16777214