snmp-options
Syntax
snmp-options backward-traps-only-from-established;
Hierarchy Level
[edit protocols bgp]
Description
Configure the SNMP options and customize the behavior
of BGP-related MIBs. By default, SNMP generates traps when a session
moves from a higher state to a lower state. For example, from Active
to Idle
or from Established
to Idle
. This can result in many uninteresting traps, especially
when there are a large number of unconfigured BGP sessions that toggle
continuously betweenActive
and Idle
state. Set
the backward-traps-only-from-established
option to eliminate
the uninteresting traps, and receive backward trap notifications only
when transitioning away from the Established
state. This
can substantially reduce the number of traps sent.
Options
backward-traps-only-from-established | Limit the generation of traps for backward transitions
to session states that are moving from |
Required Privilege Level
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.
Release Information
Statement introduced in Junos OS Release 16.1.