All MIBs › CROUTE-MIB › drStaticCidrIfIndex
drStaticCidrIfIndex
Module: CROUTE-MIB
OID (symbolic): CROUTE-MIB::drStaticCidrIfIndex
OID (numeric): 1.3.6.1.4.1.81.31.7.1.1.6
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: Equivalent to ipCidrRouteIfIndex. The ifIndex value which identifies the local interface through which the next hop of this route should be reached.
What is drStaticCidrIfIndex?
This value identifies, by ifIndex, the local interface through which the next hop of a static route should actually be reached, equivalent to ipCidrRouteIfIndex. Admins rely on this to bind a route to a specific physical or logical interface rather than letting the routing table pick one automatically, which matters on multi-homed routers. For example, setting drStaticCidrIfIndex to the ifIndex of a WAN interface ensures that route's traffic always egresses through that specific link rather than a LAN port.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.81.31.7.1.1.6 snmpwalk -v2c -c public <target> CROUTE-MIB::drStaticCidrIfIndex
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.81.31.7.1.1.6.1 snmpget -v2c -c public <target> CROUTE-MIB::drStaticCidrIfIndex.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.81.31.7.1.1.6.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::drStaticCidrIfIndex 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 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.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| 1.3.6.1.4.1.81 | lannet | GEN-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.81.31 | croute | CROUTE-MIB |
| 1.3.6.1.4.1.81.31.7 | drStaticCidr | CROUTE-MIB |
| 1.3.6.1.4.1.81.31.7.1 | drStaticCidrTable | CROUTE-MIB |
| 1.3.6.1.4.1.81.31.7.1.1 | drStaticCidrEntry | CROUTE-MIB |
| 1.3.6.1.4.1.81.31.7.1.1.6 | drStaticCidrIfIndex | CROUTE-MIB |