bgp4V2NlriAsPathString

BGP4V2-MIB · .1.3.6.1.3.5.1.1.9.1.23

Object

This is a string depicting the autonomous system
path to this network which was received from the
peer which advertised it. The format of the string
is implementation-dependent, and should be designed
for operator readability.
              
Note that SnmpAdminString is only capable of representing a
maximum of 255 characters.  This may lead to the string
being truncated in the presence of a large AS Path.  It is
RECOMMENDED that when this object's contents will be
              
              
truncated that the final 3 octets be reserved for the
ellipses string, '...'.  bgp4V2NlriAsPath may give access
to the full AS Path.

Context

MIB
BGP4V2-MIB
OID
.1.3.6.1.3.5.1.1.9.1.23
Type
column
Access
readonly
Status
current
Parent
bgp4V2NlriEntry
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 'BGP4V2-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BGP4V2-MIB::bgp4V2NlriAsPathString'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'BGP4V2-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BGP4V2-MIB::bgp4V2NlriAsPathString.<bgp4V2PeerInstance>.<bgp4V2NlriAfi>.<bgp4V2NlriSafi>.<bgp4V2NlriPrefixType>.<bgp4V2NlriPrefix>.<bgp4V2NlriPrefixLen>.<bgp4V2PeerRemoteAddrType>.<bgp4V2PeerRemoteAddr>.<bgp4V2NlriIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'BGP4V2-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'BGP4V2-MIB::bgp4V2NlriAsPathString'

Values & Constraints

Type Constraints
range: 0..255

Conformance