bgpNlriPrefixPeerAfmIndex

DC-BGP-MIB · .1.2.826.42.1.1578918.5.65.1.4.5.1.3

Object

The index of either the BGP peer or AFM this route was
learned from.  If bgpNlriPrefixPeerOrAfm is peer, this field
is equivalent to a bgpPeerStatusPeerIndex.  If
bgpNlriPrefixPeerOrAfm is afm, this field is equivalent to a
bgpRmAfmJoin.  If bgpNlriPrefixPeerOrAfm is no-index, this
field is set to 0.

Context

MIB
DC-BGP-MIB
OID
.1.2.826.42.1.1578918.5.65.1.4.5.1.3
Type
column
Access
noaccess
Status
current
Parent
bgpNlriPrefixEntry

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-BGP-MIB' -M '/opt/observium/mibs/versa:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DC-BGP-MIB::bgpNlriPrefixPeerAfmIndex'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DC-BGP-MIB' -M '/opt/observium/mibs/versa:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DC-BGP-MIB::bgpNlriPrefixPeerAfmIndex.<bgpRmEntIndex>.<bgpNlriPrefixAfi>.<bgpNlriPrefixSafi>.<bgpNlriPrefixPrfx>.<bgpNlriPrefixPrfxLen>.<bgpNlriPrefixPeerOrAfm>.<bgpNlriPrefixPeerAfmIndex>.<bgpNlriPrefixPathId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DC-BGP-MIB' -M '/opt/observium/mibs/versa:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DC-BGP-MIB::bgpNlriPrefixPeerAfmIndex'

Syntax

Source
SNMPv2-SMIUnsigned32
Base type
Unsigned32

Values & Constraints

Type Constraints
range: 0..4294967295