rtmRouteIfIndex

DC-RTM-MIB · .1.3.6.1.4.1.629.10.7.1.6.1.9

Object

column Integer32
The ifIndex value which identifies the local
interface through which the next hop of this
route should be reached.

Context

MIB
DC-RTM-MIB
OID
.1.3.6.1.4.1.629.10.7.1.6.1.9
Type
column
Access
noaccess
Status
current
Parent
rtmRouteEntry

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 'DC-RTM-MIB' -M '/opt/observium/mibs/mrv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DC-RTM-MIB::rtmRouteIfIndex'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DC-RTM-MIB' -M '/opt/observium/mibs/mrv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DC-RTM-MIB::rtmRouteIfIndex.<rtmRouteFteIndex>.<rtmRouteDestType>.<rtmRouteDest>.<rtmRouteDestLen>.<rtmRouteTos>.<rtmRouteNextHopType>.<rtmRouteNextHop>.<rtmRouteIfIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DC-RTM-MIB' -M '/opt/observium/mibs/mrv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DC-RTM-MIB::rtmRouteIfIndex'

Syntax

Integer32

Values & Constraints

Object Constraints
range: 0-2147483647