ipCidrRouteStaticIfIndex

CROUTE-MIB · .1.3.6.1.4.1.81.31.1.22.1.3

Object

The ifIndex value which identifies  the  local
interface  through  which  the next hop of this
route should be reached.
Note that for regular static routes and for discard routes the ifindex is 0.

Context

MIB
CROUTE-MIB
OID
.1.3.6.1.4.1.81.31.1.22.1.3
Type
column
Access
noaccess
Status
current
Parent
ipCidrRouteStaticEntry

Walk the column to discover its indexed instances, or supply every index to read one instance.

Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'CROUTE-MIB' -M '/opt/observium/mibs/avaya:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CROUTE-MIB::ipCidrRouteStaticIfIndex'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CROUTE-MIB' -M '/opt/observium/mibs/avaya:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CROUTE-MIB::ipCidrRouteStaticIfIndex.<ipCidrRouteStaticDest>.<ipCidrRouteStaticMask>.<ipCidrRouteStaticIfIndex>.<ipCidrRouteStaticNextHop>.<ipCidrRouteStaticPreference>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CROUTE-MIB' -M '/opt/observium/mibs/avaya:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CROUTE-MIB::ipCidrRouteStaticIfIndex'

Syntax

Source
SNMPv2-SMIInteger32
Base type
Integer32

Values & Constraints

Type Constraints
range: -2147483648..2147483647