axBgpPathAttrASPathSegment
AX-BGP-MIB ·
.1.3.6.1.4.1.22610.2.5.5.1.7
Object
column OctetString
The sequence of AS path segments. Each AS
path segment is represented by a triple
<type, length, value>.
The type is a 1-octet field that has two
possible values:
1 AS_SET: unordered set of ASes that a
route in the UPDATE message
has traversed
2 AS_SEQUENCE: ordered set of ASes that
a route in the UPDATE message
has traversed.
The length is a 1-octet field containing the
number of ASes in the value field.
The value field contains one or more AS
numbers. Each AS is represented in the octet
string as a pair of octets according to the
following algorithm:
first-byte-of-pair = ASNumber / 256;
second-byte-of-pair = ASNumber & 255;
Known IssueVs:
o BGP Confederations will result in
a type of either 3 or 4.
o An AS Path may be longer than 255 octets.
This may result in this object containing
a truncated AS Path.
Context
- MIB
- AX-BGP-MIB
- OID
.1.3.6.1.4.1.22610.2.5.5.1.7- Type
- column
- Access
- readonly
- Status
- current
- Parent
- axBgpPathAttrEntry
- 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 'AX-BGP-MIB' -M '/opt/observium/mibs/a10:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'AX-BGP-MIB::axBgpPathAttrASPathSegment'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'AX-BGP-MIB' -M '/opt/observium/mibs/a10:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'AX-BGP-MIB::axBgpPathAttrASPathSegment.<axBgpPathAttrIpAddrType>.<axBgpPathAttrIpAddrPrefix>.<axBgpPathAttrIpAddrPrefixLen>.<axBgpPathAttrPeerType>.<axBgpPathAttrPeer>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'AX-BGP-MIB' -M '/opt/observium/mibs/a10:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'AX-BGP-MIB::axBgpPathAttrASPathSegment'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 2-255
Conformance
Member of