tbgp4PathAttrASPathSegment

TIMETRA-BGP-MIB · .1.3.6.1.4.1.6527.3.1.2.14.2.4.1.6

Object

column OctetString
The value of tbgp4PathAttrASPathSegment indicates the sequence of
Autonomous System (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 a route in the
                    UPDATE message has traversed
     2      AS_SEQUENCE: ordered set of ASs a route in the
                         UPDATE message has traversed.
              
The length is a 1-octet field containing the number of ASs in the
value field.
              
The value field contains one or more 4-byte AS numbers. Each AS is
represented in the octet string as four octets.

Context

MIB
TIMETRA-BGP-MIB
OID
.1.3.6.1.4.1.6527.3.1.2.14.2.4.1.6
Type
column
Access
readonly
Status
current
Parent
tBgp4PathAttrEntry
Groups
1

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 'TIMETRA-BGP-MIB' -M '/opt/observium/mibs/nokia:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'TIMETRA-BGP-MIB::tbgp4PathAttrASPathSegment'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'TIMETRA-BGP-MIB' -M '/opt/observium/mibs/nokia:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'TIMETRA-BGP-MIB::tbgp4PathAttrASPathSegment.<tBgpInstanceIndex>.<tBgp4PathAttrRD>.<bgp4PathAttrIpAddrPrefix>.<bgp4PathAttrIpAddrPrefixLen>.<bgp4PathAttrPeer>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'TIMETRA-BGP-MIB' -M '/opt/observium/mibs/nokia:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'TIMETRA-BGP-MIB::tbgp4PathAttrASPathSegment'

Syntax

OctetString

Values & Constraints

Object Constraints
range: 0-255

Conformance