hm2AgentOspfRouteProtoType
HM2-PLATFORM-ROUTING-MIB ·
.1.3.6.1.4.1.248.12.2.250.1.4
Object
column Enumeration
The type of route that was learned from OSPF.
Context
- MIB
- HM2-PLATFORM-ROUTING-MIB
- OID
.1.3.6.1.4.1.248.12.2.250.1.4- Type
- column
- Access
- readonly
- Status
- current
- Parent
- hm2AgentOspfRouteEntry
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-PLATFORM-ROUTING-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HM2-PLATFORM-ROUTING-MIB::hm2AgentOspfRouteProtoType'
More examples
Read one indexed 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::hm2AgentOspfRouteProtoType.<hm2AgentOspfRouteNet>.<hm2AgentOspfRouteMask>'
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::hm2AgentOspfRouteProtoType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | intra |
2 | inter |
3 | ext-type1 |
4 | ext-type2 |
5 | nssa-type1 |
6 | nssa-type2 |