bgpCommunityListRegexp

DC-BGP-MIB · .1.2.826.42.1.1578918.5.65.1.5.14.1.8

Object

column r/w OctetString
Contains the regular expression to use when matching
elements of the community list for a route.  This is
stored here in ASCII format.  Communities are matched
using new-format decimal notation.  For example, the
community '0x00120101' should be represented in the string
as '18:257'.  The string is not NULL-terminated.  A NULL
string or a comm_exp_len of zero indicates that the field
is not in use.
              
This field is only relevant if bgpCommunityListEntryType
is 'regular-expression'.  It is otherwise ignored.

Context

MIB
DC-BGP-MIB
OID
.1.2.826.42.1.1578918.5.65.1.5.14.1.8
Type
column
Access
readwrite
Status
current
Parent
bgpCommunityListEntry
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 'DC-BGP-MIB' -M '/opt/observium/mibs/versa:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DC-BGP-MIB::bgpCommunityListRegexp'
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::bgpCommunityListRegexp.<bgpRmEntIndex>.<bgpCommunityListIndex>.<bgpCommunityListEntryIndex>'
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::bgpCommunityListRegexp'

Syntax

OctetString

Values & Constraints

Object Constraints
range: 0-300

Conformance