zxr10BRASPathSegment

ZXR10-BGP-DYN-MIB · .1.3.6.1.4.1.3902.3.6000.155.1.1.1.8

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

Context

MIB
ZXR10-BGP-DYN-MIB
OID
.1.3.6.1.4.1.3902.3.6000.155.1.1.1.8
Type
column
Access
readonly
Status
current
Parent
zxr10BgpRouteEntry

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 'ZXR10-BGP-DYN-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZXR10-BGP-DYN-MIB::zxr10BRASPathSegment'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZXR10-BGP-DYN-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZXR10-BGP-DYN-MIB::zxr10BRASPathSegment.<zxr10BRLocalAS>.<zxr10BRPeerAddr>.<zxr10BRAddrModeType>.<zxr10BRVrfName>.<zxr10BRAddrPrefix>.<zxr10BRAddrPrefixLen>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZXR10-BGP-DYN-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZXR10-BGP-DYN-MIB::zxr10BRASPathSegment'

Syntax

OctetString

Values & Constraints

Object Constraints
range: 0-255