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
What is bgp4PathAttrASPathSegment?
This OCTET STRING (2-255 bytes) encodes AS path segments, each formatted as <type, length, value>, where type 1 is AS_SET and type 2 is AS_SEQUENCE. Example: an AS_SEQUENCE segment with ASes 65001, 65002, 65003 represents the ordered path to the destination.
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
Start monitoring BGP-speaking routers with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the BGP4-MIB::bgp4PathAttrASPathSegment OID value, configure state conditions and alerts, and monitor any BGP-speaking routers from a single console.
OID Breakdown
Upper-level ancestors (7 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.2 | mgmt | AXON-MIB |
| 1.3.6.1.2.1 | mib_2 | AXON-MIB |
| 1.3.6.1.2.1.15 | bgp | BGP-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 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 |