traps
Syntax
(traps | no-traps);
Hierarchy Level (ACX Series, MX Series, T Series, M Series, SRX Series, EX Series)
[edit dynamic-profiles profile-name interfaces interface-name], [edit interfaces interface-name], [edit interfaces interface-name unit logical-unit-number], [edit interfaces interface-range name], [edit logical-systems logical-system-name interfaces interface-name unit logical-unit-number]
Hierarchy Level (QFX Series, EX4600)
[edit interfaces interface-name], [edit interfaces interface-name unit logical-unit-number], [edit interfaces interface-range interface-range-name]
Description
Enable or disable the sending of Simple Network Management Protocol (SNMP) notifications when the state of the connection changes.
(Enhanced subscriber management for MX Series routers) To enable SNMP notifications, you must
first configure the
interface-mib
statement at the [edit dynamic-profiles
profile-name interfaces
interface-name]
hierarchy level. If
interface-mib
is not configured, the traps
statement has no effect.
To achieve maximum performance when enhanced subscriber management is enabled, we recommend that you not enable SNMP notifications on all dynamic subscriber interfaces.
Required Privilege Level
interface—To view this statement in the configuration.
interface-control—To add this statement to the configuration.
Release Information
Statement introduced before Junos OS Release 7.4.
Statement introduced in Junos OS Release 12.2 for ACX Series Universal Metro Routers.
Support at the [edit dynamic-profiles profile-name interfacesinterface-name]
hierarchy level
introduced in Junos OS Release 15.1R3 on MX Series routers for enhanced
subscriber management.