agentOspfDefaultInfoOriginateMetric
LANCOM-ROUTING-MIB ·
.1.3.6.1.4.1.2356.16.1.2.4.5
Object
scalar r/w
Integer32
Metric of the default route, which OSPF advertises when learned from other protocol. (0) indicates that the parameter is not configured, this value should not be set. Valid range for set is (1..16777214).
Context
- MIB
- LANCOM-ROUTING-MIB
- OID
.1.3.6.1.4.1.2356.16.1.2.4.5- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- agentRouterOspfConfigGroup
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 'LANCOM-ROUTING-MIB' -M '/opt/observium/mibs/lancom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'LANCOM-ROUTING-MIB::agentOspfDefaultInfoOriginateMetric.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'LANCOM-ROUTING-MIB' -M '/opt/observium/mibs/lancom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'LANCOM-ROUTING-MIB::agentOspfDefaultInfoOriginateMetric'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-16777214