All MIBs › RFC1354-MIB › ipForwardMetric1
ipForwardMetric1
Module: RFC1354-MIB
OID (symbolic): RFC1354-MIB::ipForwardMetric1
OID (numeric): 1.3.6.1.2.1.4.24.2.1.11
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: The primary routing metric for this route. The semantics of this metric are determined by the routing-protocol specified in the route's ipForwardProto value. If this metric is not used, its value should be set to -1.
What is ipForwardMetric1?
This is the primary routing metric for the entry, whose meaning, such as hop count or path cost, depends on which routing protocol, per ipForwardProto, produced the route, and it is -1 if unused. Admins compare this value across competing routes to a destination to understand which one the routing protocol considers best, though the units differ by protocol, for instance RIP metrics are hop counts while OSPF metrics are path cost. For example, a RIP-learned route might show this value as 3, meaning it is three hops away, while a statically configured route not using a metric would show -1.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.2.1.4.24.2.1.11 snmpwalk -v2c -c public <target> RFC1354-MIB::ipForwardMetric1
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.2.1.4.24.2.1.11.1 snmpget -v2c -c public <target> RFC1354-MIB::ipForwardMetric1.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.2.1.4.24.2.1.11.1 i <value>
Start monitoring vendor-neutral, standards-based MIB, IP routers and Layer-3 switches (extended IP forwarding table) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the RFC1354-MIB::ipForwardMetric1 OID value, configure state conditions and alerts, and monitor any vendor-neutral, standards-based MIB, IP routers and Layer-3 switches (extended IP forwarding table) from a single console.
OID Breakdown
Upper-level ancestors (10 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.4 | ip | CHECKPOINT-MIB-2 |
| 1.3.6.1.2.1.4.24 | ipForward | IP-FORWARD-MIB |
| 1.3.6.1.2.1.4.24.2 | ipForwardTable | IP-FORWARD-MIB |
| 1.3.6.1.2.1.4.24.2.1 | ipForwardEntry | IP-FORWARD-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.2.1.4.24.2.1.11 | ipForwardMetric1 | RFC1354-MIB |