ospfIfMetricValue

OSPF-MIB · .1.3.6.1.2.1.14.8.1.4

Object

column 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.

Context

MIB
OSPF-MIB
OID
.1.3.6.1.2.1.14.8.1.4
Type
column
Access
readwrite
Status
current
Parent
ospfIfMetricEntry
Groups
1

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

Syntax

Source
Metric
Base type
Integer32

Values & Constraints

Type Constraints
range: 0..65535

Conformance