juniInetRouteNextHopType

Juniper-INET-MIB · .1.3.6.1.4.1.4874.2.2.82.1.1.1.1.5

Object

The type of the inetCidrRouteNextHop address, as
defined in the InetAddress MIB.
              
Value should be set to unknown(0) for non-remote
routes.
              
Only those address types that may appear in an actual
routing table are allowed as values of this object.

Context

MIB
Juniper-INET-MIB
OID
.1.3.6.1.4.1.4874.2.2.82.1.1.1.1.5
Type
column
Access
noaccess
Status
current
Parent
juniInetStaticRouteEntry

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 'Juniper-INET-MIB' -M '/opt/observium/mibs/junose:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'Juniper-INET-MIB::juniInetRouteNextHopType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'Juniper-INET-MIB' -M '/opt/observium/mibs/junose:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'Juniper-INET-MIB::juniInetRouteNextHopType.<juniInetRouteDestType>.<juniInetRouteDest>.<juniInetRoutePfxLen>.<juniInetRoutePolicy>.<juniInetRouteNextHopType>.<juniInetRouteNextHop>.<juniInetRouteStaticPref>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'Juniper-INET-MIB' -M '/opt/observium/mibs/junose:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'Juniper-INET-MIB::juniInetRouteNextHopType'

Values & Constraints

Type Values
0unknown
1ipv4
2ipv6
3ipv4z
4ipv6z
16dns
25l2vpn