All MIBs › RFC1248-MIB › ospfIfMetricMetric
ospfIfMetricMetric
Module: RFC1248-MIB
OID (symbolic): RFC1248-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?
This is the OSPF cost this router assigns to using this interface at the given type of service, defaulting to 10^8 / ifSpeed for TOS 0, with the special value FFFF meaning 'no route via this TOS.' Admins manually override this to influence path selection, e.g. raising the metric on a backup link so OSPF prefers the primary path under normal conditions.
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> RFC1248-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> RFC1248-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 IP routers running OSPF with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the RFC1248-MIB::ospfIfMetricMetric OID value, configure state conditions and alerts, and monitor any IP routers running OSPF from a single console.
OID Breakdown
Upper-level ancestors (9 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.2 | mgmt | AXON-MIB |
| 1.3.6.1.2.1 | mib_2 | AXON-MIB |
| 1.3.6.1.2.1.13 | appletalk | JETDIRECT3-MIB |
| 1.3.6.1.2.1.13.8 | nbp | MRVINREACH |
| 1.3.6.1.2.1.13.8.1 | nbpTable | RFC1243-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.2.1.13.8.1.4 | ospfIfMetricMetric | RFC1248-MIB |