All MIBs › BGP4-MIB › bgpPathAttrASPath
bgpPathAttrASPath
Module: BGP4-MIB
OID (symbolic): BGP4-MIB::bgpPathAttrASPath
OID (numeric): 1.3.6.1.2.1.15.5.1.4
Node type: OBJECT-TYPE
Type: OCTET STRING
Access: read-only
Description: 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;
What is bgpPathAttrASPath?
This OCTET STRING (2-255 bytes) encodes the sequence of ASes that must be traversed to reach the destination, formatted as pairs of octets. Example: containing bytes representing ASes 65001, 65002, 65003 means the route traverses through those three autonomous systems.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.2.1.15.5.1.4 snmpwalk -v2c -c public <target> BGP4-MIB::bgpPathAttrASPath
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.2.1.15.5.1.4.1 snmpget -v2c -c public <target> BGP4-MIB::bgpPathAttrASPath.1
Start monitoring BGP-speaking routers with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the BGP4-MIB::bgpPathAttrASPath 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.5 | bgpRcvdPathAttrTable | BGP4-MIB |
| 1.3.6.1.2.1.15.5.1 | bgpPathAttrEntry | BGP4-MIB |
| 1.3.6.1.2.1.15.5.1.4 | bgpPathAttrASPath | BGP4-MIB |