bgpAdjRibOutASPathStr

RAD-RadBgp-MIB · .1.3.6.1.4.1.164.11.4.5.1.6

Object

column OctetString
This is a string containing the autonomous system path sent to
this peer in the AS_PATH attribute for this Adj-RIB-Out route.
If this path contains four-octet AS numbers and the peer does
not support these a two-octet AS_PATH attribute and associated
AS4_PATH attribute will be advertised to the peer instead as
detailed in RFC 4893.  However, this field will report the
four-octet AS_PATH that would  have been advertised to the
peer if it had supported four-byte AS numbers.  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.  This can be converted to a more readable format by
the management agent.

Context

MIB
RAD-RadBgp-MIB
OID
.1.3.6.1.4.1.164.11.4.5.1.6
Type
column
Access
readonly
Status
current
Parent
bgpAdjRibOutEntry

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 'RAD-RadBgp-MIB' -M '/opt/observium/mibs/rad:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RAD-RadBgp-MIB::bgpAdjRibOutASPathStr'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'RAD-RadBgp-MIB' -M '/opt/observium/mibs/rad:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RAD-RadBgp-MIB::bgpAdjRibOutASPathStr.<bgpPeerRemoteAddrType>.<bgpPeerRemoteAddr>.<bgpAdjRibOutAfiType>.<bgpAdjRibOutSafi>.<bgpAdjRibOutPrefix>.<bgpAdjRibOutPrefixLen>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'RAD-RadBgp-MIB' -M '/opt/observium/mibs/rad:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'RAD-RadBgp-MIB::bgpAdjRibOutASPathStr'

Syntax

OctetString

Values & Constraints

Object Constraints
range: 0-128