hm2AgentOspfStubRouterAdvertisement
HM2-PLATFORM-ROUTING-MIB ·
.1.3.6.1.4.1.248.12.2.19.1
Object
scalar Enumeration
Specifies how the router LSAs are advertised by the router. The value doNotAdvertise indicates the advertisement of a standard router LSA and is the default value. The value advertise indicates the advertisement of a stub router LSA.
Context
- MIB
- HM2-PLATFORM-ROUTING-MIB
- OID
.1.3.6.1.4.1.248.12.2.19.1- 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::hm2AgentOspfStubRouterAdvertisement.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::hm2AgentOspfStubRouterAdvertisement'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | doNotAdvertise |
2 | advertise |