fsbgp4mpebgp4PathAttrAS4PathSegment

SUPERMICRO-BGP-MIB · .1.3.6.1.4.1.10876.101.1.41.20.1.23

Object

column OctetString
The sequence of AS path segments.  Each AS
path segment is represented by a triple
<type, length, value>.
The type is a 1-octet field which has two
possible values:
1      AS_SET: unordered set of ASs, traversed by a
       route in the UPDATE message.
2      AS_SEQUENCE: ordered set of ASs, traversed by
       a route in the UPDATE message.
The length is a 1-octet field containing the
number of ASs in the value field.
The value field contains one or more AS
numbers, each AS is represented in the octet
string as 2 pairs of octets.

Context

MIB
SUPERMICRO-BGP-MIB
OID
.1.3.6.1.4.1.10876.101.1.41.20.1.23
Type
column
Access
readonly
Status
current
Parent
fsbgp4MpeBgp4PathAttrEntry

Walk the column to discover its indexed instances, or supply every index to read one instance.

Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'SUPERMICRO-BGP-MIB' -M '/opt/observium/mibs/supermicro:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SUPERMICRO-BGP-MIB::fsbgp4mpebgp4PathAttrAS4PathSegment'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SUPERMICRO-BGP-MIB' -M '/opt/observium/mibs/supermicro:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SUPERMICRO-BGP-MIB::fsbgp4mpebgp4PathAttrAS4PathSegment.<fsbgp4mpebgp4PathAttrRouteAfi>.<fsbgp4mpebgp4PathAttrRouteSafi>.<fsbgp4mpebgp4PathAttrIpAddrPrefix>.<fsbgp4mpebgp4PathAttrIpAddrPrefixLen>.<fsbgp4mpebgp4PathAttrPeerType>.<fsbgp4mpebgp4PathAttrPeer>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SUPERMICRO-BGP-MIB' -M '/opt/observium/mibs/supermicro:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SUPERMICRO-BGP-MIB::fsbgp4mpebgp4PathAttrAS4PathSegment'

Syntax

OctetString

Values & Constraints

Object Constraints
range: 2-255