bgpAsPathListAsPath
DC-BGP-MIB ·
.1.2.826.42.1.1578918.5.65.1.5.13.1.5
Object
column r/w
OctetString
Contains the regular expression to use when matching the AS Path. This is stored here in ASCII format. AS numbers are matched as decimal numbers. For example, the AS number '0x0123' should be represented in the regular expression string as '291'. The string is not NULL-terminated. A NULL string or an as_path_exp_len value of zero indicates that the field is not in use and no AS Path will match this entry.
Context
- MIB
- DC-BGP-MIB
- OID
.1.2.826.42.1.1578918.5.65.1.5.13.1.5- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- bgpAsPathAccessListEntry
- Groups
- 1
Net-SNMP examples
How SNMP and these commands workWalk 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 'DC-BGP-MIB' -M '/opt/observium/mibs/versa:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DC-BGP-MIB::bgpAsPathListAsPath'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DC-BGP-MIB' -M '/opt/observium/mibs/versa:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DC-BGP-MIB::bgpAsPathListAsPath.<bgpRmEntIndex>.<bgpAsPathListIndex>.<bgpAsPathListAsPathIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DC-BGP-MIB' -M '/opt/observium/mibs/versa:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DC-BGP-MIB::bgpAsPathListAsPath'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-300
Conformance
Member of