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;
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
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.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 |