bgpPeerTrapPrefix

DC-BGP-MIB · .1.2.826.42.1.1578918.5.65.1.3.1.1.1.86

Object

column r/w SNMPv2-TCTruthValue
Used in conjunction with bgpPeerAfiSafiTrapPrefix to
determine whether BGP issues an SNMP trap when the number of
prefixes received from this peer reaches the maximum number
of prefixes allowed, set by bgpPeerConfigMaxPrfx and
bgpPeerAfiSafiConfigMaxPrfx, or the warning threshold set by
bgpPeerConfigThreshold and bgpPeerAfiSafiConfigThreshold or
the clear thresholds set by bgpPeerMaxPrfxClear,
bgpPeerAfiSafiMaxPrfxClear, bgpPeerPrfxThresholdClear and
bgpPeerAfiSafiPrfxThrsholdClear.
              
To disable sending of traps for all address families, set
bgpPeerTrapPrefix to 'false'.
              
To enable the sending of traps, set bgpPeerTrapPrefix to
'true' and set bgpPeerAfiSafiTrapPrefix to 'true' for those
address families for which this behavior is required.

Context

MIB
DC-BGP-MIB
OID
.1.2.826.42.1.1578918.5.65.1.3.1.1.1.86
Type
column
Access
readwrite
Status
current
Parent
bgpPeerEntry
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::bgpPeerTrapPrefix'
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::bgpPeerTrapPrefix.<bgpRmEntIndex>.<bgpPeerLocalAddrType>.<bgpPeerLocalAddr>.<bgpPeerLocalPort>.<bgpPeerRemoteAddrType>.<bgpPeerRemoteAddr>.<bgpPeerRemotePort>.<bgpPeerLocalAddrScopeId>'
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::bgpPeerTrapPrefix'

Syntax

Source
SNMPv2-TCTruthValue
Base type
Enumeration
Type Description
Represents a boolean value.

Values & Constraints

Type Values
1true
2false

Conformance