bgpNlriASPathStr
RAD-RadBgp-MIB ·
.1.3.6.1.4.1.164.11.4.4.1.5
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 bgpRibManagerAsSize 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
- RAD-RadBgp-MIB
- OID
.1.3.6.1.4.1.164.11.4.4.1.5- Type
- column
- Access
- readonly
- Status
- current
- Parent
- bgpNlriEntry
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 'RAD-RadBgp-MIB' -M '/opt/observium/mibs/rad:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RAD-RadBgp-MIB::bgpNlriASPathStr'
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::bgpNlriASPathStr.<bgpPeerRemoteAddrType>.<bgpPeerRemoteAddr>.<bgpNlriAfiType>.<bgpNlriSafi>.<bgpNlriPerfixAddress>.<bgpNlriPrefixLen>'
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::bgpNlriASPathStr'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-128