Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

traps

date_range 20-Nov-23

Syntax

content_copy zoom_out_map
(traps | no-traps);

Hierarchy Level (ACX Series, MX Series, T Series, M Series, SRX Series, EX Series)

content_copy zoom_out_map
[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)

content_copy zoom_out_map
[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.

Best Practice:

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.

footer-navigation