CROUTE-MIB :: drStaticCidrMetric1

MIB Reference — IPNetwork Monitor · Updated September 14, 2026

All MIBsCROUTE-MIBdrStaticCidrMetric1

drStaticCidrMetric1

Module: CROUTE-MIB

OID (symbolic): CROUTE-MIB::drStaticCidrMetric1

OID (numeric): 1.3.6.1.4.1.81.31.7.1.1.8

Node type: OBJECT-TYPE

Type: INTEGER

Access: read-write

Description: Equivalent to ipCidrRouteMetric1. The primary routing metric for this route. The semantics of this metric are determined by the routing-protocol specified in the route's drStaticCidrProto value. If this metric is not used, its value should be set to -1.

What is drStaticCidrMetric1?

This object holds the primary routing metric for a static route, whose meaning depends on the routing protocol identified by that route's drStaticCidrProto value, and it is set to -1 when the metric isn't used. Admins adjust this to influence route preference when multiple paths to the same destination exist. For example, lowering drStaticCidrMetric1 on a static backup route makes it less preferred than a dynamically learned OSPF route with a better metric, until the primary path fails.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.4.1.81.31.7.1.1.8
snmpwalk -v2c -c public <target> CROUTE-MIB::drStaticCidrMetric1

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.4.1.81.31.7.1.1.8.1
snmpget -v2c -c public <target> CROUTE-MIB::drStaticCidrMetric1.1

Set instance 1 (SNMPv2c):

snmpset -v2c -c private <target> 1.3.6.1.4.1.81.31.7.1.1.8.1 i <value>

Start monitoring Layer 3 switch platform (vendor unclear, BOOTP/RIP) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the CROUTE-MIB::drStaticCidrMetric1 OID value, configure state conditions and alerts, and monitor any Layer 3 switch platform (vendor unclear, BOOTP/RIP) from a single console.

OID Breakdown

Upper-level ancestors (7 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.4privateAirPair-MIB
1.3.6.1.4.1enterprisesAirPair-MIB
1.3.6.1.4.1.81lannetGEN-MIB
Numeric OIDNameModule
1.3.6.1.4.1.81.31crouteCROUTE-MIB
1.3.6.1.4.1.81.31.7drStaticCidrCROUTE-MIB
1.3.6.1.4.1.81.31.7.1drStaticCidrTableCROUTE-MIB
1.3.6.1.4.1.81.31.7.1.1drStaticCidrEntryCROUTE-MIB
1.3.6.1.4.1.81.31.7.1.1.8drStaticCidrMetric1CROUTE-MIB