hm2AgentOspfStubRouterReason
HM2-PLATFORM-ROUTING-MIB ·
.1.3.6.1.4.1.248.12.2.19.2
Object
scalar Enumeration
This indicates the reason because of which the router is in Stub mode. This is valid only if the agentOspfStubRouterMode is 'active'.
Context
- MIB
- HM2-PLATFORM-ROUTING-MIB
- OID
.1.3.6.1.4.1.248.12.2.19.2- Type
- scalar
- Access
- readonly
- Status
- current
- Parent
- hm2AgentOspfStubRouterGroup
Net-SNMP examples
How SNMP and these commands workScalars 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::hm2AgentOspfStubRouterReason.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::hm2AgentOspfStubRouterReason'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | configured |
1 | startup |
2 | resource-limitation |