Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

traps

Syntax

Junos OS Hierarchy Level

Junos OS Evolved Hierarchy Level

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 control-connection-closed and the test-iteration-done options. These options are configured only for TWAMP, and only per control connection. The following options are supported:

  • control-connection-closed—(TWAMP control-connection only) Generate traps when the control connection is closed.

  • egress-jitter-exceeded—Generate traps when the jitter in egress time threshold is met or exceeded. (MIB object jnxPingEgressJitterThresholdExceeded)

  • egress-std-dev-exceeded—(Junos OS only) Generate traps when the egress time standard deviation threshold is met or exceeded. (MIB object jnxPingEgressStdDevThresholdExceeded)

  • egress-time-exceeded—Generate traps when the maximum egress time threshold is met or exceeded. (MIB object jnxPingEgressThresholdExceeded)

  • ingress-jitter-exceeded—Generate traps when the jitter in ingress time threshold is met or exceeded. (MIB object jnxPingIngressJitterThresholdExceeded)

  • ingress-std-dev-exceeded—(Junos OS only) Generate traps when the ingress time standard deviation threshold is met or exceeded. (MIB object jnxPingIngressStddevThresholdExceeded)

  • ingress-time-exceeded—Generate traps when the maximum ingress time threshold is met or exceeded. (MIB object jnxPingIngressThresholdExceeded)

  • jitter-exceeded—Generate traps when the jitter in round-trip time threshold is met or exceeded. (MIB object jnxPingRttJitterThresholdExceeded)

  • max-rtt-threshold—(Junos OS only) Generate traps when the maximum round trip time threshold at the end of the test is met or exceeded. (MIB object jnxPingMaxRttThresholdExceeded)

  • probe-failure—Generate traps when successive probe loss thresholds are crossed. (MIB object pingProbeFailed)

  • rtt-exceeded—Generate traps when the maximum round-trip time threshold is met or exceeded. (MIB object jnxPingRttThresholdExceeded)

  • std-dev-exceeded—(Junos OS only) Generate traps when the round-trip time standard deviation threshold is met or exceeded. (MIB object jnxPingRttStdDevThresholdExceeded)

  • test-completion—Generate traps when a test is completed. (MIB object pingTestCompleted)

  • test-failure—Generate traps when the total probe loss threshold is met or exceeded. (MIB object pingTestFailed)

  • test-iteration-done—(TWAMP control-connection only) Generate traps when all test sessions under control connections complete one test iteration.

Note:

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.