bgpAdjRibOutASPathStr
DC-BGP-MIB ·
.1.2.826.42.1.1578918.5.65.1.4.4.1.10
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
- DC-BGP-MIB
- OID
.1.2.826.42.1.1578918.5.65.1.4.4.1.10- Type
- column
- Access
- readonly
- Status
- current
- Parent
- bgpAdjRibOutEntry
- Groups
- 1
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 'DC-BGP-MIB' -M '/opt/observium/mibs/versa:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DC-BGP-MIB::bgpAdjRibOutASPathStr'
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::bgpAdjRibOutASPathStr.<bgpRmEntIndex>.<bgpPeerIndex>.<bgpAdjRibOutAfi>.<bgpAdjRibOutSafi>.<bgpAdjRibOutPrfx>.<bgpAdjRibOutPrfxLen>.<bgpAdjRibOutPathId>'
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::bgpAdjRibOutASPathStr'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-256
Conformance
Member of