bgp4PathAttrNextHop

BGP4-MIB · junose variant · .1.3.6.1.2.1.15.6.1.6

Object

The address of the border router that
should be used for the destination
network.  This address is the NEXT_HOP
address received in the UPDATE packet.

Context

MIB
BGP4-MIB
OID
.1.3.6.1.2.1.15.6.1.6
Type
column
Access
readonly
Status
current
Parent
bgp4PathAttrEntry
Groups
1

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 'BGP4-MIB' -M '/opt/observium/mibs/junose:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BGP4-MIB::bgp4PathAttrNextHop'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'BGP4-MIB' -M '/opt/observium/mibs/junose:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BGP4-MIB::bgp4PathAttrNextHop.<bgp4PathAttrIpAddrPrefix>.<bgp4PathAttrIpAddrPrefixLen>.<bgp4PathAttrPeer>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'BGP4-MIB' -M '/opt/observium/mibs/junose:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'BGP4-MIB::bgp4PathAttrNextHop'

Syntax

Source
SNMPv2-SMIIpAddress
Base type
OctetString

Values & Constraints

Type Constraints
range: 4

Conformance