ospfIfMetricMetric

RFC1253-MIB · .1.3.6.1.2.1.14.8.1.4

Object

column mandatory r/w Metric
The metric of using this type of service on this
interface.  The default value of the TOS 0 Metric is
10^8 / ifSpeed.
              
The value FFFF is distinguished to mean 'no route via
this TOS'.

Context

MIB
RFC1253-MIB
OID
.1.3.6.1.2.1.14.8.1.4
Type
column
Access
readwrite
Status
mandatory
Parent
ospfIfMetricEntry

Walk 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 'RFC1253-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RFC1253-MIB::ospfIfMetricMetric'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'RFC1253-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RFC1253-MIB::ospfIfMetricMetric.<ospfIfMetricIpAddress>.<ospfIfMetricAddressLessIf>.<ospfIfMetricTOS>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'RFC1253-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'RFC1253-MIB::ospfIfMetricMetric'

Syntax

Source
Metric
Base type
Integer32

Values & Constraints

Type Constraints
range: 1..65535