bgpPathAttrASPath
BGP4-MIB ·
junose variant
·
.1.3.6.1.2.1.15.5.1.4
Object
column obsolete
OctetString
The set of ASes that must be traversed to reach
the network. This object is probably best
represented as SEQUENCE OF INTEGER. For SMI
compatibility, though, it is represented as
OCTET STRING. Each AS is represented as a pair
of octets according to the following algorithm:
first-byte-of-pair = ASNumber / 256;
second-byte-of-pair = ASNumber & 255;
Context
- MIB
- BGP4-MIB
- OID
.1.3.6.1.2.1.15.5.1.4- Type
- column
- Access
- readonly
- Status
- obsolete
- Parent
- bgpPathAttrEntry
- 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 'BGP4-MIB' -M '/opt/observium/mibs/junose:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BGP4-MIB::bgpPathAttrASPath'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'BGP4-MIB' -M '/opt/observium/mibs/junose:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BGP4-MIB::bgpPathAttrASPath.<bgpPathAttrDestNetwork>.<bgpPathAttrPeer>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'BGP4-MIB' -M '/opt/observium/mibs/junose:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'BGP4-MIB::bgpPathAttrASPath'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 2-255
Conformance
Member of