BGP4-MIB :: bgp4PathAttrASPathSegment

MIB Reference — IPNetwork Monitor

All MIBsBGP4-MIBbgp4PathAttrASPathSegment

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 OIDNameModule
1isoLANART-AGENT
1.3orgBIANCA-BRICK-PPP-MIB
1.3.6dodBIANCA-BRICK-PPP-MIB
1.3.6.1internetBIANCA-BRICK-PPP-MIB
1.3.6.1.2mgmtBKTEL-HFC862-BASE-MIB
1.3.6.1.2.1mib_2CHECKPOINT-MIB-2
1.3.6.1.2.1.15bgpBGP-MIB
1.3.6.1.2.1.15.6bgp4PathAttrTableBGP4-MIB
1.3.6.1.2.1.15.6.1bgp4PathAttrEntryBGP4-MIB
1.3.6.1.2.1.15.6.1.5bgp4PathAttrASPathSegmentBGP4-MIB