bgpRcvdNlriASPathStr

DC-BGP-MIB · .1.2.826.42.1.1578918.5.65.1.4.6.1.8

Object

column OctetString
This is a string depicting the autonomous system path to this
network which was received from the peer which advertised it.
If bgpRmEntAsSize is four-octet and the peer does not support
four octet AS numbers this string represents the AS_PATH
formed by combining the AS_PATH and AS4_PATH attributes as
detailed in RFC 4893.  Two-octet AS numbers appear as
four-octet numbers by adding two bytes of zero padding.  The
format of the string is simply the AS_PATH attribute.  It can
be converted to a more readable format by the management
agent.

Context

MIB
DC-BGP-MIB
OID
.1.2.826.42.1.1578918.5.65.1.4.6.1.8
Type
column
Access
readonly
Status
current
Parent
bgpRcvdNlriEntry
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 'DC-BGP-MIB' -M '/opt/observium/mibs/versa:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DC-BGP-MIB::bgpRcvdNlriASPathStr'
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::bgpRcvdNlriASPathStr.<bgpRmEntIndex>.<bgpRcvdNlriPeerIndex>.<bgpRcvdNlriAfi>.<bgpRcvdNlriSafi>.<bgpRcvdNlriPrfx>.<bgpRcvdNlriPrfxLen>.<bgpRcvdNlriPathId>'
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::bgpRcvdNlriASPathStr'

Syntax

OctetString

Values & Constraints

Object Constraints
range: 0-256

Conformance