hm2AgentOspfRouteRedistMode
HM2-PLATFORM-ROUTING-MIB ·
.1.3.6.1.4.1.248.12.2.4.8.1.2
Object
User enables/disables route-redistribution for a particular source protocol.
Context
- MIB
- HM2-PLATFORM-ROUTING-MIB
- OID
.1.3.6.1.4.1.248.12.2.4.8.1.2- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hm2AgentOspfRouteRedistEntry
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::hm2AgentOspfRouteRedistMode'
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::hm2AgentOspfRouteRedistMode.<hm2AgentOspfRouteRedistSource>'
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::hm2AgentOspfRouteRedistMode'
Syntax
- Source
- HM2-TC-MIBHmEnabledStatus
- Base type
Enumeration
Values & Constraints
Type Values
1 | enable |
2 | disable |