RFC1252-MIB :: ospfIfMetricMetric

MIB Reference — IPNetwork Monitor · Updated September 14, 2026

All MIBsRFC1252-MIBospfIfMetricMetric

ospfIfMetricMetric

Module: RFC1252-MIB

OID (symbolic): RFC1252-MIB::ospfIfMetricMetric

OID (numeric): 1.3.6.1.2.1.13.8.1.4

Node type: OBJECT-TYPE

Type: Metric

Access: read-write

Description: 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'.

What is ospfIfMetricMetric?

The cost this router advertises for using the given interface at the given Type of Service; the default TOS-0 metric is 10^8 divided by the interface speed, and the value FFFF is reserved to mean 'no route via this TOS'.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.2.1.13.8.1.4
snmpwalk -v2c -c public <target> RFC1252-MIB::ospfIfMetricMetric

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.2.1.13.8.1.4.1
snmpget -v2c -c public <target> RFC1252-MIB::ospfIfMetricMetric.1

Set instance 1 (SNMPv2c):

snmpset -v2c -c private <target> 1.3.6.1.2.1.13.8.1.4.1 s <value>

Start monitoring vendor-neutral, standards-based MIB, IP routers running OSPFv2 with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the RFC1252-MIB::ospfIfMetricMetric OID value, configure state conditions and alerts, and monitor any vendor-neutral, standards-based MIB, IP routers running OSPFv2 from a single console.

OID Breakdown

Upper-level ancestors (9 from the standard OID tree / other modules)
Numeric OIDNameModule
1isoLANART-AGENT
1.3orgAirPair-MIB
1.3.6dodAirPair-MIB
1.3.6.1internetAirPair-MIB
1.3.6.1.2mgmtAXON-MIB
1.3.6.1.2.1mib_2AXON-MIB
1.3.6.1.2.1.13appletalkJETDIRECT3-MIB
1.3.6.1.2.1.13.8nbpMRVINREACH
1.3.6.1.2.1.13.8.1nbpTableRFC1243-MIB
Numeric OIDNameModule
1.3.6.1.2.1.13.8.1.4ospfIfMetricMetricRFC1252-MIB