juniBgpNewRouteNextHop
Juniper-BGP-MIB ·
.1.3.6.1.4.1.4874.2.2.29.1.23.1.21
Object
column SNMPv2-SMIIpAddress
The value of the Next-Hop path attribute.
Context
- MIB
- Juniper-BGP-MIB
- OID
.1.3.6.1.4.1.4874.2.2.29.1.23.1.21- Type
- column
- Access
- readonly
- Status
- current
- Parent
- juniBgpNewRouteEntry
- Groups
- 4
Net-SNMP examples
How SNMP and these commands workWalk 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-BGP-MIB' -M '/opt/observium/mibs/junose:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'Juniper-BGP-MIB::juniBgpNewRouteNextHop'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'Juniper-BGP-MIB' -M '/opt/observium/mibs/junose:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'Juniper-BGP-MIB::juniBgpNewRouteNextHop.<juniBgpNewRouteVrfName>.<juniBgpNewRouteAfi>.<juniBgpNewRouteSafi>.<juniBgpNewRouteIpAddrPrefix>.<juniBgpNewRouteIpAddrPrefixLen>.<juniBgpNewRouteDistinguisher>.<juniBgpNewRoutePeer>.<juniBgpNewRouteRouteType>.<juniBgpNewRouteOriginalRd>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'Juniper-BGP-MIB' -M '/opt/observium/mibs/junose:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'Juniper-BGP-MIB::juniBgpNewRouteNextHop'
Syntax
- Source
- SNMPv2-SMIIpAddress
- Base type
OctetString
Values & Constraints
Type Constraints
range: 4