traps (RPM and TWAMP)
Syntax
traps traps;
Junos OS Hierarchy Level
[edit services rpm probe owner test test-name], [edit services rpm twamp client control-connection control-client-name] [edit services rpm twamp client control-connection control-client-name test-session session-name]
Junos OS Evolved Hierarchy Level
[edit services monitoring rpm owner test test-name] [edit services monitoring twamp client control-connection control-client-name] [edit services monitoring twamp client control-connection control-client-name test-session session-name]
Description
Set the trap bit to generate SNMP traps for probes. Traps are sent if the configured threshold is met or exceeded. For TWAMP, you can configure both control-connection and test-session traps for managed clients, but only test-session traps for light clients. See SNMP MIB Explorer to learn more about the SNMP MIB objects that Juniper supports.
Default: no traps are generated
Options
traps |
Specify one or more SNMP traps. The options are configured per test
session, except for the
|
To generate RPM traps, you must configure the remote-operations
SNMP trap category by including the categories
statement at the
[edit snmp trap-group trap-group-name]
hierarchy level.
Additional Information
(Junos OS Evolved only) The Juniper PING MIB does not support the following notifications, because the corresponding thresholds are not configurable for Junos OS Evolved and hence the traps are never generated:
-
jnxPingRttStdDevThresholdExceeded
-
jnxPingEgressStdDevThresholdExceeded
-
jnxPingIngressStddevThresholdExceeded
-
jnxPingMaxRttThresholdExceeded
Required Privilege Level
system—To view this statement in the configuration.
system-control—To add this statement to the configuration.
Release Information
Statement introduced before Junos OS Release 7.4.
Support at the [edit services rpm twamp client control-connection
control-client-name
] and [edit services
rpm twamp client control-connection control-client-name
test-session session-name]
hierarchy levels
introduced in Junos OS Release 15.1 for MX Series routers.
Support at the [edit services monitoring rpm owner test
test-name]
hierarchy level introduced in Junos
OS Evolved Release 21.2R1 for PTX Series routers.
Support at the [edit services monitoring twamp client control-connection control-client-name] and [edit services monitoring twamp client control-connection control-client-name test-session session-name] hierarchy levels introduced in Junos OS Evolved Release 21.3R1 for PTX Series routers.