All MIBs › BGP4-MIB › bgp4PathAttrASPathSegment
bgp4PathAttrASPathSegment
Module: BGP4-MIB
OID (symbolic): BGP4-MIB::bgp4PathAttrASPathSegment
OID (numeric): 1.3.6.1.2.1.15.6.1.5
Node type: OBJECT-TYPE
Type: OCTET STRING
Access: read-only
Description:
The sequence of AS path segments. Each AS
path segment is represented by a triple
.
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 Issues:
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.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.2.1.15.6.1.5 snmpwalk -v2c -c public <target> BGP4-MIB::bgp4PathAttrASPathSegment
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.2.1.15.6.1.5.1 snmpget -v2c -c public <target> BGP4-MIB::bgp4PathAttrASPathSegment.1
SNMPv3 example:
snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> bgp4PathAttrASPathSegment.1
OID Breakdown
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | BIANCA-BRICK-PPP-MIB |
| 1.3.6 | dod | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1 | internet | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1.2 | mgmt | BKTEL-HFC862-BASE-MIB |
| 1.3.6.1.2.1 | mib_2 | CHECKPOINT-MIB-2 |
| 1.3.6.1.2.1.15 | bgp | BGP-MIB |
| 1.3.6.1.2.1.15.6 | bgp4PathAttrTable | BGP4-MIB |
| 1.3.6.1.2.1.15.6.1 | bgp4PathAttrEntry | BGP4-MIB |
| 1.3.6.1.2.1.15.6.1.5 | bgp4PathAttrASPathSegment | BGP4-MIB |