ospfIfMetricValue
RFC15850-MIB ·
.0.14.8.1.4
Object
column mandatory
r/w
Integer32
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
- RFC15850-MIB
- OID
.0.14.8.1.4- Type
- column
- Access
- readwrite
- Status
- mandatory
- Parent
- ospfIfMetricEntry
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 'RFC15850-MIB' -M '/opt/observium/mibs/bintec:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RFC15850-MIB::ospfIfMetricValue'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'RFC15850-MIB' -M '/opt/observium/mibs/bintec:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RFC15850-MIB::ospfIfMetricValue.<ospfIfMetricAddressLessIf>.<ospfIfMetricTOS>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'RFC15850-MIB' -M '/opt/observium/mibs/bintec:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'RFC15850-MIB::ospfIfMetricValue'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 1-65535