nextHopType

CROUTE-MIB · .1.3.6.1.4.1.81.31.1.17.2.1.2

Object

column Enumeration
Type of the next hop.
1 - IP address - next jop IP address.
2 - Interface - next hop interface.
3 - Null0 - Interface Null0 for dropping packets.

Context

MIB
CROUTE-MIB
OID
.1.3.6.1.4.1.81.31.1.17.2.1.2
Type
column
Access
readonly
Status
current
Parent
nextHopEntry

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::nextHopType'
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::nextHopType.<nextHopListIndex>.<nextHopIndex>'
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::nextHopType'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1iPAddress
2interface
3null0